CodeIgniter Forums
Strangest post quirk... - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Strangest post quirk... (/showthread.php?tid=56532)



Strangest post quirk... - El Forum - 12-28-2012

[eluser]warpspasm[/eluser]
Hi Everyone,

I'm sure that I have done something weird here, but when I read using $this->input->post('mystring') the following string that was POSTed:

<form target="paypal" acti method="post">

to codeigniter, I get the following:

<form target="paypal" acti method="post">

Can anyone shed some light on what might be truncating the strong so strangely?

Thanks!


Strangest post quirk... - El Forum - 12-28-2012

[eluser]warpspasm[/eluser]
I have noticed that if I remove the opening and closing <'s that it comes out correct:
form target="paypal" acti method="post"


Strangest post quirk... - El Forum - 12-28-2012

[eluser]vitoco[/eluser]
it will be a great if you can post your form code on jsfiddle

http://jsfiddle.net/

and then post the link to see it