hi all,
I am creating a a cgi script in perl. I want to use delete a directory so i am using a system call.
system("rm -r $path"
However, this dosen't remove the directory. In the apache error logs i get the error message
rm: Unable to remove directory ....name of directory...: File exists
Any ideas? I have used this system call in other scripts and got it to work. My web server is running apache on unix.
Many thanks
I am creating a a cgi script in perl. I want to use delete a directory so i am using a system call.
system("rm -r $path"
However, this dosen't remove the directory. In the apache error logs i get the error message
rm: Unable to remove directory ....name of directory...: File exists
Any ideas? I have used this system call in other scripts and got it to work. My web server is running apache on unix.
Many thanks