Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
$host = $_SERVER['HTTP_HOST'];
4
 
5
preg_match("#^(.*)/[^/]*$#", $_SERVER['REQUEST_URI'], $matches);
6
$uri = $matches[1];
7
 
8
header("Location: http://${host}${uri}/demo/index.php");
9
 
10
?>