Mailinglisten-Archive |
Sodele, dieses Script habe ich getestet und es hatte funktioniert...
<?php
$conn = _(at)_mysql_connect($server,$benutzer,$passwort);
$select = _(at)_mysql_select_db($datebase, $conn);
if ($conn AND $select)
{
HEADER("Location:http://www.microsoft.com/germany/");
} else {
# Notfallseite wenn mySQL ausfällt
HEADER("Location:http://www.php.net/");
}
?>
Jonathan
--
voteweb.de ...ihre Stimme zählt!
http://www.voteweb.de/
php::bar PHP Wiki - Listenarchive