28, May 2012

How to i monitor amount of upload using PHP? - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: How to i monitor amount of upload using PHP?
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: How to i monitor amount of upload using PHP?  (Read 1004 times)
Google dot what?
*
Posts: 2
16 credits
Members referred : 0


« on: Nov 24, 2007, 10:45:06 am »

hi,
I have written a script that uses PHP FTP to upload files from users to our web server. However the problem is that I Want to show what percentage of file has been uploaded? Please tell me how do i do this using PHP? I have read somewhere that this is not possible using PHP? Is this true? Experts please give your suggestions!!

Cheers!!
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Nov 24, 2007, 05:57:44 pm »

you can't because the php upload is 100% serverside.

the only way I know is using java


Google dot what?
*
Posts: 2
16 credits
Members referred : 0


« Reply #2 on: Nov 24, 2007, 08:50:46 pm »

hmm....so that means i got to create a applet is it?? I just read somewhere that it is possible using php_perl...is it true??
Community Supporter ?
Hunky Junky Monky Man!
**
Gender: Male
Posts: 68
436 credits
Members referred : 0


Schwa?


« Reply #3 on: Jan 03, 2008, 01:55:49 am »

The best I could suggest would be to do a filestat on your FTP file, determine the size and then know the speed of your connection from server to ftp, and do a time based %.  Of course, you'd have to put some notes about it being approximate - and be very lenient with your initial calculation. 

You might also try searching Pear for progress2.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7397
Tags : PHP FTP FTP uploads using PHP Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: How to i monitor amount of upload using PHP?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 08:50:25 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.