forms - Why I Got Forbidden error when I pass the image as a post data in codeigniter / php?

<form id="form1" action="url" method="post" enctype="multipart/form-data">
This is my form and there is subject (text) field and Description (Ckeditor textarea) field in my form.
Now when I save the form with simple text in Description then it is saving the form correctly. But when I add the Image in Description then it will directly give the
Forbidden error
You don't have permission to access "url_here" on this server.
Is there anything missing. ?
PS : It was working fine with my older server. I have migrated to CentOs Server now and it is not working. The codebase and database is same.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: filter_sanitize_string deprecated
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.