Re: Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

From: Date: Fri, 25 Jan 2008 18:34:22 +0000
Subject: Re: Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-268123@lists.php.net to get a copy of this message
On Fri, January 25, 2008 2:43 am, Emil Edeholt wrote: > I have a website where people can upload photos and it creates > previews. > My problem is with pictures with big dimensions like 12000px height > for > example where the script times out. I've seen other sites that seems > do > be able to do this faster. I use gd to scale the image. Is there a > faster way of doing it? Is ImageMagick better for example? Create the preview ONCE in a cron job after the upload and save it as a file. PHP itself is not timing out here -- the browser is. Time spent in the guts of GD doesn't "count" for PHP time_limit. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So?

« previous php.general (#268123) next »