Menu
i want noone to access a php file
i mean no direct access
but i want a php file to access it
something like:
<?
$url =”[mysite]”;
if ($_SERVER[‘HTTP_REFERER’] != $url) {
echo “hey its working ?”; // code i want to access
}
else{
exit();
}
?>
i want that file only accessible with only my other file
like site1.com/file1.php contain my code
site2.con/file2.php is on another website
i want to access file 1 from another domain witm html code (iframe etc..)
& i want to restrict all direct access from browser
hope u guyz get what i am saying
& please reply fast i have to submit this after after 5hours ?