Reply to Re: [PHP] Re: Retrieve URL of website

Your name:

Reply:


Posted by Richard Lynch on 04/06/05 06:29

var_dump($_SERVER);

should provide you with sufficient info to piece together what you need.



On Fri, April 1, 2005 9:36 pm, HarryG said:
> Thanks guys.
>
> "HarryG" <harry1980@gmail.com> wrote in message
> news:20050402024632.11051.qmail@lists.php.net...
> Hi,
>
> I want to retrieve the complete url in my php script. How can I do this?
>
> eg. www.mysite.com/mydirectory/mypage.php
>
> Result should either be www.mysite.com/mydirectory/mypage.php or
> /mydirectory/mypage.php
>
> Thanks in advance
> HarryG
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Like Music?
http://l-i-e.com/artists.htm

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация