ID:               46888
 User updated by:  php at degoulet dot net
 Reported By:      php at degoulet dot net
 Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: Fedora Core
 PHP Version:      5.2.8
 New Comment:

error msg :

Warning: copy(): Unable to access http://www.xxxxx.com/testcopy/nok.jpg
in /............/test.php


Previous Comments:
------------------------------------------------------------------------

[2008-12-17 14:17:58] php at degoulet dot net

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 this bug report at http://bugs.php.net/?id=46888&edit=1

Reply via email to