Post Problems. |
[eluser]PHP Creative[/eluser]
Hi everyone. I was wondering if someone could help me at all. For some reason CI does not like the following input Code: <form action="http://www.example.com/submit" method="post"> When I press submit a 404 error is displayed. Quote:404 Page Not Found However the following works.... Code: <input type="hidden" name="DATA1" value="XACARS|1.0&BEGINFLIGHT;&bharb;||XAC1001|B737||EDDP" /> I've spent the last 2 days trying to figure this out. Could it be something to do with the .htaccess file. Could it be allowed characters? I would appreciate it if anybody could help as I'm complete lost.
[eluser]Dennis Rasmussen[/eluser]
Does the page exist? I don't assume you're actually using http://www.example.com/submit as your action ![]()
[eluser]PHP Creative[/eluser]
Hi Thanks for the reply The page does exists. It simply consists of the following to echo what has been input <<FORM>>> Code: <form action="http://www.example.com/submit" method="post"> <<CONTROLLER>> Code: class Submit extends Controller { Why does CI not like that input and redirect to a 404 page. Whenever I enter the following it works perfectly Quote:XACARS|1.0&BEGINFLIGHT;&bharb;||XAC1001|B737||EDDP~TADUV~Z21~OMELO~L620~KOMUR~M725~VLM~T46~ASTUT~LOWW|N486.59752 E1634.9286|602||||155|120|20605|29|IFR|0|keines Just not with this Quote:XACARS|1.0&BEGINFLIGHT;&bharb;||XAC1001| B737||EDDP~TADUV~Z21~OMELO~L620~KOMUR~M725~VLM~T46~ASTUT~LOWW|N486.59752 E1634.9286|602||||155|120|20605|29|IFR|0|keines Is it because of the space before B737? Does CI not like spaces in inputs? Is that a space? Thanks a million |
Welcome Guest, Not a member yet? Register Sign In |