I have two PHP Pages, an index.php and a content.php. I am using the code include("content.php");
on the index.php file. Is it possible to check whether the user is on index.php or did he go straight to content.php ?
Basically what I want to do is display content.php on index.php but if the user went directly to content.php then I don't want the script to do anything.