note 23761 deleted from function.setcookie by john

From: Date: Sat, 30 Nov 2002 16:40:08 +0000
Subject: note 23761 deleted from function.setcookie by john
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40179@lists.php.net to get a copy of this message
in reply to icemann320@yahoo.com You have a variable type conflict. change this line... >>setcookie("f_name",$f_name, time() + 365 * 86400); to this.. setcookie("f_name",$_POST["f_name"], time() + 365 * 86400); and it will be a lot more portable.

« previous php.notes (#40179) next »