A game from Empire Interactive A game from Empire Interactive A game from Empire Interactive
World Wide Highscores
Create a new account


\n"; echo "\n"; echo "".$caption."\n"; echo "\n"; echo $message."\n"; echo "\n"; echo "\n"; echo "
\n"; } $nError=0; if ($_REQUEST["step"]==1) { if ((strlen(trim($_REQUEST["userid"]))>0) and (strlen(trim($_REQUEST["pass1"]))>0) and (trim($_REQUEST["pass1"])==trim($_REQUEST["pass2"]))) { if (strlen($_REQUEST["player"])==0) $_REQUEST["player"]=$_REQUEST["userid"]; $query="SELECT * FROM players WHERE userid=\"".$_REQUEST["userid"]."\""; $result = mysql_query("$query"); if ($result) { $nFound=0; while ($resarray = mysql_fetch_array($result)) { $nFound=1; } if ($nFound==0) { $query="INSERT INTO players (player,email,www,zusatz,userid,passhash) VALUES ("; $query=$query."\"".$_REQUEST["player"]."\",\"".$_REQUEST["email"]."\",\"".$_REQUEST["www"]."\",\"".$_REQUEST["addinfo"]."\",\"".$_REQUEST["userid"]."\",\"".md5($_REQUEST["pass1"])."\")"; $result2 = mysql_query("$query"); if ($result2) { echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "Status: OK
\n"; echo "New account for \"".$_REQUEST["userid"]."\" created!\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "
\n"; } else { text_out("Status: ERROR","An error occured on creating the new account. Please try again.",230); } } else { text_out("Status: ERROR","Sorry, the User-ID \"".$_REQUEST["userid"]."\" already exists. Please choose another one.",270); } } else { text_out("Status: ERROR","There was an error on accessing the database. Please try again later.",250); } mysql_free_result($result); } else { text_out("Status: ERROR","Please check User-ID and password!",270); $_REQUEST["step"]=0; $nError=1; } } if ($_REQUEST["step"]==0) { echo "
\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "Create a new account
Name:
E-Mail:
Homepage:
Additional
Info:
User-ID:
Password:
Repeat Pw.:
\n"; echo "\n"; echo "\n"; echo "
\n\n"; echo "
\n"; } ?>
Pro Pinball, The Web, Timeshock!, Big Race USA and Fantastic Journey are trademarks of Empire Interactive.
All other trademarks and logos are the property of their respective owners.
Copyright (c) 2013 by Andreas 'Ante' Grabher