detecting a " #" and what's after it in PHP
Posted: Fri May 27, 2005 6:42 am
Hi
is there a way in a php script (lets say the "myscript.php") to detect if it was called with this url:
http://domain.com/myscript.php#12
or this:
http://domain.com/myscript.php
some kind of server variable I don't know of?
I'm talking about a direct url request of which the $_SERVER['HTTP_REFERER'] is not set.
thank you
P.S: I know I can do this with javascript.
is there a way in a php script (lets say the "myscript.php") to detect if it was called with this url:
http://domain.com/myscript.php#12
or this:
http://domain.com/myscript.php
some kind of server variable I don't know of?
I'm talking about a direct url request of which the $_SERVER['HTTP_REFERER'] is not set.
thank you
P.S: I know I can do this with javascript.