note 31767 rejected from function.setcookie by alindeman

From: Date: Fri, 02 May 2003 22:04:17 +0000
Subject: note 31767 rejected from function.setcookie by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-47405@lists.php.net to get a copy of this message
If you try to set a cookie, but nothing happens, check your server's logs. When there is a problem with your code before the setcookie() tag, the server will don't set the cookie, it says that the headers are already sent. from error.log: PHP Warning: Cannot modify header information - headers already sent in C:\de programa\Apache Group\Apache2\htdocs\SE\auth.php on line 26, referer: http://localhost/SE/admin.php (I was using Apache 2.0 with PHP (cgi) in win98)

« previous php.notes (#47405) next »