/    Sign up×
Community /Pin to ProfileBookmark

File upload progress bar

I have a file upload page on my site. Can anyone point me in a direction where I can find code to show a progress bar while the file is being uploaded?

I am using php so I know some of the code will need to be in php.

Thanks for any help

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Warren86Nov 18.2004 — Click it to increase progress.

<HTML>

<HEAD>

<Script Language=JavaScript>

var isProgress = 0;

function updateProgress(){

isProgress = isProgress+10;

ProgressBar1.value=isProgress;

}

</Script>

<SCRIPT LANGUAGE="VBScript">

Sub ProgressBar1_Click()

updateProgress()

end sub

</SCRIPT>

</HEAD>

<BODY>

<OBJECT ID="ProgressBar1" WIDTH=123 HEIGHT=20

CLASSID="CLSID:0713E8D2-850A-101B-AFC0-4210102A8DA7">

<PARAM NAME="_ExtentX" VALUE="2646">

<PARAM NAME="_
ExtentY" VALUE="1323">

<PARAM NAME="_Version" VALUE="327682">

<PARAM NAME="Appearance" VALUE="1">

</OBJECT>

</BODY>

</HTML>
×

Success!

Help @tripwater spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...