|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-07-28 18:24 UTC] andrey at cvs dot php dot net
[1999-11-13 17:47 UTC] cslawi at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
Script that shows the problem. I'm not sure this is a cookie parsing problem or a lack of documentation one. <? $a = strtr("http://puzzle.dhis.org/", ".", "."); setcookie($a, 'copyleft.gif'); ?> <html> <head><title><? echo "$a - $Teste" ?></title></head> <body> <? echo "Referer = $HTTP_REFERER $a"; echo '<br> Cookie ='; echo ${$a}; echo " or "; echo $HTTP_COOKIE_VARS[$a]; echo '<p>'; for (reset($HTTP_COOKIE_VARS); $key = key($HTTP_COOKIE_VARS); next($HTTP_COOKIE echo "HTTP_COOKIE_VARS[$key] = ".$HTTP_COOKIE_VARS[$key]."\n"; } ?> </body> </html>