How to Print Status during the MultipleFile Upload Operation in PhP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Velhari
    New Member
    • Sep 2006
    • 46

    How to Print Status during the MultipleFile Upload Operation in PhP

    Hi all,
    I Need your help.......
    I developed the code for multiple file upload in PHP.
    In My Program there is [Logic]
    3 File Input type ==> Getting the File Name
    3 iFrame tags ==> Status of File during the upload process
    1 Submit Button==> (Attach Command) Click to proceed the process
    Actually i want to show the status of each and every file when clicking submit button for uploading process.
    Like, Before Uploading it will show "Processing.... " as Status and After Uploaded on to server "Uploaded Successfully" as a status. So, this message will be shown for each and every files.....

    In my program i got only the final message i.e Uploaded Successfully and i am not getting "Processing ..." Message..

    Any one please give me the solution for this.........

    With Regards,
    Velmurugan.H
    velharicse@gmai l.com
  • brid
    New Member
    • Oct 2006
    • 13

    #2
    JavaScript helps you.
    As very basic example:
    <html>
    <script>
    function showIt(id) {document.getEl ementById(id).s tyle.visibility ="visible"}
    function hideIt(id) {document.getEl ementById(id).s tyle.visibility ="hidden"}
    </script>

    <body>
    <div id="div1" style="visibili ty:hidden; position:absolu te; left:0; top:0;">
    <p>Processing.. ...</p>
    </div>
    <div id="div0" style="position :absolute; left:0; top:0;">
    <p>
    <input type="submit" value="Click Me!" onclick="hideIt ('div0'); showIt('div1'); return true;">
    </p>
    </div>
    </body>
    </html>

    Comment

    Working...