Menu
Is there anyway that I can determine if my PHP was called from another page, or directly? For example..
Say on a page i have
[code]<link rel=”stylesheet” type=”text/css” href=”code.php”>
is there anything I can put in that php file to determine whether it was called this way, or by someone typing in
[url]www.domain.com/code.php
I tried by checking if the $HTTP_REFERER == null , but this was very flakey