PHP :: Bug #65084 :: imagecreatefromjpeg fails with URL
| Bug #65084 | imagecreatefromjpeg fails with URL | ||||
|---|---|---|---|---|---|
| Submitted: | 2013-06-21 08:36 UTC | Modified: | 2013-12-05 14:58 UTC | ||
| From: | scott-php at scottowen dot org | Assigned: | |||
| Status: | Closed | Package: | GD related | ||
| PHP Version: | 5.5.0 | OS: | Windows 8 | ||
| Private report: | No | CVE-ID: | None | ||
[2013-06-21 08:36 UTC] 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
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2013-06-21 12:11 UTC] remi@php.net
-Status: Open +Status: Closed
[2013-12-05 14:56 UTC] scott-php at scottowen dot org
[2013-12-05 14:58 UTC] scott-php at scottowen dot org