...

View Full Version : Cookies



TaboTabo
02-24-2007, 10:01 AM
Get the cookie.

I have a cookie that remembers form values, it uses <body onload onunload> to call/save the cookie, it works, however because the form action is the same page it dodesnt. How can i use php to get the cookie???


To get the cookie it is(javascript way):
onload="cookieForms('open', 'inpform');
To save the cookie(javascript way):
onunload="cookieForms('save', 'inpform')"

Linark
02-24-2007, 10:29 AM
PHP Manual: $_COOKIE (http://uk2.php.net/manual/en/reserved.variables.php#reserved.variables.cookies)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum