Re: imagecreatefromjpeg() uses too much memory



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...
.



Relevant Pages

  • imagecreatefromjpeg() uses too much memory
    ... I'm making a function for uploading and resizing images to my web ... memory_limit is set to 16M so when uploading larger images ... the script crashes. ... so that no settings can be changed in the php.ini, and they wont change ...
    (alt.php)
  • Re: recording sirius stream
    ... good AUD up before dawn!!! ... my brother ken is taping the whole weekend, and is uploading after ... ever set at a hotel. ...
    (rec.music.phish)
  • Re: recording sirius stream
    ... my brother ken is taping the whole weekend, and is uploading after ... ever set at a hotel. ... I was kinda wondering for tommorrow...want to have  the musical costume ...
    (rec.music.phish)