Quote:
It seems like the author has ommited the ?> at the end of the files as well. This is poor practise.
|
This is debatable. There are a good number of reasons for omitting it:
- Prevents excess white space at end of file; this can interfere with sending headers etc and cause xhtml validation errors.
- php.net dosn't use closing delimiters in its code eg
http://www.php.net/source.php?url=/include/prepend.inc
- The closing tag is in fact optional.
Anyway, fixed file uploaded for those that dont have short tags enabled.