>>>>> "Martin" == Martin Lomas <[EMAIL PROTECTED]> writes:

Martin> Hello All,
Martin> I'm so glad to have found this list! I've searched all over about the 
following with no luck:

Maybe if you were even luckier, you would have found the
perl-beginners-cgi list instead.

Martin> I'm writing a simple file upload script. I have all the form
Martin> and file handling stuff done. I want the script to write an
Martin> HTML message to the user browser before the upload begins, you
Martin> know, like "Upload in progress". Then when the upload
Martin> completes, I want to replace that screen with "Upload
Martin> complete".

This is not a Perl question.  This is a web question, because the
answer doesn't depend on the technology.

In short, what you are trying to do is not possible without some
browser-side scripting (Java, JavaScript, etc), and thus is not
portable or usable on the *world* wide web.

Without relying on non-portable code, at best, you can respond to the
form-submission that is carrying the file-upload field with an HTML
response page that says "Upload complete".  That's it.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to