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

Reply via email to