Welcome Guest, Not a member yet? Register   Sign In
Data from forms with enctype="multipart/form-data" not reaching controller
#1

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?
Reply
#2

var_dump($_FILES)
var_dump($_POST)

for each case, and post output here, bro
Reply




Theme © iAndrew 2016 - Forum software by © MyBB