Robert Cummings wrote:
On Wed, 2009-02-18 at 23:57 +0530, Sudheer wrote:
Ed Curtis wrote:
Is there a function or variable that will tell me if a file has asked
another file to include something much the same as
$_SERVER['HTTP_REFERER'] works. I have a script that is included on
it's called from a certain URL.
Are you looking for $_SERVER['PHP_SELF'] ?
I'd use $_SERVER['REQUEST_URI'] :)
Hi Ed Curtis,
and see which array key to use. REQUEST_URI gives you the request
parameters as well, whereas PHP_SELF gives you the script name only.
With warm regards,
Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net,
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php