Hi, Well okay. But now i'm using this code:
test.php (http://www.tgp2stats.com/test.php): -- <? $test="bas"; session_start(); session_register("test"); header("Location: test2.php"); ?> -- test2.php (http://www.tgp2stats.com/test2.php): -- <? session_start(); session_register("test"); echo "test: ".$test; phpinfo(); ?> -- For netscape(linux) $test print "bas", but is empty when using Konquerer, Opera or even IE (on a win98 system). This code will work for all this browsers with php4.1.2 as module. Has this something to do with CGI vs module? Or is there a configuration mistake? Bas Op zaterdag 16 maart 2002 18:02, schreef Jackson Miller: > HTTP COOKIE will only be set > if you have a cookie from that > domain on your computer. Try > setting a cookie with > setcookie() before your > phpinfo() line on your > test.php page. > > Hope this helps. > > > -Jackson > > -----Original Message----- > From: Bas Jobsen > [mailto:[EMAIL PROTECTED]] > Sent: Saturday, March 16, 2002 > 11:36 AM > To: PHP General > Subject: [PHP] where is > http_cookie ? > > > Hello, > > I have installed php 4.1.2. as > a cgi module. > But http_cookie isn't set. I > don' know whats wrong. > You can find the output of > phpinfo() at > http://www.tgp2stats.com/test. > php > > Tnx, > > Bas Jobsen > > -- > PHP General Mailing List > (http://www.php.net/) > To unsubscribe, visit: > http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php