Reply to Re[2]: [PHP] turn off the www

Your name:

Reply:


Posted by Richard Davey on 06/29/05 21:14

Hello André,

Wednesday, June 29, 2005, 8:03:00 PM, you wrote:

AM> Wouldn't
AM> $newUrl = 'https://' . substr( $_SERVER['SERVER_NAME'], 4 ) ........
AM> be a _hell_ of a lot faster?

Sure.. providing they always link to the page using www.domain.com
(and the same goes for anyone else who links to their site)

Otherwise it could cause a slight problem, with unfortunate effects if
your domain is something like e-sparse.com :)

Best regards,

Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov

[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

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