[plug] Cookie problems ..

Mark J Gaynor mark at scouts.org.au
Wed Feb 19 09:23:09 WST 2003


At 03:21 PM 18/02/03 +0800, you wrote:
>On Tue, Feb 18, 2003 at 02:59:36PM +0800, Mark J Gaynor wrote:
> >         SetCookie("ad_name",$my_user,"", "/");
>
>RTFM:
>---8<---
>The expire and secure arguments are integers and cannot be skipped with
>an empty string. Use a zero (0) instead.
>---8<---
>
>Try using setcookie('ad_name', $my_user, 0, '/');
>(always try to use single quotes when you can too)

Thanks Leon, I'll try that.

I did look at the PHP set cookie stuff late one night, but did that did not 
click.

Mark
--

BTW: I have subscribed to Linux-aus mail list too.



More information about the plug mailing list