Jump to content

Doyley

Members
  • Posts

    69
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Doyley's Achievements

Member

Member (2/5)

0

Reputation

  1. I don't expect people to remember, obviously, I'm just loking for ideas to what it could possibly be.
  2. Hi guys, A few months ago, somebody managed to upload a PHP script to my server that pretty much gave them full control of it. I meant to keep it so I could take a look at it but I can't remember where I saved it. Does anybody know what it could be? Thanks
  3. Nope, it wasn't that simple. The problem has started again :@
  4. Well I think I found the problem, it really can't be this simple can it?? <meta http-equiv="Content-Type" content="text/html charset=iso-8859-1" /> Changed to <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> Note the semicolon after text/html. It seems to have done the trick, it can't be that simple, surely?
  5. I created a page, a blank page that just inserts a row into a database. That works perfectly which leads me to believe that there is a coding error somewhere that just effects Firefox. hmmmmm
  6. Yeah I've tried it with IE and firefox. The problem doesn't happen with IE. I've cloned the site and put it onto my dev server, the same problem happens. The is a global header used throughout the site, I'm guessing the problem must be in there. The site is http://www.ugcity.co.cc if you would be willing to take a look?
  7. Well the problem is much bigger than what I thought. Everything is affected by it, forum posts, captchas, game stats, pretty much everything is processed twice. Is there not something I can simply put in the header to stop this happening? How come I've never run into this problem before, is it only certain styles or something? Thanks
  8. Thanks matey, I'll try that tomorrow when I sober up lol.. Happy new year!!
  9. Does anybody have an example of the session variable? I can't figure out a way to do it. The problem is the links all page to the parent page but with different variables in the urls. So the session is carried on and nothing is processed on the next page. If I unset the session it pretty much defeats the object.
  10. Wow, I can't even inset a row into the database without it being duplicated. :@
  11. Hey. Well I'm helping a friend out with an online game, this is one of the first tasks. That page is a captcha test. The valid_fails is the number of times they have left before they are banned. But it decreases by 2 each time rather than one. There is another session variable on that page which carries the correct number accross. That is also getting screwed up somewhere so a lot of people are getting banned for no reason. I think I'm going to have to rebuild it. I hate trying to recode other peoples work.
  12. Hi all, I have a problem with a script using sessions on Firefox. I am running the latest verion, but many others are having the same problem. if (!isset($_SESSION['valid_fails'])) { $_SESSION['valid_fails'] = 1; } else { $_SESSION['valid_fails']++; } It appears that the increment happens twice. I found this on your site http://www.phpfreaks.com/forums/index.php?topic=226301.0 Is this the same problem I am having and if so, is there a way to define the character set easily to stop Firefox reloading? Thanks
  13. Doyley

    Redirect

    Yup I was right, I added a parked domain over the old domain thinking that would work. Nope. So I edited httpd.conf and removed all references to the old domain. Thanks all.
  14. Doyley

    Redirect

    Righto... get ready to be spammed with code ;-) Javascript bit... <a href="/manager"><td onclick="document.location='/manager';" class="newleftbox" onmouseover="this.className='newleftboxon'" onmouseout="this.className='newleftbox'"> Managers Login</td></a> The manager/index.php page... <?php include("../includes/header.php"); echo "<h1><center>Manager Login</center></h3>\n"; echo "<br /><br />\n"; echo "<form method=\"post\" action=\"login.php\">\n"; echo "<table border=\"0\" align=\"center\">\n"; echo "<tr>\n"; echo "<td><b>Username</b></td>\n"; echo "<td><input type=\"text\" name=\"uname\" /></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td><b>Password</b></td>\n"; echo "<td><input type=\"password\" name=\"pass\" /></td>\n"; echo "</tr>\n"; echo "<tr><td> </td></tr>\n"; echo "<tr>\n"; echo "<td colspan=\"2\" align=\"center\">\n"; echo "<input type=\"submit\" value=\"Login\" />\n"; echo "</td>\n"; echo "</tr>\n"; echo "</table>\n"; echo "</form>\n"; echo "<br /><br />\n"; echo "<center>\n"; echo "<a href=\"register.php\"><b>Register</b></a>\n"; echo "<br /><br />\n"; echo "<a href=\"forgotpass.php\"><b>Forgot Password</b></a>\n"; include("../includes/footer.php"); ?> I'll post the header.php and footer.php file if requested but I don't think there is a problem with them because they are included on all pages. The problem only occurs on the manager page. I'm thinking it's some sort of apache configuration problem now because if you go directly to the manager/index.php page it works fine. Cheers!
  15. Hi guys, I think I have my head up my rear end or something. http://www.leagues.athosts.co.uk/index.php Click on Manager down the left ... it's getting redirected to an old domain of ours. It's probably something really simple but I can't see it. Cheers
×
×
  • 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.