Created
May 20, 2011 12:13
-
-
Save stenehall/982794 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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