Mailinglisten-Archive |
>z.B. wenn der user www.co1.de anstatt www.haupt.de eingibt,
Dein Freund heißt http://www.php.net/manual/function.eregi.php3
<?
if (eregi("co1" $HTTP_HOST)){
header ("Location: http://www.co1.de/co1.php3");
}
elseif (eregi("co2" $HTTP_HOST)){
header ("Location: http://www.co2.de/co2.php3");
}
?>
HTH
Mark
-----
Sent using MailStart.com ( http://MailStart.Com/welcome.html )
The FREE way to access your mailbox via any web browser, anywhere!
php::bar PHP Wiki - Listenarchive