Hi Everybody,
I'm posting this after 10 hours of trial and error, hope someone has an idea...
What I'm trying to do is make thumbs out of numerous images, and it works for a small number of images (a few) but for anything more max_execution_time is exceeded (and i cannot edit php.ini on this host).
Here's how it basically looks:
$result = $mysqli->query("SELECT image_filename FROM my_table");
while ($row = $result->fetch_assoc())
{
[I]here is simply a call to the class that makes thumbs,
it's http://phpthumb.gxdlabs.com/ if anyone familiar - and I recommend you
check it out if you need easy image handling, you might find it very useful[/I]
echo 'one more thumb is made';
}
echo 'success';
Now, the way I see it, this should keep writing 'one more thumb is made' while the process lasts, and give me 'success' message at the end.
But instead, there's no change on screen until the process is completely through, and when it is, I get...
1) If i feed it with few images, say 3, I'd get
one more thumb is made
one more thumb is made
one more thumb is made
success
2) if i feed it with 100-200 images, I'd get (after a lot of waiting)
one more thumb is made
one more thumb is made
one more thumb is made
and 2 errors
HTTP request failed and
max_execution_time (60sec)exceeded.
Again, i have no access to php.ini here.
Thanks a lot for reading through, any solutions?