Get URL function?

Status
Not open for further replies.
A

Anonymous

Guest
I is there a PHP function that gets the URL of the current web page? To be more precise, I have an include function that is used by many webpages, I would need to be able to get the URL, without having to hard code that on each page that calls the function. Is there some way I can do this generic sothat it just checks for the current URL?
Thanks,
Laiwa
 
Please use the search function before posting questions. This one was answered a few hours ago.

http://www.php-forum.com/p/viewtopic.php?t=4773

Locked.
 
Status
Not open for further replies.
Back
Top