CodeIgniter Forums
Upload file using Ajax - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Upload file using Ajax (/thread-65073.html)



Upload file using Ajax - jaimealvarezv - 04-26-2016

Hi, I need yo upload a file using Codeigniter 2.x using Ajax. The only think I need is to select a File and upload it.  someone have an example? remeber using Ajax.

Thanks in advance.


RE: Upload file using Ajax - skunkbad - 04-26-2016

The OLD version of Community Auth had an example of uploading using ajax.

See here: https://bitbucket.org/skunkbad/community-auth-git-version/src/032a2c579cb0089eea44bce3aa6a4b8ce1220fb6/application/controllers/custom_uploader.php?at=master&fileviewer=file-view-default


RE: Upload file using Ajax - spjonez - 04-29-2016

https://cmlenz.github.io/jquery-iframe-transport/