Hi, Please help here
I made this delete script to delete a folder on the hosting server and the files within.
It worked a month ago but now it does not work...
[PHP]
<?php
$dfolder = $_POST['dfolder'];
$myFile = "$dfolder";
rmdir($myFile);
?>
[/PHP]
It worked on my local server as well but also it aint working on it.
I tried unlink, unset, FTP_delete and the one that is suppose to work rmdir. I even set the permission but the permission are right.
Can some please tell me why it worked and now does not want to work!
I made this delete script to delete a folder on the hosting server and the files within.
It worked a month ago but now it does not work...
[PHP]
<?php
$dfolder = $_POST['dfolder'];
$myFile = "$dfolder";
rmdir($myFile);
?>
[/PHP]
It worked on my local server as well but also it aint working on it.
I tried unlink, unset, FTP_delete and the one that is suppose to work rmdir. I even set the permission but the permission are right.
Can some please tell me why it worked and now does not want to work!
Comment