Create a cookie
Posted: Mon Oct 09, 2006 12:49 am
is it possable for me to accomplish something like this?
obviousally that dosnt work, but is it possable to, when a user clicks on the link, it create a cookie? if so how?
Code: Select all
echo "<a href='http://www.google.com' onclick='".setcookie('clicked', "TRUE", time()+99999)."'>TEST</a>";