php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #34823 is_readable/is_writable should check dir access with url wrappers at least
Submitted: 2005-10-11 09:10 UTC Modified: 2021-08-25 16:20 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: titus at hochgreve dot de Assigned: cmb (profile)
Status: Wont fix Package: Filesystem function related
PHP Version: 4.4.1RC1 OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
33 + 42 = ?
Subscribe to this entry?

 
 [2005-10-11 09:10 UTC] titus at hochgreve dot de
Description:
------------
is_readable($url)
--> ini_get('allow_url_fopen') && fopen($url, 'r')

is_writable($url)
--> constant FALSE with most wrappers I suppose (e.g. http); otherwise (ftp & such) difficult to handle. But wouldn?t it be nice to have it working!?!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 23:12 UTC] cmb@php.net
-Package: Feature/Change Request +Package: Filesystem function related
 [2021-08-25 16:20 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-08-25 16:20 UTC] cmb@php.net
I don't see much point in this; where possible at all, it would be
inefficient or useless.  Apparently, there is generally almost no
interest in this feature, so I'm closing as WONTFIX.

Feel free to pursue the RFC process[1], if you still like to see
this implemented.

[1] <https://wiki.php.net/rfc/howto>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC