![]() |
| ||
| Retrieve URL from address bar hi i want to read the whole URL passing through the address bar and asssign it to a variable .Please help me |
| ||
| Re: Retrieve URL from address bar URL of the current page : $current_url = $_SERVER['REMOTE_ADDR'].$_SERVER['PHP_SELF']; - Mitko Kostov |
| ||
| Re: Retrieve URL from address bar I was wrong posted the code above in a hurry. You can use : echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; - Mitko Kostov |
| All times are GMT -4. The time now is 11:58 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC