Cod: Selectaţi tot
session_start();
if (empty($HTTP_SESSION_VARS['letgo']))
{
if (!empty($HTTP_POST_VARS['letgo']))
{
session_register('letgo');
$HTTP_SESSION_VARS['letgo']='xaquebaochung';
header("location: index.php");
exit();
}
$sform='<html>
<head>
<title>forumul tau</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="white">
<p>
<p>
<p>
<p align="center">
<table align="center">
<tr><td>
<form name="sercform" method="POST" action="">
<input type="submit" value="Intra pe forum" name="letgo">
</form>
</td></tr>
</table>
</p>
</body>
</html>';
echo $sform;
exit();
}