I've got a script that processes an arbitrary number of jpg files in a directory, writes thumbnail versions to a 'thumbs' directory, adds data about the images to the database, and then, at the end, spits out all the little comments it was making as it did the processing. I'm having two problems:
If I process more than, say, 12 images at once, the WHILE loop seems to just quit halfway through and the script stops running. It successfully processes and databases the first 12, but any other files in the directory are left unprocessed. ??
Is there a way to show incremental comments during the process, instead of having to wait for the whole thing to end before giving the user any feedback... at the very least, having it say something like "Processing..." would be nice. Right now, you hit SUBMIT on the previous page, and then you get a blank screen until the whole thing is done...very unnerving.