⚲
Project
General
Profile
Sign in
Register
Home
Projects
Donate
Help
Search
:
Lighttpd
All Projects
Lighttpd
Overview
Activity
Roadmap
Issues
News
Wiki
Forums
Repository
Blog
Developer Blog
Download (1.23 KB)
Docs ModUploadProgress
» upload.html
example 1 - upload.html -
stbuehler
, 2009-02-17 09:50
<html><head><title>
Upload
</title>
<script
type=
"text/javascript"
>
function
onClickVerify
()
{
parent
.
upfname
=
document
.
getElementById
(
'
userfile
'
).
value
;
if
(
parent
.
upfname
==
''
)
{
alert
(
'
No file given
'
);
return
false
;
}
else
{
document
.
uploadform
.
submit
();
up
=
document
.
getElementById
(
'
upload
'
);
if
(
up
)
{
up
.
style
.
visibility
=
'
hidden
'
;
up
.
width
=
0
;
up
.
height
=
0
;
}
stat
=
document
.
getElementById
(
'
status
'
);
if
(
stat
)
{
stat
.
innerHTML
=
'
Please wait until browser is ready...
'
;
}
parent
.
startStatus
();
}
}
</script></head><body>
<div
style=
"font-family: Verdana,helvetica,arial,sans-serif; font-size: 12px;"
id=
"upload"
>
<form
name=
"uploadform"
id=
"uploadform"
action=
"upload.php/{TRACKING_ID}"
enctype=
"multipart/form-data"
method=
"post"
>
<fieldset>
<legend>
Choose file to upload
</legend>
<input
id=
"userfile"
label=
"userfile"
name=
"userfile"
type=
"file"
>
<input
value=
"Upload"
onclick=
"onClickVerify();"
type=
"button"
><br>
</fieldset>
</form>
</div>
<div
id=
"status"
>
</div>
</body></html>
« Previous
1
2
3
Next »
(3-3/3)
Loading...