Skip to content

Instantly share code, notes, and snippets.

@stenehall
Created May 20, 2011 12:13
Show Gist options
  • Save stenehall/982794 to your computer and use it in GitHub Desktop.
Save stenehall/982794 to your computer and use it in GitHub Desktop.
public function action_hash($hash)
{
Request::factory('application/index/?invite=a156cd8a95b52422032820f830db8fab')
->execute()
->send_headers()
->body();
die();
}
public function action_index()
{
var_dump($this->request);
var_dump($_GET);
die();
}
------------
result for var_dump($this->request):
------------
object(Request)[19]
....
protected '_method' => string 'GET' (length=3)
....
protected '_get' =>
array
'invite' => string 'a156cd8a95b52422032820f830db8fab' (length=32)
.....
------------
result for var_dump($_GET):
------------
array
empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment