PDA

View Full Version : PHP Detecting a Browser's URL


AD6XS
09-11-2002, 04:37 PM
I am curious if it is possible through PHP to access the URL of the user's browser. You know, the URL string the viewer of the website sees when they visit the particular page where I want to run a PHP script.

I want to access this and name it to a variable.

I have searched high and low all over th einternet and PHP manuals for this with NO LUCK!!! :mad:

Anyone know the solution. I am thinking that this may involve javascript also.

If anyone knows the solution please post here or email me.

Thanks.

Dynasty
09-15-2002, 10:55 PM
Whenever I use that it only returns /nameofscript.php
It's some weird stuff that is.

Dynasty
09-16-2002, 03:39 AM
That appears to return the same thing O_o

AD6XS
09-16-2002, 05:17 AM
Thanks guys, I will try it. ;)



Sam

noremac
09-28-2002, 06:47 PM
if all else fails the PHP manual is your friend :D. (http://www.php.net/manual/ )