Possible Duplicate:
how to delete a folder with contents using PHP
hi,
is it possible to delete all children within a parent directory and then delete the the parent directory in php?
Edited:
When i use scan dir why does the first 2 elements of the array show '.', '..'?:
> Array ( [0] => . [1] => .. [2] => evga-nvidia-graphics-card4d0fe6868d2f8.jpg [3] => image4d0eaafb920a0.png [4] => image4d0eab086a106.png )
many thanks