'$session_expire' AND session_id LIKE '$session_id'"); if(!mysql_num_rows($rs)) mysql_query("INSERT INTO sessions VALUES ('$session_id','$now','$partner_id')"); // redirection 301 header("Status: 301 Move Permanently", false, 301); header("Location: /$redirect"); exit(); } else { header("HTTP/1.0 404 Not Found"); echo "404 page introuvable..."; exit(); } ?>