A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.
Current location:homephp forumphp talk in 2009 yearCan I get document.cookie without using javascript? Alternate in PHP - page 1
User InfoPosts
Can I get document.cookie without using javascript? Alternate in PHP#1
I was doing something but I can(t use JavaScript in it.

I want to get the cookies but without using javascript.

But I want to get the same output as of document.cookie.

posted date: 2009-04-11 11:24:00


Re: Can I get document.cookie without using javascript? Alternate in PHP#2
I had made out the solution of this problem. click to view my topic...

hope that hepls.

posted date: 2009-04-11 11:24:01


Re: Can I get document.cookie without using javascript? Alternate in PHP#3
Use $_COOKIE[(cookie_name(] in PHP.$_COOKIE is an array containing all cookies.

posted date: 2009-04-11 11:27:00


Re: Can I get document.cookie without using javascript? Alternate in PHP#4
You can(t get the same input as in document.cookie, but you can access directly them from $_COOKIE just like macaco saidif you need to set cookie you can do this by using the setcookie() method from phphttp://www.php.net/setcookiecheers

posted date: 2009-04-11 12:37:00


select page: « 1 »
Copyright ©2008-2017 www.momige.com, all rights reserved.