RE: [PHP] header & headers_sent BUG
| From: | Ford, Mike [LSS] | Date: | Wed, 23 Jul 2003 11:50:37 +0000 |
| Subject: | RE: [PHP] header & headers_sent BUG | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-156432@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Jay Blanchard [mailto:jay.blanchard@niicommunications.com]
> Sent: 23 July 2003 12:31
<big snip>
> Also, do those spaces exist in your code? If so you may want
> to change;
>
> if( ! headers_sent())
>
> to
>
> if(!headers_sent())
There's nowt wrong there -- both of those are functionally identical. The
extra spaces are ignored by PHP, so the difference is purely cosmetic.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211