locking to domain
| From: | Ryan A | Date: | Fri, 18 Jul 2003 16:00:44 +0000 |
| Subject: | locking to domain | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155792@lists.php.net to get a copy of this message | ||
Hi,
I want to make sure my scripts can be executed on only one domain (or
localhost/ 127.0.0.1)...it should not matter if its
http://somesite.com/myscript.php
or http://somesite.com/~blah/myscript.php
or http://blah.somesite.commyscript.php
or http://somesite.com/1/2/asdf/234/myscript.php
It should only work on "somsite.com"
Any ideas on how i can do this? I've seen this done on some old perl scripts
but how in php?
Kindly help.
Thanks,
-Ryan