Skip to content

Instantly share code, notes, and snippets.

@maimai-swap
Created July 20, 2012 01:22
Show Gist options
  • Select an option

  • Save maimai-swap/3148069 to your computer and use it in GitHub Desktop.

Select an option

Save maimai-swap/3148069 to your computer and use it in GitHub Desktop.
lithium Envronment $params['request']
object(lithium\action\Request)#27 (29) {
["url"]=>
string(33) "conversions/download/adid/from/to"
["params"]=>
array(0) {
}
["persist"]=>
array(0) {
}
["data"]=>
array(0) {
}
["query"]=>
array(0) {
}
["_base":protected]=>
string(0) ""
["_env":protected]=>
array(25) {
["DOCUMENT_ROOT"]=>
string(61) "/Users/ishimaru/PhpstormProjects/adcanlweb/public/app/webroot"
["REMOTE_ADDR"]=>
string(9) "127.0.0.1"
["REMOTE_PORT"]=>
string(5) "54915"
["SERVER_SOFTWARE"]=>
string(28) "PHP 5.4.3 Development Server"
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.1"
["SERVER_NAME"]=>
string(7) "0.0.0.0"
["SERVER_PORT"]=>
string(4) "3000"
["REQUEST_URI"]=>
string(34) "/conversions/download/adid/from/to"
["REQUEST_METHOD"]=>
string(3) "GET"
["SCRIPT_NAME"]=>
string(10) "/index.php"
["SCRIPT_FILENAME"]=>
string(71) "/Users/ishimaru/PhpstormProjects/adcanlweb/public/app/webroot/index.php"
["PATH_INFO"]=>
string(34) "/conversions/download/adid/from/to"
["PHP_SELF"]=>
string(44) "/index.php/conversions/download/adid/from/to"
["HTTP_HOST"]=>
string(14) "127.0.0.1:3000"
["HTTP_USER_AGENT"]=>
string(117) "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
["HTTP_ACCEPT"]=>
string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
["HTTP_CACHE_CONTROL"]=>
string(9) "max-age=0"
["HTTP_ACCEPT_LANGUAGE"]=>
string(5) "ja-jp"
["HTTP_ACCEPT_ENCODING"]=>
string(13) "gzip, deflate"
["HTTP_CONNECTION"]=>
string(10) "keep-alive"
["REQUEST_TIME_FLOAT"]=>
float(1342747273.4804)
["REQUEST_TIME"]=>
int(1342747273)
["CONTENT_TYPE"]=>
string(9) "text/html"
["PLATFORM"]=>
NULL
["SERVER_ADDR"]=>
bool(false)
}
["_classes":protected]=>
array(1) {
["media"]=>
string(22) "lithium\net\http\Media"
}
["_stream":protected]=>
NULL
["_detectors":protected]=>
array(10) {
["mobile"]=>
array(2) {
[0]=>
string(15) "HTTP_USER_AGENT"
[1]=>
array(21) {
[0]=>
string(6) "iPhone"
[1]=>
string(4) "MIDP"
[2]=>
string(7) "AvantGo"
[3]=>
string(10) "BlackBerry"
[4]=>
string(4) "J2ME"
[5]=>
string(10) "Opera Mini"
[6]=>
string(6) "DoCoMo"
[7]=>
string(8) "NetFront"
[8]=>
string(5) "Nokia"
[9]=>
string(6) "PalmOS"
[10]=>
string(10) "PalmSource"
[11]=>
string(9) "portalmmm"
[12]=>
string(7) "Plucker"
[13]=>
string(14) "ReqwirelessWeb"
[14]=>
string(4) "iPod"
[15]=>
string(12) "SonyEricsson"
[16]=>
string(7) "Symbian"
[17]=>
string(11) "UP\.Browser"
[18]=>
string(10) "Windows CE"
[19]=>
string(5) "Xiino"
[20]=>
string(7) "Android"
}
}
["ajax"]=>
array(2) {
[0]=>
string(21) "HTTP_X_REQUESTED_WITH"
[1]=>
string(14) "XMLHttpRequest"
}
["flash"]=>
array(2) {
[0]=>
string(15) "HTTP_USER_AGENT"
[1]=>
string(15) "Shockwave Flash"
}
["ssl"]=>
string(5) "HTTPS"
["get"]=>
array(2) {
[0]=>
string(14) "REQUEST_METHOD"
[1]=>
string(3) "GET"
}
["post"]=>
array(2) {
[0]=>
string(14) "REQUEST_METHOD"
[1]=>
string(4) "POST"
}
["put"]=>
array(2) {
[0]=>
string(14) "REQUEST_METHOD"
[1]=>
string(3) "PUT"
}
["delete"]=>
array(2) {
[0]=>
string(14) "REQUEST_METHOD"
[1]=>
string(6) "DELETE"
}
["head"]=>
array(2) {
[0]=>
string(14) "REQUEST_METHOD"
[1]=>
string(4) "HEAD"
}
["options"]=>
array(2) {
[0]=>
string(14) "REQUEST_METHOD"
[1]=>
string(7) "OPTIONS"
}
}
["_autoConfig":protected]=>
array(6) {
["classes"]=>
string(5) "merge"
[0]=>
string(3) "env"
["detectors"]=>
string(5) "merge"
[1]=>
string(4) "base"
[2]=>
string(4) "type"
[3]=>
string(6) "stream"
}
["_acceptContent":protected]=>
array(0) {
}
["_locale":protected]=>
NULL
["auth"]=>
NULL
["method"]=>
string(3) "GET"
["cookies"]=>
array(0) {
}
["protocol"]=>
string(8) "HTTP/1.1"
["version"]=>
string(3) "1.1"
["headers"]=>
array(3) {
["Host"]=>
string(9) "localhost"
["Connection"]=>
string(5) "Close"
["User-Agent"]=>
string(11) "Mozilla/5.0"
}
["_type":protected]=>
string(4) "html"
["scheme"]=>
string(4) "http"
["host"]=>
string(9) "localhost"
["port"]=>
NULL
["path"]=>
string(1) "/"
["username"]=>
NULL
["password"]=>
NULL
["body"]=>
array(0) {
}
["_config":protected]=>
array(16) {
["base"]=>
string(0) ""
["scheme"]=>
string(4) "http"
["host"]=>
string(9) "localhost"
["port"]=>
NULL
["username"]=>
NULL
["password"]=>
NULL
["path"]=>
NULL
["query"]=>
array(0) {
}
["fragment"]=>
NULL
["headers"]=>
array(0) {
}
["body"]=>
NULL
["auth"]=>
NULL
["method"]=>
string(3) "GET"
["protocol"]=>
NULL
["version"]=>
string(3) "1.1"
["init"]=>
bool(true)
}
["_methodFilters":protected]=>
array(0) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment