halfpint Posted September 16, 2009 Share Posted September 16, 2009 Hi I purchased this game script and I cannot get any support from the website or the guy that wrote the script. You basicaly build up towns and fight other players. I have a problem when somebody tries to edit thier profile or change their email ect.. in the game It says it has succesfully updated but when you return to your own town the actual background graphics goes black and any jpgs do not show up The game looks like this before you change anything in the profile But as soon as you change anything in the profile the game shows up like this The actual code for the change profile is this and I dont know if it is this that is causing the problem. Could somebody please have a look at the code to see if it is this that is causing the problem thanks <?php /*** Battle Towns | Play Battle Towns A Free Strategy War Game ***/include "antet.php"; include "func.php"; if (isset($_SESSION["user"][1], $_POST["pass"])) if ($_SESSION["user"][2]==md5($_POST["pass"])) { $ar=array("\'", "\""); $_GET["email"]=str_replace($ar, "", $_GET["email"]); profile($_SESSION["user"][1], $_POST["email"], $_POST["desc"], $_POST["sitter"], $_POST["grpath"], $_POST["lang"]); $_SESSION["user"][3]=$_POST["email"]; $_SESSION["user"][9]=$_POST["desc"]; $_SESSION["user"][12]=$_POST["sitter"]; $_SESSION["user"][13]=$_POST["grpath"]; $_SESSION["user"][16]=$_POST["lang"]; } else msg($lang['accessDenied']); else msg($lang['insufData']); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.