ID: 18609 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Critical +Status: Feedback Bug Type: Scripting Engine problem Operating System: Windows 2000 PHP Version: 4.3.0-dev Assigned To: wez New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip The problem is that the GD extension explicitly disables URL access under windows (it uses the IGNORE_URL_WIN flag when opening the stream). Yesterday, I enabled this functionality along with include/require for remote files. Please try a snapshot and let us know how you get on. Previous Comments: ------------------------------------------------------------------------ [2002-09-25 09:38:22] [EMAIL PROTECTED] streams related... ------------------------------------------------------------------------ [2002-08-29 13:42:20] [EMAIL PROTECTED] I could not verify this (on Linux): [derick@kossu derick]$ php -v PHP 4.3.0-dev (cli), Copyright (c) 1997-2002 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies [derick@kossu derick]$ php > foo.png <?php $f = imagecreatefromjpeg("http://midg3t.homeip.net/images/psu-engrish.jpg"); imagepng($f); ?> [derick@kossu derick]$ file foo.png foo.png: PNG image data, 342 x 435, 8-bit colormap, non-interlaced Derick ------------------------------------------------------------------------ [2002-08-29 12:14:23] [EMAIL PROTECTED] Attempt to open a remote image via imagecreatefromjpeg() results in a 'failed to create stream: invalid argument' error. Opening the same url with fopen() works properly. ------------------------------------------------------------------------ [2002-08-29 04:19:39] [EMAIL PROTECTED] <?php imagecreatefromjpeg("http://midg3t.homeip.net/images/psu-engrish.jpg"); ?> ------------------------------------------------------------------------ [2002-08-28 12:25:16] [EMAIL PROTECTED] Please add the shortest possible example script into this report which can be used to reproduce this. (and set the status back to 'Open' when you do this..) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18609 -- Edit this bug report at http://bugs.php.net/?id=18609&edit=1