Welcome Guest, Not a member yet? Register   Sign In
$this->input->post('do') failed
#6

[eluser]OwanH[/eluser]
Quote:And i debugged the post array with
Quote:print_r($_POST);
but the return value was null… Sad

Hmm, the fact that the print_r function returned a value of null means that the $_POST array is not being created by PHP interpreter when you submit the form. Try:

1. Checking the rendered form, meaning the HTML form code that the browser loads when loading the form, and make sure that the method="post" attribute is set.

2. Creating a very simple page with a single form, couple of fields, upload it to your server, fill it out, submit it to a simple PHP script that just dumps the $_POST array data to see if it's empty or not. Do NOT use the CI framework for this, just straight native PHP. This will identify if this is a server issue. If not then I really don't know what else I could advise.


Messages In This Thread
$this->input->post('do') failed - by El Forum - 12-13-2008, 07:31 AM
$this->input->post('do') failed - by El Forum - 12-13-2008, 09:26 PM
$this->input->post('do') failed - by El Forum - 12-14-2008, 07:53 AM
$this->input->post('do') failed - by El Forum - 12-14-2008, 06:32 PM
$this->input->post('do') failed - by El Forum - 12-15-2008, 10:58 AM
$this->input->post('do') failed - by El Forum - 12-15-2008, 12:06 PM
$this->input->post('do') failed - by El Forum - 12-15-2008, 01:23 PM
$this->input->post('do') failed - by El Forum - 12-15-2008, 01:43 PM
$this->input->post('do') failed - by El Forum - 12-15-2008, 01:45 PM
$this->input->post('do') failed - by El Forum - 12-31-2008, 12:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB