Name: mainegate Date: August 28, 2007 at 06:56:04 Pacific Subject: PHP Progress Bar???? OS: xp CPU/Ram: 1gig Model/Manufacturer: compaq
Comment:
I'm having someone develop a site for me and they said it is not possible to have a progress bar with PHP. Is that true??? He said he could write it in another language but it would be less secure.
Its a site that is using Joomla! and people login to upload files...when they click upload I want there to be a progess bar so people can see the file is actually uploading and not hung up. I want it to check to see if the file is the same exact file on the computer as the server.
I really want a progress bar because I upload very large files...is a progress bar possible in PHP and is there somewhere I can point my developer to?
You can look at this from PHP.NET, but apperently it requires PHP 5.2 or newer.
EDIT: I'm not sure if you're required to use a new window for the progress bar, or if you can just get away with an <iframe>. It's not really something I've looked into, and it'd largely depend on the browser used. If it worked, you'd at least know your progress bar wouldn't be blocked.
hmm, well you could design a progress gif at http://www.ajaxload.info/ and call this gif in the php code in the upload part of the code. Or use some Ajax to produce the gif when uploading.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE