Welcome Guest, Not a member yet? Register   Sign In
POST the simple way too difficult to understand
#1

[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?
#2

[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
#3

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




Theme © iAndrew 2016 - Forum software by © MyBB