I am using the following command:
unlink("Arquivos/$token");
Is this correct? Does it delete all files and subfolders?
It is giving the following error:
Warning: unlink(Arquivos/5b6a7a075e26664fd69e23f60c5d55bc): Operation not permitted in /Library/WebServer/Documents/Sites/Sistema/Paginas/Servidor/Todos_Clientes.php on line 90