Jump to content
MakeWebGames

hacked game and banned


kenja

Recommended Posts

Re: hacked game and banned

Something you could do is add this to all your staff pages:

if($_GET['admincode'] != password) { die(""); }

 

put that just under include "sglobals.php"; make sure you change the part that says password then when you want to go to that specific section you have to change the url to:

http://yoursite.com/staff.php?admincode=password

so whatever password you choose you would always have to add:

?admincode=password

to the end of your urls and change "password" to whatever pasword you choose!!!

or you could make a dummy page that only you know about with all the links with the admincode attached to the end so you could navigate easier! Of course nothing is 100% but this along with abs(int ) htmlspecialchars () will certainly help your site out alot!!!

Link to comment
Share on other sites

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.   Paste as plain text instead

  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...