|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 31 23:00:01 2025 UTC |
Details on my setup... Apache 1.3.11, php 3.0.15, gd 1.7.3, zlib 1.1.3 php/configure --with-gd=/usr/local/src/gd-1.7.3/ --with-apache=../apche_1.3.11 --enable-track-vars apache/configure --prefix=/www --activate-module=src/modules/php3/libphp3.a I'm trying to fopen a remote png file using http with... $fp = fopen("http://neo.xxx.com/mrtg/fw1-day.png","r"); If I do a print(fread($fp,3024)); I get the raw dump of the complete image... so far so good. I then pass that $fp to $im_in = imagecreatefrompng($fp); And it returns a null... If I pass it a local file name it works fine... The file does exist in the specified location in all cases... This was working at one point.. (3.0.13 perhaps) I wrote it back then.. and have not tried to use it until now...