Jump to content

Recommended Posts

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

 

town.jpg

 

 

But as soon as you change anything in the profile the game shows up like this

 

town2.jpg

 

 

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']);
?>

 

Link to comment
https://forums.phpfreaks.com/topic/174449-help-with-a-purchased-script-please/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.