Reply to Multiple domains and SERVER_NAME

Your name:

Reply:


Posted by laredotornado@zipmail.com on 03/22/07 15:59

Hi,

If I have multiple domains (mydomain1.com, mydomain2.com,
mydomain3.com) pointing at the same IP, will the call

echo $_SERVER{'SERVER_NAME'];

return the domain name people type into the URL? If not, what is a
PHP call I can make to determine the domain someone typed in?

I'm using PHP 4.4.4. Thanks, - Dave

[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

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