You are here: Re: Changing content for .com site « PHP Programming Language « IT news, forums, messages
Re: Changing content for .com site

Posted by Edmond Dantes on 05/11/06 01:26

Drakazz wrote:

> There isn't any other way except HTTP_HOST.

Definitely the best way to go.

If you want to do it for *any* page, not just PHP-enabled ones, consider
doing it with the mod_rewrite Apache directives. Would be much faster and
the page does not need to be PHP. There's tons of books and online stuff on
how mod_rewrite works. Just look it up.

I warn you though: mod_rewrite is like the "Dark Side of the Force." Once
you start using it you'll never want to go back.

--
-- Edmond Dantes, CMC
And Now for something Completely Different:
http://hot-sauce.HighbrowFoods.com
http://weight-loss.womencraft.com
http://Bowflex.SharpWorkout.com
http://rattle.WebPeekaboo.com
http://resort.sillylife.com
http://letter-opener.desktopgod.com
http://canister.GiftsOrCollectables.com

 

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

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