#46888 [NEW]: copy() : safe_mode / allow_url_fopen
From: php at degoulet dot net
Operating system: Fedora Core
PHP version: 5.2.8
PHP Bug Type: Scripting Engine problem
Bug description: copy() : safe_mode / allow_url_fopen
Description:
------------
copy() does not use the allow_url_fopen status ?
Reproduce code:
---------------
<?php
// Fonction copie distante ne fonctionnant plus
copy("http://www.xxxxxx.com/testcopy/nok.jpg",
"nok_copy.jpg");
?>
Expected result:
----------------
works fine in php 5.2.6 : with allow_url_fopen = On & safe_mode = On
doesn't work with the same config php 5.2.8
now, it works only if safe_mode off ?
--
Edit bug report at http://bugs.php.net/?id=46888&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46888&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46888&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46888&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46888&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46888&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=46888&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46888&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46888&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46888&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46888&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46888&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46888&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46888&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46888&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46888&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46888&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46888&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46888&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46888&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46888&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46888&r=mysqlcfg
Thread (12 messages)
- php at degoulet dot net
- php at degoulet dot net#46888 [Opn]: copy() : safe_mode / allow_url_fopen
- christian at elmerot dot se#46888 [Com]: copy() : safe_mode / allow_url_fopen
- php at degoulet dot net#46888 [Opn]: copy() : safe_mode / allow_url_fopen
- fuxa_kos at unihost dot cz#46888 [Com]: copy() : safe_mode / allow_url_fopen
- neo at nord-style dot com#46888 [Com]: copy() : safe_mode / allow_url_fopen does not allow opening urls
- christian at elmerot dot se#46888 [Com]: copy() : safe_mode / allow_url_fopen does not allow opening urls
- sjoerd@php.net#46888 [Opn->Ver]: copy() : safe_mode / allow_url_fopen does not allow opening urls
- macmiranda at gmail dot comBug #46888 [Com]: copy() : safe_mode / allow_url_fopen does not allow opening urls
- czigor at freemail dot huBug #46888 [Com]: copy() : safe_mode / allow_url_fopen does not allow opening urls
- maurice dot sienema at isp dot solcon dot nlBug #46888 [Com]: copy() : safe_mode / allow_url_fopen does not allow opening urls
- cmb@php.netBug #46888 [Ver->Csd]: copy() : safe_mode / allow_url_fopen does not allow opening urls