ID: 36622 User updated by: php-bug at t43 dot mine dot nu Reported By: php-bug at t43 dot mine dot nu Status: Open Bug Type: Feature/Change Request Operating System: all PHP Version: 5.1.2 New Comment:
Maybe I was not writing too clear. I would like to access the protocol wrappers one way or the other, but not only mangled into fopen(). It would love to say allow_url_fopen=Off, and still do ftp/http->stream_open (ftp/http://host.tld/myfile.txt) for example. I looked into Streams (chapter CXLV. Stream Functions), but there the wrappers, or the class names of the wrappers, or the objects, are not available for use. Previous Comments: ------------------------------------------------------------------------ [2006-03-05 22:30:43] php-bug at t43 dot mine dot nu Description: ------------ The protocol:// wrappers are availabe only thru fopen() and similar calls, right now, which can be unsafe... It would be great if they where callable by themselfes, as not everyone will easily write the protocols. They can be useful despite allow_url_fopen . (In other words, allow_url_fopen=false will block fopen(), but does not hinder the knowing of doing it manually, however hinders the less knowing of securing fopen() easily AND using explicitely wrappers. I'm in this situation.) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36622&edit=1
