CodeIgniter Forums
Data from forms with enctype="multipart/form-data" not reaching controller - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Data from forms with enctype="multipart/form-data" not reaching controller (/showthread.php?tid=66443)



Data from forms with enctype="multipart/form-data" not reaching controller - k3.jignesh - 10-22-2016

I have made an application using codeigniter, and everything was working fine few day ago. But suddenly, yesterday, when I ran the application, I am getting error, when I am submitting data from the forms which contain enctype="multipart/form-data". Null data is received at the controller. When I remove enctype, than everything goes fine, but due to image upload, I have to keep enctype in some form tags. I checked the HTTP request using Telerik Fiddler 2, and the found that form is successfully submitting data in request, but that data is not reaching controller.  What should be the issue?


RE: Data from forms with enctype="multipart/form-data" not reaching controller - d4jk4 - 10-23-2016

var_dump($_FILES)
var_dump($_POST)

for each case, and post output here, bro