Welcome Guest, Not a member yet? Register   Sign In
Post data empty
#1

[eluser]ColBatGuano[/eluser]
All of my post data is empty.

I used a test controller (that I saw here somewhere)....

Code:
<?php
class Test extends CI_Controller {

  function Test()
  {
  parent::__construct();
  }
  
  function index()
  {
    echo ("<FORM action='".site_url()."/test/res' method='post'>
           <INPUT type='TEXT' name='testp'><input type='submit'></FORM>");
  }
  
  function res()
  {
    print_r($_POST);
  }
}
?>

and I get the output...

Code:
Array ( )

Running MAMP. I've also used

Code:
$this->output->enable_profiler(TRUE);

and this confirms that "No POST data exists". I don't know how to even go about debugging this! :-(


Any ideas?

thanks


Messages In This Thread
Post data empty - by El Forum - 10-16-2012, 10:29 PM
Post data empty - by El Forum - 10-16-2012, 11:17 PM
Post data empty - by El Forum - 10-16-2012, 11:29 PM
Post data empty - by El Forum - 10-16-2012, 11:40 PM
Post data empty - by El Forum - 10-17-2012, 12:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB