You are here: Re: imagecreatefromjpeg() uses too much memory « All PHP « IT news, forums, messages
Re: imagecreatefromjpeg() uses too much memory

Posted by Johannes Wienke on 09/28/75 11:43

Am 28.03.2006 15:49 schrieb kapten:
> Hi!
>
> I'm making a function for uploading and resizing images to my web
> hotel.
> Problem is, memory_limit is set to 16M so when uploading larger images
> the script crashes.
> [...]
> The line $image = imagecreatefromjpeg($imgarray["tmp_name"]); causes
> the problem.
>
> Do any of you know any other way to solve this problem?

I don't think there is any other solution than changing the memory
limit. Maybe you should change your hoster...

 

Navigation:

[Reply to this 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

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