Empty post data when insert % or `in the html form |
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 ?
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?
Hey, don't work without a PHP debugger. Several free IDEs have this features built in. Two are NetBeans and CodeLobster. Without a debugger, it's like you're driving with a blindfold on -- you are going to crash!
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 !
(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 ! |
Welcome Guest, Not a member yet? Register Sign In |