Is there a way to toggle the "Hidden" or "Read-Only" switches on a Windows file using PHP? -


updated

as title says, there way toggle "hidden" or "read-only" switch on windows using php?

i'd without opening shell exec() if possible.

a file can't hidden, it's in file system. there's *nix convention files starting . not shown default operations (like ls command), if don't hard enough. same goes windows, windows handles file meta attributes.

what can/should use file permissions make folder/file inaccessible has no business accessing it. use chmod, chown , chgrp php. may have learn bit proper file system permissions though.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -