Can any of you help me to hack-proof my website?
It is a simple website for my rock band which uses index.php.
I have to constantly monitor my site and remove the offending files.
I keep getting hacked by various people around the world, who use my index.php to replace my files with theirs.
1. Can any of you help me to secure my index.php page so that it cannot access files outside of my server?
2. Is there some code I can add to the index to prevent it from grabbing files outside my server?
THIS IS THE CURRENT CODE FOR THE INDEX.PHP:
$MainPage = "template.php"; // Main Template File
$Content = "./page"; // Location of Content
$PageExtension = ".php"; // What comes at the end of the x...
$default = "home.htm";
Thank you all for your help.
Feel free to contact me at email@example.com
I NEED HELP hack-proofing my index.php *CLOSED*
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users