Hi guys,
I'm writing an uploadscript in PHP. Now when uploading a large file, sometimes it's nice to know how far along you are in your upload.
A technique to know that would be to have an AJAX script check the filesize on the server of the uploading file to compare it to the total filesize in the uploading process.
My problem now is to determine the original filesize of a file on a pc.
I'd probably need a javascript for that but I'm not sure if js has access rights for that on a pc.
Anyone got a solution?
thanks
Upload Progress
Started by dotbart, Sep 21 2007 09:08 AM
5 replies to this topic
#1
Posted 21 September 2007 - 09:08 AM
#2
Posted 21 September 2007 - 10:24 AM
http://www.php.net/file-upload
that's where i would look and have used for file uploads. I have never done the progress indicator though.
that's where i would look and have used for file uploads. I have never done the progress indicator though.
#5
Posted 22 September 2007 - 12:21 AM
You can't access the original file through JS. That sort of operation is not permited... flash on the other hand... who knows?
Edited by rc69, 22 September 2007 - 12:22 AM.
#6
Posted 22 September 2007 - 05:14 AM
Allright, I'll give it a go in flash.
Thanks guys
Thanks guys
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
