Welcome Guest, Not a member yet? Register   Sign In
Reading a cURL post request.
#2

[eluser]Jeremy Gimbel - Conflux Group[/eluser]
That's exactly what it should be doing. Smile

You see, CodeIgniter clears out the $_GET and $_POST arrays after it gathers the values and sanitizes them.

It's part of it's beauty. The $_POST array is available to you to use through the Input Class in the User Guide.

Try:
Code:
$this->input->post('fieldname');

You'll find it works quite nicely. You can simply check against that to see if a value's been sent. No need to check for value and ISSET(), as the class does that for you.

Good luck with you project!


Messages In This Thread
Reading a cURL post request. - by El Forum - 11-30-2009, 04:53 PM
Reading a cURL post request. - by El Forum - 11-30-2009, 06:17 PM
Reading a cURL post request. - by El Forum - 12-01-2009, 03:25 AM
Reading a cURL post request. - by El Forum - 12-01-2009, 04:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB