Hallo toson,
If ( $SERVER_NAME = "http://deinserver/test.php/" ) {
$loc = "Location: http://www.google.de";
Header( $loc );
dieses header() wird _immer_ ausgeführ - egal was in $SERVER_NAME drinsteht.
nur so am Rande, warum schreibst du $loc und dann header($loc) und nicht das was in $loc steht gleich in header()?
Grüße aus Nürnberg
Tobias
--
Selfcode: sh:( fo:) ch:? rl:( br:< n4:& ie:% mo:| va:) de:] zu:) fl:( ss:| ls:[ js:|
Selfcode: sh:( fo:) ch:? rl:( br:< n4:& ie:% mo:| va:) de:] zu:) fl:( ss:| ls:[ js:|