#39342 [Opn->Fbk]: is_writable function
| From: | iliaa@php.net | Date: | Fri, 03 Nov 2006 13:40:44 +0000 |
| Subject: | #39342 [Opn->Fbk]: is_writable function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104317@lists.php.net to get a copy of this message | ||
ID: 39342
Updated by: iliaa@php.net
Reported By: visit2imran at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: LInux
PHP Version: 5.1.6
New Comment:
Do you have open_basedir or safe_mode that could be blocking
access to the file?
Previous Comments:
------------------------------------------------------------------------
[2006-11-02 19:09:58] phpbugs at thequod dot de
Have you checked permissions on the file?
Probably, PHP is running with another user.
------------------------------------------------------------------------
[2006-11-02 09:57:40] visit2imran at gmail dot com
Description:
------------
Hello,
Iam facing a strange problem, we have shifted our site to newserver.
Earlier our code was
if (is_writable($file_path_csv))
{
echo "<br>Path=$file_path_csv";
}
This was working fine....
now my code is not working..rather if is use
if (!is_writable($file_path_csv))
{
echo "<br>Path=$file_path_csv";
}
it is working..
what could be the Problem?
please help.
Regards
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39342&edit=1