COOKIE section

From: Date: Tue, 31 Jul 2012 17:52:49 +0000
Subject: COOKIE section
Groups: php.qa 
Request: Send a blank email to php-qa+get-66671@lists.php.net to get a copy of this message
I must be doing something incredibly stupid, because it's only 11 lines... --TEST-- Check that an opponent response works --COOKIE-- side=left;game_id=1 --FILE-- <?php error_log(print_r($_COOKIE, 1)."\n", 3, './003_log.txt'); require '../client.php'; ?> --EXPECTF-- {"opponent":"%r[0-9a-f]{32}%r"} ACTUAL OUTPUT in 003_log.txt Array ( ) EXPECTED OUTPUT Array ( [side] => left [game_id] => 1 ) -- brain cancer update: http://richardlynch.blogspot.com/search/label/brain%20tumor Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FS9NLTNEEKWBE

« previous php.qa (#66671) next »