7, September 2008

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

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ 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

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


« on: Nov 24, 2007, 11: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: 6309
38674 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Nov 24, 2007, 06:57:44 PM »

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

the only way I know is using java



Last blog : Is your website is down? Know before your visitors do!
Google dot what?
*
Posts: 2
16 credits
Members referred : 0


« Reply #2 on: Nov 24, 2007, 09: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, 02: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....

Topic sponsors:
Get a permanent link here for $1.99!


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?
Sep 07, 2008, 06:14:15 AM





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!


Forum Statistics
Total Posts: 36.301
Total Topics: 7.479
Total Members: 3.904
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: Brandon

26 Guests, 3 Users online :

11 users online today:



Readers

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