i have a php page "view.php"
but i want no one to view the page direct by hitting or manually typing www.domain.com/view.php , it must come from index.php undergoing some process. ie
index.php ==> view.php/id=$$$
i tried for $_SERVER['REQUEST_URI'];
if ($_SERVER['REQUEST_URI'] =='www.domain.com/view.php')
header("location: index.php");
but aint worked..
can any one please help