Ajax/Flash file uploads with a progress bar? - php

I'm looking for a simple solution that will be:
Easy to integrate
Allow multiple file uploads
Show a progress bar while the file is being uploaded
Any ideas?
I've tried Swfupload and its a real pain to integrate.

Fancy Upload
No contest.
Requires Mootools. Easy to setup, very very powerful. Small.
Lots of goodness.

I've personally had good luck with a script called uploadify (It's jQuery based). It allows for multiple uploads, looks good and is very easy to integrate into any web application.
There's also another method for doing this which is server side based. You can either use the so called "secret feature" from the apc extension or a PECL extension called Upload Progress

I haven't tried it but aparently this is the same thing but easier
http://blogs.bigfish.tv/adam/2009/06/14/swfupload-jquery-plugin/

Related

How to upload files using Ajax and Codeigniter without having Flash support?

I have tried to many javascript plugins but finally had to post this question. Which is the best way to upload files using PHP CodeIgniter framework & Ajax ?
I use Plupload for everything now. Because it is mostly client side driven it runs on any almost any webbrowser and platform(.net,php,etc)
It uses clever ways of detecting browser compatibility; It tries to inject Flash objects or silverlight into the client to allow for functionality such as chunked uploads allowing for uploads greater than 2gb, with speed(kb/s), queue management, etc.
This is truly an amazing uploader.. but it is so under exposed that it took me years to find this. And now my sites (with a bit of perfectionist work) look like Google or Facebook styled uploaders.. FOR FREE!
I've used http://valums.com/ajax-upload/ with great success in a web app. That was over a year ago, though. I used Kohana, not CI, but it's really agnostic on that matter.
ajax does not natively support file uploads. you can achieve this by submitting a form to an iframe and reading the response. there are many plugins available which serves the functionality in an organized way.
use this one :
http://www.phpletter.com/Demo/Tinymce-Ajax-File-Manager/ ;)

Simplest PHP Upload Progress Bar

I have been looking for AGES trying to find a progress bar i can easily integrate without having to downloads libraries like APC etc.
Does anyone know a really simple PHP progress bar i can integrate with ease into my current code?
Massive Thanks!!!
First of all, You need to search inside JS plug-ins not PHP. That's why you did't find anything: there is no "progress-bar for PHP".
Instead, there are bunch of free jQuery (especially Ajax based) upload plugins. Here are some of them
http://www.uploadify.com/
http://valums.com/ajax-upload/
http://blueimp.github.com/jQuery-File-Upload/
If you want to have a true (server side) progress bar, you will have to install the libraries you mentioned.
You can however fake it, if the client knows how large the file is and how much it has transferred already.
Plupload is one with multiple engines (HTML5, Flash, Silverlight etc.) and is being integrated via jquery
This would be one http://pixeline.be/experiments/jqUploader/test.php
Check this out:
http://valums.com/ajax-upload/
It doesn't require APC or any other external PHP libraries and you can get file progress feedback on a shared host.

Multiple HTTP File Uploads

I'm looking for a tool to facilitate mulitple webpage file uploads from a single file browse dialogue. I know this has been asked previously, but I can't find anything current.
I'd like to check file size prior to upload, and I gather Flash is still the only way to do that cross-browser?
Ideally, I'd like an upload progress metre. I'll be using Linux and Apache servers, but don't have access to install add-ons such as PHP APC. Again, I assume something flash-based is the only option there?
I've looked at SWFUpload, but that appears to be another of these projects where the developers have become quite zealous and turned a simple concept into a full suite of tools for the masses. It seems quite cumbersome and I don't think I want to use it for my purpose.
I'd prefer not to have to write something from scratch for this. Could someone recommend me something or perhaps suggest a non-Flash alternative if there is one? I do need full cross-browser compatibility without too many layers of degradation, so anything HTML 5 probably isn't what I want.
Thanks
As I mentioned earlier today ( Multiple file upload (client side) )
I am a big fan of Plupload which can check file size, show progress bar, single dialog for multiple files, and supports things other than Flash if needed.

How to Integrate Uber Uploader in PHP project in windows server?

i ahave a form in which i need to upload the files of 50 mb, for which I want to use Uber uploader as it supports upload more than 10mb , but I am unaware of how to integrate the uber uploader in my project.. I am new to this and PECL and APC things used in project, I also cam to know that it needs linux server, which my client dont have he uses windows server..
please guideme to integrate the uber uploader into my php project...
Does it really need to be that particular product? It looks pretty complicated to set up from what I can see, and setting up APC and a Linux server just to have a upload progress bar sounds a bit over the top.
Is using a Flash-based uploader like SWFUpload an option at all? I don't know how it behaves for uploads that big but I expect it should work fine. Will be easy enough to find out.
If you want to stick with Uber Uploader, however, the INSTALL_AND_FAQ.HTML file in the download package should give you some first guidance.

Most reliable method for uploading files in PHP w/ progress bar

I am interested in finding the most reliable method for uploading files in PHP. I need a progress bar with the upload.
I have tried SWFUpload but it randomly issues an I/O Error. Even if the same file is uploaded sometimes there is an error and sometimes there is not. I have configured all the necessary INI/Mysql/Apache directives to accept large file uploads.
So, I am looking for alternatives as a Flash based solution has not worked. Would Java be more reliable? I have also looked into PHP with APC.
I definitely cannot afford these random errors, so any help on reliable software / suggestions on how to minimize them would be appreciated.
Thank you.
There are other flash based solutions other than SWFupload. Have a look at uploadify.com
I haven't come around to try this myself yet but http://www.plupload.com/ might be what you're looking for on. But otherwise PHP + APC works good as well.
I am assuming 2 things here:
1) Some kind of client will be doing the file upload
2) You get some kind of say on what the client installs on their computer to help make this happen.
If this is the case, my first suggestion would be:
Give them FTP or SFTP client software to upload files. The php page you make can have a link to Filezilla, along with instructions on how to use it. ftp and sftp are THE protocols to use for transferring files. HTTP is just not designed(well) for it, nor are browsers.

Categories