setcookie ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 6, 2005 2:30 PM, William Stokes <kalles@xxxxxxxxxxxxx> wrote:
> 
> This doesn't set the cookie? Can you see why? I can't...
> 
> $showbrowseteam = 'somejargon';
> setcookie("showbrowseteam","$showbrowseteam",0,"/");
> 
> Thanks
> -will
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> you've set the cookie time to 0... which is a very long time ago.

setcookie("showbrowseteam",$showbroseteam, time()+time_in_seconds,"/");
hth

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux