![]() |
Script works and does what I want, but timeouts
hello everyone.
I'm trying to find out what do have to do in my script in order to have it end quietly and not take forever to timeout? The script currently grabs a web image and resizing it down to a gif. The end result will be that I call the test.php script from and html and have it display the newly resized image on the html file. If someone could help in both that would be great! Thanks, j4v1 PHP Code:
|
For one thing, you're creating $source twice. And you may be able to forgo the imagealphablending() in favour of just using imagecopyresampled(). Try this after your switch statement?
PHP Code:
-m |
| All times are GMT. The time now is 10:58 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0