#34823 [NEW]: is_readable/is_writable should check dir access with url wrappers at least
| From: | titus at hochgreve dot de | Date: | Tue, 11 Oct 2005 07:10:50 +0000 |
| Subject: | #34823 [NEW]: is_readable/is_writable should check dir access with url wrappers at least | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-86383@lists.php.net to get a copy of this message | ||
From: titus at hochgreve dot de
Operating system: any
PHP version: 4.4.1RC1
PHP Bug Type: Feature/Change Request
Bug description: is_readable/is_writable should check dir access with url wrappers at least
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!?!
--
Edit bug report at http://bugs.php.net/?id=34823&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34823&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34823&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34823&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34823&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34823&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34823&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34823&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34823&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34823&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34823&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34823&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34823&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34823&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34823&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34823&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34823&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34823&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34823&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34823&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34823&r=mysqlcfg