Getting parameter values from a url |
[eluser]mulama77[/eluser]
How can i edit the code below such that when i send the request http://localhost/myapi/oauth/authorise?r...pi/welcome am able to print out the oauth parameter values. Code: class Oauth extends CI_Controller {
[eluser]TheFuzzy0ne[/eluser]
Please surround your code with [code]code tags[/code]. It makes your code easier to read. Code: class Oauth extends CI_Controller { If this isn't what you're after, then I'll need more details. Where are you wanting to "print out" these values? What format are you wanting them to be in?
[eluser]mulama77[/eluser]
The print out format i can manage. Am testing the above code in my browser hence i just need to see the output in my browser. My main problem is that session part i.e Code: $params['client_id'] = Session::get('client_id'); Code: $params['client_id'] = $this->get('client_id'); Code: public function action_authorise() Code: public function authorise_get() i need to be able to print out values send on the url so as to know that the initial code posted works with the presence of the session in the code before implementing it in my API
[eluser]Unknown[/eluser]
hi the development and programming are the two different things but not so much different in development we have to develop the ideas that what we have to do using programming and in the programming part we have to coding and make the program . mpcalling.com thanks
[eluser]mulama77[/eluser]
Which php framework is known to implement codes like Code: Session:: Code: $params['client_id'] = Session::get('client_id'); Code: public function action_authorise() Code: public function authorise_get() because in need to know which framework has been used in the development of this tutorial http://alexbilbie.com/2013/02/developing...on-server/
|
Welcome Guest, Not a member yet? Register Sign In |