How to figure out from which domain the PHP script was called?
| From: | Philarmon | Date: | Wed, 19 Mar 2003 22:13:11 +0000 |
| Subject: | How to figure out from which domain the PHP script was called? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-140344@lists.php.net to get a copy of this message | ||
Hi !
Im a completely PHP newbie, so please spare me :)
Is there any way to figure out from which page a script was called ?
I want that the PHP script check it and will be executed only if the request
came from my domain (so nobody could execute it by typing its name in the
browser or something like that).
Thanks for answering !
Cheers,
Philarmon