Bug #65084 [Csd]: imagecreatefromjpeg fails with URL

From: Date: Thu, 05 Dec 2013 14:58:46 +0000
Subject: Bug #65084 [Csd]: imagecreatefromjpeg fails with URL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183134@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65084&edit=1 ID: 65084 User updated by: scott-php at scottowen dot org Reported by: scott-php at scottowen dot org Summary: imagecreatefromjpeg fails with URL 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: I submitted this report but am unable to edit or delete the original content. Please delete this bug report, or at least edit it to remove the links, as they are causing errors on my server. Previous Comments: ------------------------------------------------------------------------ [2013-12-05 14:56:50] scott-php at scottowen dot org fixed ------------------------------------------------------------------------ [2013-11-17 09:30:51] laruence@php.net 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 ------------------------------------------------------------------------ [2013-06-21 12:11:34] remi@php.net 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#183134) next »