|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-19 18:08 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Mar 12 11:00:01 2026 UTC |
Hi there! When i trying to set cookie it doesn't works! the code while (list($key, $value) = each ($_GET["orderformresult"])) { if(empty($order[$key])){ setcookie("order[".$key."]",""); setcookie ("order[".$key."]",$value,time()+3600); }else{ setcookie ("order[".$key."]",$value,time()+3600); } } So , the code is right, it works, but ONLY in that directory where the cookie was setted.