Jump to content
MakeWebGames

Lock mysql.php/config.php from outsiders.


Haunted Dawg

Recommended Posts

Ok ive had a shell installed on my new game dont know how it got there and well ive deleted it now but it was accessing the mysql.php via my game. So some other people may have this to i know for one jay-dogg has a problem like this and until today ive made up the working thing.

Add this to which every files you actualy want to access the mysql.php/config.php:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

To some of you who have v1 they should add this in the header:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Since v1 in every file uses include(mysql.php); now you cant go through all the files :lol:

Ok now in the file you want it not to access if game_file is set to 0 (from outsiders)

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Jay dogg had this problem that people were changing his email, password, all the time after changing it back. Hope this helps to some of you who actualy need it.

Note: please dont post shit that its stupid to use this and such as i know its not needed if you can use a key and such but this will help those who have the same problem as jay-dogg!

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