Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1812 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

need help to extract a javascript feature from site.

Thread title: need help to extract a javascript feature from site.
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
11-02-2005, 10:00 AM
#1
hmc is offline hmc
Status: I'm new around here
Join date: Nov 2005
Location:
Expertise:
Software:
 
Posts: 7
iTrader: 0 / 0%
 

hmc is on a distinguished road

  Old  need help to extract a javascript feature from site.

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.

     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed