ID:               29628
 Updated by:       [EMAIL PROTECTED]
 Reported By:      qkman at 21cn dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: win2003 IIS6
 PHP Version:      5.0.0
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.




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

[2004-08-14 17:33:36] qkman at 21cn dot com

Please tell me why ???!!! thank !

------------------------------------------------------------------------

[2004-08-12 09:52:05] qkman at 21cn dot com

Description:
------------
I can't copy files from URLs (like http:// or ftp://) !

Fail in php5 , php4.3.8 , php4.3.6 , php4.3.4.4

Why ???

Reproduce code:
---------------
<?php
$s="http://bugs.php.net/gifs/logo-bug.gif";;

$d="E:/t/t.gif";

echo "allow_url_fopen = ".ini_get("allow_url_fopen")."<hr>";
echo "default_socket_timeout =
".ini_get("default_socket_timeout")."<hr>";

if(copy($s,$d)) echo "copy ok<br>";
else echo "copy error<br>";
?>

Expected result:
----------------
allow_url_fopen = 1
--------------------------------------------------------------------------------
default_socket_timeout = 60
--------------------------------------------------------------------------------
copy ok

Actual result:
--------------
allow_url_fopen = 1
--------------------------------------------------------------------------------
default_socket_timeout = 60
--------------------------------------------------------------------------------
copy error
PHP Warning: copy(http://bugs.php.net/gifs/logo-bug.gif): failed to
open stream: Bad file descriptor in E:\t\t5.php on line 9 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29628&edit=1

Reply via email to