You are here: Re: Getting the actual URL in browser when « PHP Programming Language « IT news, forums, messages
Re: Getting the actual URL in browser when

Posted by Rik on 05/16/06 04:17

Jerry Stuckle wrote:
> Or, if you want different options, create another virtual host for
> the other domain and point it at the same directory.

Which would give you a great oppertunity to use $_SERVER['SERVER_NAME']
http://nl2.php.net/manual/en/reserved.variables.php
'SERVER_NAME'

The name of the server host under which the current script is executing. If
the script is running on a virtual host, this will be the value defined for
that virtual host.

Grtz,
--
Rik Wasmus

 

Navigation:

[Reply to this 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

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