http://www.php.net/manual/en/language.variables.predefined.php

$HTTP_HOST
Contents of the Host: header from the current request, if there is one. 

$HTTP_REFERER
The address of the page (if any) which referred the browser to the
current page. This is set by the user's browser; not all browsers will
set this.

-----Original Message-----
From: jas [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 04, 2002 10:50 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Verify script location...

Ok I have a question that i havent seen a tutorial on... How would I go
about making an included file check the host before executing?  I want
to
make sure that any files I use as included in a php document verify the
request is coming from a valid script on the same server for instance..
Is
this possible and if so could someone give me some more insight or a
tutorial on this?  Thanks in advance...
Jas



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to