Re: is_writable() not working on PHP 5.1.6
| From: | Roman Neuhauser | Date: | Fri, 05 Jan 2007 11:28:00 +0000 |
| Subject: | Re: is_writable() not working on PHP 5.1.6 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246582@lists.php.net to get a copy of this message | ||
# lists@dwsasia.com / 2007-01-05 18:01:30 +0700:
> if (file_exists($file)) {
$file
> if(!is_writeable($menu_filename)){
$menu_filename
> echo "the file is not writable";
> }
> } else echo "The file does not exist";
>
> I have set the permissions to 777 for the file
Which of the two files?
Use the var_dump(), Luke!
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991