There is a site where I`m trying to get it
http://www.megaupload.com - just try to upload a simple txt file to see this this "upload process bar".
I`m trying to extract a javascript which showing this "upload process bar" while you upload a file to site/server.But it`s wount to work for me.
There is a another example of similar "upload process bar"
http://jspupload.sourceforge.net
but I dunno how to make it run in my upload form.
form I use:
(its a simple 2 php & html files):
html file(upload.html):
HTML Code:
<FORM METHOD="POST" ENCTYPE="multipart/form-data" action="uploader.php">
<INPUT TYPE="file" NAME="file">
<input type="submit" name="submit" value="upload">
</form>
php file(uploader.php):
PHP Code:
<?php
if($file_name !="")
{
copy ("$file", "/html/upload/$file_name")
or die("Could not copy file");
}
else { die("No file specified"); }
?>
<html>
<body><h3>File upload succeeded...</h3>
<ul>
<li>Sent: <?php echo "$file_name"; ?>
<li>Size: <?php echo "$file_size"; ?> bytes
<li>Type: <?php echo "$file_type"; ?>
</ul>
<a href="<?php echo "$file_name" ?>">
Click here to view file</a>
</body></html>
Guys, please help to insert megaupload based "upload bar" javascript or
http://jspupload.sourceforge.net based to my upload page.