Natural selection browser switch

Chris Howells chris at chrishowells.co.uk
Thu Mar 13 16:29:03 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Thursday 13 March 2003 15:10, Jason Bainbridge wrote:
> I just did this via adding the folowing to the body tag:
>
> id="<?php echo str_replace(".","",$_SERVER['SERVER_NAME']); ?>"
>
> So usability.kde.org will have an id of usabilitykdeorg.

Isn't str_replace a bit slow? If so, might have a bit of impact on server 
performance if it's on _every_ page that's served.

- -- 
Cheers, Chris Howells -- chris at chrishowells.co.uk, howells at kde.org
Web: http://chrishowells.co.uk, PGP ID: 33795A2C
KDE: http://www.koffice.org, http://printing.kde.org, http://usability.kde.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+cLHVF8Iu1zN5WiwRAh7eAJ4sPRWlVxUAXH+NiUgkJ8xH4bIS+wCfV5hW
J/BIqr+69KB/jxlQoZG99jA=
=8dpS
-----END PGP SIGNATURE-----




More information about the kde-www mailing list