[PHP] How to figure out from which domain the PHP script was called?

2003-03-19 Thread Philarmon
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



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



[PHP] Hmmm, and how to do THAT ? ;)

2003-03-19 Thread Philarmon
Ok, thanks for the info, Josh !

 All security measures needs to happen on the server, not from what the
users
 web browser gives you.

And how to do something like that on the server ? Is there a tutorial
somewhere about this or something ? A few words about that would be great !
:)

Philarmon




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



Re: [PHP] Hmmm, and how to do THAT ? ;)

2003-03-19 Thread Philarmon
Hmmm, the PHP script is not a webpage but just a script which is called from
a flash movie, so i guess i cant check cookies with that :(

But thanks anyway !



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