Forum Moderators: coopster
i have installed gd2 on our linux server and used createimagefromjpeg with a URL parameter. this fails and returns an empty string. i tried to access a native public url but it doesn't work as well.. when i changed the native url to the ip address of the server, it works perfectly.
i don't know if i missed something but i really have no more idea how and why this happened...
can somebody please help me.
thanks a lot.
Make sure your allow_url_fopen [us2.php.net] directive is set to true otherwise it will not correctly work.
I don't see any other reasons why it shouldn't be working. Maybe safe mode has some affect on it in which case you may want to check that out.
i cant access images in php... here is the warning it shows.
Warning: imagecreatefromjpeg(http://trialhost:81/DOCUMENTUM//430/ss007-2007052634012.jpg) [function.imagecreatefromjpeg]: failed to open stream: HTTP request failed! HTTP/1.1 401 Access Denied in /usr/local/apache2/htdocs/iv_stage_fritz/try.php on line 8
i dont know what is with the access denied... i have to make sure first that this is not with the configuration before i ask the sysad...
pls help.