473,406 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

how to calculate the upload time

omerbutt
638 512MB
hi i need to get the approx upload time for the file , has any one done that before ,google is giving hideous results.any usefull link might help me out
regards,
Omer Aslam.
Sep 15 '10 #1
4 4110
TheServant
1,168 Expert 1GB
Hi Omar,
Have you looked at microtime()?

Here's a random article of how you can use it in measuring code execution time:
http://www.phpjabbers.com/measuring-...ime-php17.html
Sep 15 '10 #2
omerbutt
638 512MB
hi TheServant,
thanks for the reply
i looked into these links bu i am trying to calculate the time for the upload before uploading the file
the client has required that if a file takes more than 5 mins then it should time out
, now i was looking for a way to get the upload time before uploading or saving the file . where as what this solution provides is the time to check the execution time for a specific page or script
regards,
Omer Aslam
Sep 15 '10 #3
TheServant
1,168 Expert 1GB
Still a little unclear...
a way to get the upload time before uploading or saving the file
I think that the upload will depend on server/user traffic, so this would a be a very big estimate.
Your main goal would be to determine current upload speed when requested.

I am sorry, but I really must get to bed, but I found some pages which you may not have seen:
http://www.brandonchecketts.com/open-source-speedtest
http://www.emanueleferonato.com/2006...peed-with-php/
Sep 15 '10 #4
omerbutt
638 512MB
Thanks Brother
sure you go and rest , thanks for the help though, i will be be reading these articles and would reply sooner
reagrds,
Omer Aslam
Sep 15 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: shrishjain | last post by:
Hi All, I want to write a benchmark to calculate the time of each memory access, in my program. Can someone give me an idea how to do that, or may some software which I can use for the same. ...
7
by: Tim Quon | last post by:
Hi Is there any function to get the current time so I can calculate the execution time of my code? What all is in the time.h and sys/times.h? Thanks Tim
4
by: Qwert | last post by:
Hello, I do: Debug.WriteLine("A: " & DateTime.Now.Ticks.ToString) REM Calculate a bunch of stuff. Some loops and math functions. Debug.WriteLine("B: " & DateTime.Now.Ticks.ToString) but...
5
by: cvisal | last post by:
Hi all Im working on productivity calculations (Time calculations) and need some help in coding. Database Tool:MS-Access 2003. The general operator punch-in time is 5:30 AM and the punch-out...
3
by: imrantbd | last post by:
Hi this is Imran, I am facing some problem to track file upload time in a linux hosting. I used filectime / filemtime to track date. But I get the time stamp of locally file creation time.I can...
2
by: Lancelot | last post by:
Hello everyone. This is my first post here, but I've been looking for answer many time. I have a crazy idea in my head and since I am quite a newby to python, I am not sure where to start or if...
2
by: Andy Fish | last post by:
Hi, I am trying to investigate a problem reported by one of my users who received a "System.Web.HttpException: Request timed out." error trying to upload a large file into my asp.net 2.0...
3
by: John Torres | last post by:
how do you calculate total time hours? I have sub total hours for each day and I've been trying to total all the hours. I'm getting odd numbers. Thanks. John
2
by: Guruganesh | last post by:
i have to calculate the time diference of two file names namely File 1: CBE03KMD_2010_03_08_23_06_36.upl File 2: CBE03KMD_2010_03_08_22_11_47.upl see the date is same but the time is also...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.