PHP and GD trouble
Hello all im gettint my head into wall , now
On Fedora Core 5, php 5 with php-gd 5.1.6 $url="http://www.something.com/image.jpg"; i'm using $im = createimagefromjpeg($url); but the source image cannot be accessed thorough $url, but if i change the $url="local/image.jpg"; it works fine !!! In php.ini allow_url_fopen is ON .. Any ideas ??? thx |
Hi
No idea what can be wrong. But here are some things to check: - Did you restart the web-server after changing php.ini? - The link does in fact return a Jpeg? The link you posted does not :) - Do you get any error message? If not, is error reporting turned on? See http://www.php.net/error_reporting |
All times are GMT -5. The time now is 06:40 AM. |