|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39342 is_writable function
Submitted: 2006-11-02 09:57 UTC Modified: 2006-11-11 01:00 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: visit2imran at gmail dot com Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 5.1.6 OS: LInux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-11-02 09:57 UTC] visit2imran at gmail dot com
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. 



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-02 19:09 UTC] phpbugs at thequod dot de
Have you checked permissions on the file?
Probably, PHP is running with another user.
 [2006-11-03 13:40 UTC]
Do you have open_basedir or safe_mode that could be blocking 
access to the file?
 [2006-11-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Feb 25 10:01:23 2020 UTC