R: [PHP] I want a cookie!!!
| From: | (Delbono) | Date: | Sat, 16 Dec 2000 00:25:49 +0000 |
| Subject: | R: [PHP] I want a cookie!!! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-30620@lists.php.net to get a copy of this message | ||
I had the same problem.
It solved.
Don't ask me how. I REALLY don't know.
I'm also surprised of how much people know php and other languages.
I'm asking myself where do they find time to learn...
>
>for the love of god, will someone please explain why:
><?
>setcookie("acookie","avalue",time()+6000,"/",".mydomain.com",0);
>?>
>will not set a cookie!!! If I do not include the "/"
>and the ".mydomain.com" and the 0, then it works
>perfectly fine. But with the above, it doesn't work at
>all. I am trying to set this cookie from a file in a
>subdirectory of /
>I have tried changing "/" to "/subdirectory", i've
>tried ".mydomain.com" "mydomain.com",i've tried a 1
>for a 0. nothing works. lol. and i know it's probably
>some stupid little thing too.
>
>the ultimate goal: set a cooking with the file in the
>subdirectory that can be accessed when called from any
>file in the domain.
>
>Thank you sooooooo much. How did you people get so
>good at PHP? I've read the manuals and online
>tutorials like crazy and I STILL suck at it and I can
>tell I will never "master" it. lol. I haven't even
>TOUCHED mysql yet. I'll wait a few years for that one!
>
>-mark
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Shopping - Thousands of Stores. Millions of Products.
>http://shopping.yahoo.com/
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>