php unlink directory help

Status
Not open for further replies.

nahsorhseda

Member
Messages
116
Reaction score
0
Points
16
does any know how to unlink a directory which has files but no sub folders
for example: /home/hsedan/public_html/FOLDERa
PHP:
<? 
$q=$_POST['INPUT'];


//comment;
//"HERE $Q=FOLDERa";

?>

i want $q to be deleted mind you its not empty!

 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
Oh!.. Then, you have to browse through the Directory, delete the contents in it and then finally Delete the directory.
 

nahsorhseda

Member
Messages
116
Reaction score
0
Points
16
even i knew that all along but do u have the script i need the script php.net is filled with this but i cant use any one of those cause i want the name of my directory as $q 's value
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
Sorry, I don't have that script. Consider posting this request in MarketPlace to get the script for some X10Credits.

All the best.
 
Status
Not open for further replies.
Top