note 1482 modified in setcookie by ronabop

From: Date: Sat, 26 Aug 2000 05:34:23 +0000
Subject: note 1482 modified in setcookie by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3332@lists.php.net to get a copy of this message
In a previous note, someone mentions using a require() call to cause the redirect to get around an IE4 problem. In their sample code they have "Location: $redir_to\n\n" as the string. This won't work because of the two trailing newlines. Simply remove the newlines, and it will work. http://www.php.net/manual/function.setcookie.php

« previous php.notes (#3332) next »