use $_SERVER['REQUEST_URI']
If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE!I am having trouble getting a URL, I was wondering if there is a better command than $_SERVER['PHP_SELF'], because if I use that with a URL like index.php?option=com_content&itemid=2
I will get with PHP_SELF
index.php
I want to get the whole URL, how do I do this?
use $_SERVER['REQUEST_URI']
Thanks, that worked
Bookmarks