Location: PHPKode > projects > NewsP > install/index.php
<?
$serverpfad = getenv('SCRIPT_FILENAME'); 
$zerteil_slash = explode('/',$serverpfad);
$anz_sl = count($zerteil_slash);
$nb="newsbox.php";
$b = 0;
while ($b < ($anz_sl-2))
{
$pfad = "$pfad$zerteil_slash[$b]/";
$b++;
}
$install ='install';
$settings='settings';
$admin ='admin';

$von = "$pfad$install/step1.php";
$nach = "$pfad$admin/x_test1.php";
echo "$von <BR> $nach";
copy($von, $nach);
?>
Return current item: NewsP