php.net |  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
Votes:1
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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: visit2imran at gmail dot com
New email:
PHP Version: OS:

 

 [2006-11-02 09:57 UTC] 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 


Patches

Pull Requests

History

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] iliaa@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC