Reply to Re: PHP dies when you use imagecreatefromjpeg()

Your name:

Reply:


Posted by comp.lang.php on 04/10/06 19:07

Oli Filth wrote:
> comp.lang.php said the following on 10/04/2006 16:51:
> > Erwin Moller wrote:
>
> >> In both cases, make sure you have errorreporting on, to E_ALL & E_STRICT
> >>
> >
> > Sorry I did all of that, including putting the line
> > error_reporting(E_ALL & E_STRICT) right before the
> > imagecreatefromjpeg() functional command, to no avail.
>
> Ah well you don't want to do that. (E_ALL & E_STRICT) == 0, which
> results in no errors reported at all.
>
> You want (E_ALL | E_STRICT).
>
>

Thanx, however, that reported nothing either. I might have fixed it,
because in /var/log/httpd Apache logged the error that PHP apparently
could not.

It seems to be a memory limit error; the image was too big to load into
imagecreatefromjpeg()

Phil

> --
> Oli

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация