Hi,
ich möchte bei einer bestimmten URL Eingabe diese weiterleiten lassen
<?
If ( $SERVER_NAME == "www.adresse.com/test1" )
{
header("Location: http://www.adresse.com/test2");
}
Hi:
versuchs mal so "==" ist nicht richtig
If ( $SERVER_NAME = "www.adresse.com/test1" )
----------------------------------------------
oder so
If ( $SERVER_NAME = "http://191.168.10.7/test.php" ) {
$loc = "Location: http://190.168.10.7/";
Header( $loc );
exit();
}
gruß toson