Re: Make sure folder is writable
| From: | Eric Gorr | Date: | Tue, 24 Feb 2004 19:09:52 +0000 |
| Subject: | Re: Make sure folder is writable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178764@lists.php.net to get a copy of this message | ||
At 1:32 PM -0500 2/24/04, Matt Palermo wrote:
Is there a way to check a folder on the server to make sure a specified folder has write permissions? I'm writing an upload script, but I need to make sure the user gave the destination directory write permissions before I can copy the files to the new folder. Anyone got any ideas?Any reason why you cannot try to write a temporary file to the directory and then delete it?