Connecting Tech Pros Worldwide Help | Site Map

How to Print Status during the MultipleFile Upload Operation in PhP

Member
 
Join Date: Sep 2006
Location: Chennai, INDIA
Posts: 46
#1: Oct 18 '06
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@gmail.com
Newbie
 
Join Date: Oct 2006
Location: Beside my computer :)
Posts: 13
#2: Oct 19 '06

re: How to Print Status during the MultipleFile Upload Operation in PhP


JavaScript helps you.
As very basic example:
<html>
<script>
function showIt(id) {document.getElementById(id).style.visibility="vis ible"}
function hideIt(id) {document.getElementById(id).style.visibility="hid den"}
</script>

<body>
<div id="div1" style="visibility:hidden; position:absolute; 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>
Reply