Status Bar
Moderator: General Moderators
Status Bar
Is it possible to code in php a status bar which shows how much percentage of a file has been uploaded (graphically)???
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
I assume you mean uploading from a client to the server using multipart form data. If so, there is no way. In order to do that, you'd have to know the size of the file to accurately display a 'status bar'. There is a way to snatch the size of the file in IE but it presents a security risk and would prompt the user to 'allow' the browser to check (not something you want).
If you're talking about uploading a file from the server to another server (via ftp or the like), then yes it can be done and I've done just that and could help you with it if need be.
If you're talking about uploading a file from the server to another server (via ftp or the like), then yes it can be done and I've done just that and could help you with it if need be.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
We had this discussion a while back... interesting:
viewtopic.php?t=40180&highlight=upload+progress
But ou'll need to be able to install an extension to PHP to use any of it....
viewtopic.php?t=40180&highlight=upload+progress
But ou'll need to be able to install an extension to PHP to use any of it....