Re: is_writable() not working on PHP 5.1.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# lists@xxxxxxxxxxx / 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux