hi all,
I have this problem...
I have created a picturealbum. The user can upload about 20 pictures
simultaniously. My album automaticly reduces the image size when too big
(done with GD module).
I have 2 classes Album.class and UploadPicture.class.
the uploadPicture class deals with the reducing stuff. The Album class is
mainly a controller/database insert class (no heavy duty thus). When a user
uploads the images a alum object is created and inside the album object a
uploadpicture object is created. somewhere in the Album class a function
like this is called
for ($i=0;$i<20;^$++)
{
$this->UploadPicture->putPicture()
}
So the images are altered 20 times. This process can take some time cerainly
when the images are somewhat heavy. In fact, sometimes only some images have
been alered. I 'm prity sure that this is caused by the script execution
time limit.
The trick would be to foul php that it is is not 1 task but 20 seperate.
Maybee someone can help me with this?
kind regards
Stijn