hi.
i have the following entries in an array:
e:\phpdev\www\server\phpmywebmin pro_uploads\user\asdf\1\12\121\1212\12121
e:\phpdev\www\server\phpmywebmin pro_uploads\user\asdf\1\12\121\1212
e:\phpdev\www\server\phpmywebmin pro_uploads\user\asdf\1\12\121\1211\Kopie von asdf\ff
e:\phpdev\www\server\phpmywebmin pro_uploads\user\asdf\1\12\121\1211\Kopie von asdf
e:\phpdev\www\server\phpmywebmin pro_uploads\user\asdf\1\12\121\1211
e:\phpdev\www\server\phpmywebmin pro_uploads\user\asdf\1\12\121
e:\phpdev\www\server\phpmywebmin pro_uploads\user\asdf\1\12
e:\phpdev\www\server\phpmywebmin pro_uploads\user\asdf\1\11\112
e:\phpdev\www\server\phpmywebmin pro_uploads\user\asdf\1\11
e:\phpdev\www\server\phpmywebmin pro_uploads\user\asdf\1
now when i want to delete them i can do this step by step with rmdir("dir1");
rmdir("dir2");... and so on.
but as soon as i want to foreach the array and delete them in one step it doesnt work anymore! 🙁
foreach($myarray as $temp)
rmdir("$temp");
what could be the problem here? 🙁
j0sh