You are here: Re: Understanding Cookies « PHP Programming Language « IT news, forums, messages
Re: Understanding Cookies

Posted by Mike on 11/07/77 11:31

I'm getting:array(0) {
}
"Andy Hassall" <andy@andyh.co.uk> wrote in message
news:4d10n1lmmd3agkvv8ds24olqp1slgev4u0@4ax.com...
> On Tue, 08 Nov 2005 01:51:47 GMT, "Mike" <ampeloso@verizon.net> wrote:
>
>>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 .
>
> That works for me, both on Firefox 1.5RC1 and Internet Explorer 6.
>
> A cookie is set and stored; contents of the file from IE is:
>
> TestCookie
> something+from+somewhere
> www.ampsoft.com/
> 1024
> 3124430464
> 29746191
> 1793278832
> 29746183
> *
>
> Add the following:
>
> print "<pre>";
> var_dump($_COOKIE);
> print "</pre>";
>
> Then you will be able to see what cookies the browser has accepted and
> sent
> back.
>
> If you're not getting anything, then you have a browser configuration
> problem.
> --
> 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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация