Empty post data when insert % or `in the html form - 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: Empty post data when insert % or `in the html form (/showthread.php?tid=64435) |
Empty post data when insert % or `in the html form - tiana russell - 02-19-2016 Hi , i really need help with my website built with codeinigter 1/ i have an html form , methode="post" with a textarea 2/ the problem is that, when the text that i put in the textarea contains % or ` , the post data is empty when i check it in the controller var-dump($_POST) ----> array(0) { } and $this->input->post is NULL 3/ in my local computer it doesn't do that error , even i when i copy and paste the text from word but it's online the problem , when i put % or ` in the textarea , post data is always empty 4/ i think that codeinigter does something in background ( security or something else ... ) i really don't know could you help me on this problem please ? RE: Empty post data when insert % or `in the html form - RobertSF - 02-19-2016 I did some internet research but only found a suggestion that it might be an Apache security feature, however, that would apply to textboxes as well, and you say it only happens in textareas? RE: Empty post data when insert % or `in the html form - tiana russell - 02-21-2016 Hi, thank you for your answer ! You are right ! the <input type="text" > are also concerned , when i put % inside one of them , it also create the error ! So you say it's about security ! ok , thank you , i'll make a research in this way ! RE: Empty post data when insert % or `in the html form - tiana russell - 02-21-2016 (02-19-2016, 03:08 PM)RobertSF Wrote: I did some internet research but only found a suggestion that it might be an Apache security feature, however, that would apply to textboxes as well, and you say it only happens in textareas? really thank you RobertSF , yes it was a problem of apache security ! really thank you ! the problem is solved ! |