CodeIgniter Forums
POST the simple way too difficult to understand - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: POST the simple way too difficult to understand (/showthread.php?tid=60153)



POST the simple way too difficult to understand - El Forum - 01-26-2014

[eluser]ruiganga[/eluser]
Hi

I am not getting one thing that should be really easy.

I have a URL like site.com/api/[email protected]&pass=password

When I do this in the function:

Code:
print_r($_POST);

I get nothing Sad

I've tried

Code:
print_r($this->input->post());

And nothing also.

Am I missing some configuration?

Any tip for me?


POST the simple way too difficult to understand - El Forum - 01-26-2014

[eluser]Bart v B[/eluser]
That is simple.
You are not posting but have a get request.

Code:
<?php
print_r($_GET);
?>

Show us the form please, so we can help you. Wink


POST the simple way too difficult to understand - El Forum - 01-26-2014

[eluser]ruiganga[/eluser]
Oh yes. I'm feeling so dumb right know. I guess I've gotten a dyslexic episode. Thanks for clarify my thoughts. I'll beat myself for this.