|
Posted by Mike on 11/07/07 11:31
Yes,
Heres a perfect example;
<?php
$value = 'something from somewhere';
setcookie("TestCookie", $value, time()+3600); /* expire in 1 hour */
?>
Can be found at:(My Domain)
http://www.ampsoft.com/B.php
I leave the browser open and check my Cookies folder and ...Nothing .
Thanks
Mike
"Andy Hassall" <andy@andyh.co.uk> wrote in message
news:4k00n19af9ci53k1a1adiu2meb615ddbsn@4ax.com...
> On Tue, 08 Nov 2005 01:17:09 GMT, "Mike" <ampeloso@verizon.net> wrote:
>
>>I have been trying to get cookies to work. It seems I can get this cookie
>>to
>>be persistant in the browser but I want to write it to my Cookies Folder.
>>I have tried many variations but when I look in the folder there is
>>nothing
>>there from my Domain.
>>This is a simlified version but, I have tried many things.
>
> What have you tried?
>
> Presumably you have read and followed the examples at
> http://uk.php.net/setcookie ?
> --
> Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
> http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|