Jump to content

Need help unlinking files


eldan88

Recommended Posts

Hey,

 

 I am trying to unlink all files in 2 seperate directories using the array_map function. On one of the directories it works, and the second directory it does not unlink any of the files. I have checked the path and permissions and everything looks the way it should be.

 

Is there any way where I can debug the code to see why it isn't unlinking. Below is the code I am using

array_map("unlink", glob($diretory/*.())
Link to comment
https://forums.phpfreaks.com/topic/279100-need-help-unlinking-files/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.