RE: [PHP] Problem with the HTTP_REFERER
| From: | Simon Ould | Date: | Fri, 27 Apr 2001 11:38:21 +0000 |
| Subject: | RE: [PHP] Problem with the HTTP_REFERER | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50600@lists.php.net to get a copy of this message | ||
I guess that this is worth a mention: (Copied from
http://www.php.net/manual/en/function.header.php)
"Remember that the header() function must be called before any actual output
is sent, either by normal HTML tags blank lines in a file, or from PHP. It
is a very common error to read code with include(), or require(), functions,
or another file access function, and have spaces or empty lines that will
output before header() is called. The same problem exists when using a
single PHP/HTML file."
> -----Original Message-----
> From: Simon Ould [mailto:Simon@nortechcontrol.co.uk]
> Sent: Friday, April 27, 2001 11:12
> To: 'Rosen'; php-general@lists.php.net
> Subject: RE: [PHP] Problem with the HTTP_REFERER
...snip...