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

[PHP] locking to domain

2004-01-29 Thread Ryan A
Hey all, I have a rather simple need that I am sure a lot of you must have gone through, I need a bit of code so that the script can run only at "something.com"..I am generating a MD5 license "key" based on that... Problem that I am having is.. wont I need 2 "keys" to see if the domain is with a "

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 >

[PHP] locking to domain

2003-07-18 Thread Ryan A
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 sh