Re: [PHP] locking to domain

2004-01-30 Thread Ryan A
Hey, Sorry, when I posted this yesterday it was towards the end of my day and I was not thinking straight, by the time I got up today I had it figured out :-) Thanks anyway to everyone who replied. Cheers, -Ryan On 1/30/2004 7:38:27 AM, Justin French ([EMAIL PROTECTED]) wrote: > On Friday, Janu

Re: [PHP] locking to domain

2003-07-19 Thread Justin French
Start with: have a look through the array, to find the values you need to test on... something like $_SERVER['HTTP_HOST'] => mydomain.com is what I would use, but your srver may do different things. So, then we can test/compare that value to the one you're allowing: Of course, what's stop

Re: [PHP] locking to domain

2003-07-18 Thread Jason Wong
On Saturday 19 July 2003 00:00, Ryan A wrote: > 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 >