Re[2]: turn off the www

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux