PHP-Code:
<?php
function set_it()
{
.......
}
?>
<html>
<head>
<title> WAS WEIS ICH??? </title>
<body>
<input type=button value="Do it" onClick="set_it()">
</body>
</html>

Kann mir jemand helfen??
Danke im vorraus
<a href="gleicheseite.php?setc=1" target="" ...>Cookie setzen</a>
if(isset($setc) && $setc==1) setcookie();
Kommentar