Home »

permission Denied using unlink and rmdir in PHP?

Question ListCategory: PHPpermission Denied using unlink and rmdir in PHP?
jamessmith05 author asked 10 years ago
1 Answers
alisataylore190 author answered 9 years ago
before this unlink run code for give permition to file or directory

// Read and write for owner, read for everybody else
chmod($first_sub ."/". $files, 0644);

// Everything for owner, read and execute for others
chmod($first_sub ."/". $files, 0755);

Please login or Register to Submit Answer