Re: deleting cookies on the touch of a button

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



AndreaD wrote:
I have a range of cookies that need to be deleted on the click of a button. The cookies are set by using.

setcookie("cookie[$name]", "$age")


Is there a simple command to delete all cookies or I have to do a foreach statement?

You have to use foreach


How can I execute the code/function on a click of a button?

I'm not sure what you mean. Perhaps a link, or a bookmark

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux