Re: Unknown error with imagecreatefromjpeg() on specific GD/PHP versions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>    If your code is an accurate representation, and not just an
> example to demonstrate the function source in action, then that's your
> problem (which I doubt, of course), as you're specifically calling the
> value of $_GET['i'] to determine which static image to display.  Also,
> you use $_GET['i'] == w.  Since 'w' is not a constant, it will revert
> to using the literal w, but that's not such great form there, Spanky.
> ;-P

I'm a sys admin, not a php developer. So I hacked up just enough code to demonstrate how the function was failing.
> 
>    Is the image loaded from the local filesystem directly, or is it
> using an HTTP or other over-the-wire call?  If it's not local, check
> to ensure that you have the URL fopen option enabled.

They're both local. The next poster in the this thread answered this for me anyways.

Jeff.

> 
> -- 
> </Daniel P. Brown>
> daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx
> http://www.parasane.net/ || http://www.pilotpig.net/
> We now offer SAME-DAY SETUP on a new line of servers!
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux