PHP-Code:
<?php
echo "$DOKUMENT_ROOT";
$data = "../wohnungen/proj01";
$handle = opendir("$data/");
while ($file = readdir ($handle)) {
unlink($file);
}
rmdir ("$data");
?>
<?php
echo "$DOKUMENT_ROOT";
$data = "../wohnungen/proj01";
$handle = opendir("$data/");
while ($file = readdir ($handle)) {
unlink($file);
}
rmdir ("$data");
?>
Kommentar