[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...
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