Heb een script om van login naar stats te gaan genaamd start.php
maar als ik hem upload en probeer te gebruken komt er een fout te staan:
Sesion has expired
<?php include("header.php"); ?>
<font size=5 color=red>MAIN</font><br>
<?php
Print "<br>Welcome back, $stats[user]!";
?>
<br><br>New Players: <a href='help.php'>Learn the Basics!</a><br><br>Location of your Knock Out Link:
<?php
Print "<br><input type=text size=47 value=http://ghetto.woelmuis.nl/page.php?x=$stats[id]>";
?>
<br><div class="tiny">Knock out your friends for money!</div><br>
<?php
if ($_stat[trap] == 'on') {
print "<table class='darkbox'><tr><td align='center'>Your knock out link is currently <b>set</b>. You can <u>only</u> knock out your friends when your link is set.</a><br><br><a href='start.php?action=trapoff'><font color='#CC0000'>Click here to disarm your link.</font></a></td></tr></table>";
}
if ($_stat[trap] == 'off') {
print "<table class='darkbox'><tr><td align='center'>Your knock out link is currently <b>not set</b>. You can <u>only</u> knock out your friends when your link is set.</a><br><br><a href='start.php?action=trapon'><font color='#CC0000'>Click here to set your link.</font></a></td></tr></table>";
}
?>
<?php
if ($_action == trapon) {
print "<b><font color=yellow>Now you can knock out your friends!</font></B><br><br>";
mysql_query("update players set trap='on' where id=$stat[id]");
}
if ($_action == trapoff) {
print "<b>You turned <b>off</b> your link</B><br><br>";
mysql_query("update players set trap='off' where id=$stat[id]");
}
?>
<br><font color="#ffffff"><b><font size="+1"><a href=help.php>Learn How To Play</a></font></b></font></p>
<?php include("footer.php"); ?>
920 views