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

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -