![]() |
why is post data not present - 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: why is post data not present (/showthread.php?tid=53333) |
why is post data not present - El Forum - 07-19-2012 [eluser]codeigniterzzz[/eluser] Here is the view file: Code: <form action = "http://yoinko.com/locker_settingstwo/processform" method = "POST"> and here is the controller/method that receives the form's post. Code: function processform() now why is it printing GET instead of POST??? because clearly the form is posting...I have no idea why this is happening, and any help suggestions would be appreciated...thanks. why is post data not present - El Forum - 07-19-2012 [eluser]InsiteFX[/eluser] Code: function processform() why is post data not present - El Forum - 07-19-2012 [eluser]codeigniterzzz[/eluser] it prints bool(false). so what does that mean. why is post data not present - El Forum - 07-19-2012 [eluser]InsiteFX[/eluser] It means your not getting any post data back. Try this one Code: function processform() why is post data not present - El Forum - 07-19-2012 [eluser]codeigniterzzz[/eluser] EXACTLY...but why is that since I'm clearly posting... why is post data not present - El Forum - 07-19-2012 [eluser]InsiteFX[/eluser] It may be pointing to the wrong url double check your url. Try the one above I just added. why is post data not present - El Forum - 07-19-2012 [eluser]codeigniterzzz[/eluser] prints bool(false) why is post data not present - El Forum - 07-19-2012 [eluser]InsiteFX[/eluser] What is your base_url set to in ./application/config/config.php why is post data not present - El Forum - 07-19-2012 [eluser]codeigniterzzz[/eluser] and if its the wrong url, then it would say 404 not found or redirect to different existing page...but it clearly pointing to right url because its printing the variable dump... why is post data not present - El Forum - 07-19-2012 [eluser]codeigniterzzz[/eluser] its empty, ''. but i know its redirecting to right url because its printing the var dump and if you inspect in chrome it shows the right url.. |