Reply to Re: [PHP] Retrieve URL of website

Your name:

Reply:


Posted by Leif Gregory on 10/02/33 11:12

Hello HarryG,

Friday, April 1, 2005, 7:42:25 PM, you wrote:
H> I want to retrieve the complete url in my php script. How can I do this?
H> eg. www.mysite.com/mydirectory/mypage.php
H> Result should either be www.mysite.com/mydirectory/mypage.php or /mydirectory/mypage.php

If you mean on your own site, use $_SERVER['PHP_SELF']


Cheers,
Leif Gregory

--
TB Lists Moderator (and fellow registered end-user)
PCWize Editor / ICQ 216395 / PGP Key ID 0x7CD4926F
Web Site <http://www.PCWize.com>

[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

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