Edit report at https://bugs.php.net/bug.php?id=65084&edit=1
ID: 65084 Updated by: r...@php.net Reported by: scott-php at scottowen dot org Summary: imagecreatefromjpeg fails with URL -Status: Open +Status: Closed Type: Bug Package: GD related Operating System: Windows 8 PHP Version: 5.5.0 Block user comment: N Private report: N New Comment: Automatic comment on behalf of remi Revision: http://git.php.net/?p=php-src.git;a=commit;h=fc898ee0f94ee3686aa1f359d4a973d5e8e1754b Log: Fixed Bug #65060 imagecreatefrom... crashes with user streams Fixed Bug #65084 imagecreatefromjpeg fails with URL Previous Comments: ------------------------------------------------------------------------ [2013-06-21 08:36:52] scott-php at scottowen dot org Description: ------------ imagecreatefromjpeg( URL ) always returns FALSE. URL is valid, allow_url_fopen enabled in ini, worked in 5.4.x but consistently fails without errors/warnings, same ini settings. tested imagecreatefromgif( ) with same results, always FALSE without errors/warnings. webserver logs show the image file is accessed and returned without error. Test script: --------------- $im = imagecreatefromjpeg( "d:/wwwroot/cam_offline.jpg" ) ; // create from valid jpeg file succeeds $im = imagecreatefromjpeg( "http://www.scottowen.org/cam_offline.jpg" ) ; // create from URL to same file fails without errors/warning, $im is boolean FALSE Expected result: ---------------- Result should be a GD resource Actual result: -------------- Result is always a boolean FALSE without errors/warnings ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65084&edit=1