Hello All, I'm so glad to have found this list! I've searched all over about the following with no luck:
I'm writing a simple file upload script. I have all the form and file handling stuff done. I want the script to write an HTML message to the user browser before the upload begins, you know, like "Upload in progress". Then when the upload completes, I want to replace that screen with "Upload complete". I'm trying simple "print" commands in subroutines to write the HTML out. Depending on things I try, I'm getting: - Both messages are written together AFTER the upload, or - The 1st message is written but not the 2nd, or - Internal Server Error 500. Obviously there's something about writing/updating HTML and program flow that I don't get. Please help! I'll send code if necessary, but surely there's an easy framework for this ... Many thanks in advance, Martin Lomas http://www.musicwomb.org/