On 2014-03-06, 8:55 AM, Alastair Sherringham wrote:
Daniel's tutorial does not terminate the
"<?php" tags - I assume they
get automatically terminated by EOF. Maybe they should be terminated
explicitly in the tutorial.
Yes, ?> tags are not necessary at EOF.
In fact the practice of adding ?> before EOF leads to bugs where some
forms of file transfer programs insert a newline after the ?> creating
whitespace that triggers "Headers already sent" fatal errors when
uploaded to a webserver.
For this reason it's standard practice in MediaWiki to NEVER use a ?> at
the end of a PHP file.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://danielfriesen.name/]