php - Unlink file but the file remains (Mac os Mountain Lion) -
i have php script delete file using unlink (). when launched script files still present in folder, "empty" ... if restart finder these files no longer present in folder ...
i use osx 10.8.4, mamp 2.1.4, php version 5.4.10
then if do:
unlink($file); $filecount = count(glob($mydir)); $filecount = 1; update mistake filecount :), because present in finder?
glob of empty dir returns false, count(false) == 1 :d
Comments
Post a Comment