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
Post a Comment