|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-01-08 02:56 UTC] lobbin@php.net
[2002-01-08 05:24 UTC] demon at dreamers dot gr
[2002-01-08 05:44 UTC] demon at dreamers dot gr
[2002-04-22 11:52 UTC] ftouanen at yahoo dot fr
[2002-04-26 14:35 UTC] fabio dot ottolini at edb dot ericsson dot se
[2002-05-22 04:16 UTC] kiernicki at swipnet dot se
[2002-06-24 11:25 UTC] placebo_rulez at hotmail dot com
[2002-06-28 13:32 UTC] Gambti at CrazySnowBoarder dot com
[2002-06-28 20:56 UTC] sniper@php.net
[2002-07-01 23:47 UTC] tmokros at neo dot rr dot com
[2002-07-29 01:00 UTC] php-bugs at lists dot php dot net
[2002-10-22 10:26 UTC] oliveremberton at hotmail dot com
[2002-10-22 12:55 UTC] rafaga_2k at hotmail dot com
[2002-10-22 13:06 UTC] hholzgra@php.net
[2002-10-22 15:27 UTC] rafaga_2k at hotmail dot com
[2002-10-22 17:17 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 12:00:01 2025 UTC |
I'm using this code in 3 pages in Page 1: <form name="frm1" method="post"> <input type="password" size=20><input type="submit"> </form> in page2: if ($password == "mypassword") { setcookie("user", "admin"); header("location: page3.php"); } in page3: echo $HTTP_COOKIE_VARS["user"]; i'm using NT4 with iis4. My problem is that the cookie is not set, instead of header("location: page3.php") i used this echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0;URL=page3.php\">"; and then i could get cookie value! this problem is only under iis4/iis5 under apache (not windows only unix) i didn't have any problems