RE: [PHP] Cookie Problem
| From: | John W. Holmes | Date: | Sat, 19 Apr 2003 01:06:56 +0000 |
| Subject: | RE: [PHP] Cookie Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144456@lists.php.net to get a copy of this message | ||
> The first line of login.php is a comment, then the first acutal line
of
> PHP
> code is a require() function. So cookies should be set before all of
this?
A PHP comment or an HTML comment? The first line can't be a PHP comment
unless the <? Is also on that line? Is there any whitespace before it?
If it's an HTML comment, then that's your problem. Any HTML, whitespace,
etc, is considered output.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/