View Single Post

  #9 (permalink)  
Old 01-13-2008
Europus
 
Posts: n/a
Default Re: [PHP] session_start problems with FireFox on Mac

Jochem Maas wrote:

>> ?>
>> <whitespace character>

> ...
> to avoid this in future never add the closing php bracket to the end of
> the php file (unless you explicitly want to output something after the
> code in question - which is almost never the case), it is not required.
>
> e.g.
> --------- >8 info.php ----------------
> <?php
>
> phpinfo();
> --------- >8 info.php ----------------


I didn't know that. Does the underlying engine in PHP provide the
otherwise missing tag? Does the described problem only happen with
FF on Mac or does it affect other browsers on other OSes?

Ulex
Reply With Quote