Thanks, but I figured out A way around this, over every page with information there will be the folwing:
PHP Code:
<?
define(IN_WEBSITE, "true);
$ipaddr=$_SERVER['REMOTE_ADDRESS'];
if(!isset(IN_WEBSITE)
{
echo "ERROR: You are trying to acess this page\\'s variables form an outside source, Your ip,<b>$ipaddr</b>, is sent to the webmaster, your ip may be banned";
mail("me@myemail", "Website Intruder", "The Intruder\'s ip: $ipaddr\r\nPage:$_SERVER['PHP_SELF']\\r\\nThanks, Your Website");
}
else
{
//website
}
?>
BTW: What I ment by "Is there a way?" is that Is there a way to execute code from a string?
P.S. I could always disable impload.
Bookmarks