if (isset($_POST['submit'])) {
if ($submit == 'Logout') {
setcookie('user_name', '');
setcookie('id_hash', '');
header("Location: ".$_SERVER['PHP_SELF']."");
}
if ($submit == 'Login')
{
....... (funzionante)
}}
il bottone di invio
<input type="hidden" name="submit" value="Logout">
<input type="image" src="img/puls_out">
Questo è il codice...
in explorer funge tutto, mentre in opera e firefox funge solo il login e il loguot no
![]()

Rispondi quotando