In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Randal L. Schwartz) writes:
>>>>>> "Martin" == Martin Lomas <[EMAIL PROTECTED]> writes:
>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.

Um, there are some more complicated solutions that are server-side and
sample Perl implementations as well.  I believe you can find them
documented at

        http://www.stonehenge.com/merlyn/LinuxMag/col39.html
        http://www.stonehenge.com/merlyn/WebTechniques/col20.html

:-)

-- 
Peter Scott
http://www.perldebugged.com

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

Reply via email to