is_writable() && is_readable() && is_executa
Posted: Sun Aug 21, 2005 9:51 pm
I am trying to test a directory to make sure a directory 0777 so I can write to it and execute it. I'm using a statement like:
Create and place jpg's and what not in it. I was reading the manual and it said this about is_writable:
Thanks
Code: Select all
if (is_writable() && is_readable() && is_executable())So is 'is_writable' not to be trusted? If it is will it give me accurate information on a windows system? If so what should I use? How do you test a folder/file for this?Keep in mind that PHP may be accessing the file as the user id that the web server runs as (often 'nobody'). Safe mode limitations are not taken into account.
Thanks