very very strange problem with unlink
Posted: Tue Dec 14, 2004 9:26 am
i have this code :
always when the loop is at its last index
it can't delete the file that is in that index,not metter what the file!!!
i tried iffrent cobmination and every time the same problem!
always the last file isnt deleted and i get a permission denied warning!
why is that?
thnaks in advance
peleg
Code: Select all
for($i=0;$i<count($delLst); )
unlink($delLstї$i++]);it can't delete the file that is in that index,not metter what the file!!!
i tried iffrent cobmination and every time the same problem!
always the last file isnt deleted and i get a permission denied warning!
why is that?
thnaks in advance
peleg