Skip to content

Instantly share code, notes, and snippets.

@nomaanp
Created August 13, 2013 10:37
Show Gist options
  • Save nomaanp/6219966 to your computer and use it in GitHub Desktop.
Save nomaanp/6219966 to your computer and use it in GitHub Desktop.
var dump for $this->getRequest();
object(Zend\Http\PhpEnvironment\Request)#127 (14) { ["baseUrl":protected]=> string(0) "" ["basePath":protected]=> NULL ["requestUri":protected]=> string(20) "/member/authenticate" ["serverParams":protected]=> object(Zend\Stdlib\Parameters)#129 (1) { ["storage":"ArrayObject":private]=> array(39) { ["CONTENT_LENGTH"]=> string(2) "49" ["CONTENT_TYPE"]=> string(33) "application/x-www-form-urlencoded" ["DOCUMENT_ROOT"]=> string(26) "/home/marwaric/public_html" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["HTTP_ACCEPT"]=> string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" ["HTTP_ACCEPT_ENCODING"]=> string(17) "gzip,deflate,sdch" ["HTTP_ACCEPT_LANGUAGE"]=> string(14) "en-US,en;q=0.8" ["HTTP_CACHE_CONTROL"]=> string(9) "max-age=0" ["HTTP_CONNECTION"]=> string(10) "keep-alive" ["HTTP_HOST"]=> string(22) "marwarishaadicentre.in" ["HTTP_ORIGIN"]=> string(29) "http://marwarishaadicentre.in" ["HTTP_REFERER"]=> string(30) "http://marwarishaadicentre.in/" ["HTTP_USER_AGENT"]=> string(101) "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36" ["PATH"]=> string(13) "/bin:/usr/bin" ["PHPRC"]=> string(15) "/usr/local/lib/" ["QUERY_STRING"]=> string(0) "" ["REDIRECT_REDIRECT_STATUS"]=> string(3) "200" ["REDIRECT_REDIRECT_UNIQUE_ID"]=> string(24) "UgoK30Pn9CoABkgTrYsAAABj" ["REDIRECT_STATUS"]=> string(3) "200" ["REDIRECT_UNIQUE_ID"]=> string(24) "UgoK30Pn9CoABkgTrYsAAABj" ["REDIRECT_URL"]=> string(27) "/public/member/authenticate" ["REMOTE_ADDR"]=> string(11) "61.17.92.77" ["REMOTE_PORT"]=> string(5) "50140" ["REQUEST_METHOD"]=> string(4) "POST" ["REQUEST_URI"]=> string(20) "/member/authenticate" ["SCRIPT_FILENAME"]=> string(43) "/home/marwaric/public_html/public/index.php" ["SCRIPT_NAME"]=> string(17) "/public/index.php" ["SERVER_ADDR"]=> string(14) "173.233.88.218" ["SERVER_ADMIN"]=> string(32) "webmaster@marwarishaadicentre.in" ["SERVER_NAME"]=> string(22) "marwarishaadicentre.in" ["SERVER_PORT"]=> string(2) "80" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" ["SERVER_SIGNATURE"]=> string(0) "" ["SERVER_SOFTWARE"]=> string(6) "Apache" ["UNIQUE_ID"]=> string(24) "UgoK30Pn9CoABkgTrYsAAABj" ["PHP_SELF"]=> string(17) "/public/index.php" ["REQUEST_TIME"]=> int(1376389856) ["argv"]=> array(0) { } ["argc"]=> int(0) } } ["envParams":protected]=> object(Zend\Stdlib\Parameters)#124 (1) { ["storage":"ArrayObject":private]=> array(35) { ["CONTENT_LENGTH"]=> string(2) "49" ["CONTENT_TYPE"]=> string(33) "application/x-www-form-urlencoded" ["DOCUMENT_ROOT"]=> string(26) "/home/marwaric/public_html" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["HTTP_ACCEPT"]=> string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" ["HTTP_ACCEPT_ENCODING"]=> string(17) "gzip,deflate,sdch" ["HTTP_ACCEPT_LANGUAGE"]=> string(14) "en-US,en;q=0.8" ["HTTP_CACHE_CONTROL"]=> string(9) "max-age=0" ["HTTP_CONNECTION"]=> string(10) "keep-alive" ["HTTP_HOST"]=> string(22) "marwarishaadicentre.in" ["HTTP_ORIGIN"]=> string(29) "http://marwarishaadicentre.in" ["HTTP_REFERER"]=> string(30) "http://marwarishaadicentre.in/" ["HTTP_USER_AGENT"]=> string(101) "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36" ["PATH"]=> string(13) "/bin:/usr/bin" ["PHPRC"]=> string(15) "/usr/local/lib/" ["QUERY_STRING"]=> string(0) "" ["REDIRECT_REDIRECT_STATUS"]=> string(3) "200" ["REDIRECT_REDIRECT_UNIQUE_ID"]=> string(24) "UgoK30Pn9CoABkgTrYsAAABj" ["REDIRECT_STATUS"]=> string(3) "200" ["REDIRECT_UNIQUE_ID"]=> string(24) "UgoK30Pn9CoABkgTrYsAAABj" ["REDIRECT_URL"]=> string(27) "/public/member/authenticate" ["REMOTE_ADDR"]=> string(11) "61.17.92.77" ["REMOTE_PORT"]=> string(5) "50140" ["REQUEST_METHOD"]=> string(4) "POST" ["REQUEST_URI"]=> string(20) "/member/authenticate" ["SCRIPT_FILENAME"]=> string(43) "/home/marwaric/public_html/public/index.php" ["SCRIPT_NAME"]=> string(17) "/public/index.php" ["SERVER_ADDR"]=> string(14) "173.233.88.218" ["SERVER_ADMIN"]=> string(32) "webmaster@marwarishaadicentre.in" ["SERVER_NAME"]=> string(22) "marwarishaadicentre.in" ["SERVER_PORT"]=> string(2) "80" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" ["SERVER_SIGNATURE"]=> string(0) "" ["SERVER_SOFTWARE"]=> string(6) "Apache" ["UNIQUE_ID"]=> string(24) "UgoK30Pn9CoABkgTrYsAAABj" } } ["method":protected]=> string(4) "POST" ["uri":protected]=> object(Zend\Uri\Http)#276 (10) { ["validHostTypes":protected]=> int(19) ["user":protected]=> NULL ["password":protected]=> NULL ["scheme":protected]=> string(4) "http" ["userInfo":protected]=> NULL ["host":protected]=> string(22) "marwarishaddicentre.in" ["port":protected]=> NULL ["path":protected]=> string(1) "/" ["query":protected]=> NULL ["fragment":protected]=> NULL } ["queryParams":protected]=> NULL ["postParams":protected]=> object(Zend\Stdlib\Parameters)#128 (1) { ["storage":"ArrayObject":private]=> array(3) { ["username"]=> string(9) "prashantp" ["password"]=> string(8) "prashant" ["submit"]=> string(5) "Login" } } ["fileParams":protected]=> NULL ["version":protected]=> string(3) "1.1" ["headers":protected]=> object(Zend\Http\Headers)#131 (3) { ["pluginClassLoader":protected]=> object(Zend\Http\HeaderLoader)#132 (1) { ["plugins":protected]=> array(54) { ["accept"]=> string(23) "Zend\Http\Header\Accept" ["acceptcharset"]=> string(30) "Zend\Http\Header\AcceptCharset" ["acceptencoding"]=> string(31) "Zend\Http\Header\AcceptEncoding" ["acceptlanguage"]=> string(31) "Zend\Http\Header\AcceptLanguage" ["acceptranges"]=> string(29) "Zend\Http\Header\AcceptRanges" ["age"]=> string(20) "Zend\Http\Header\Age" ["allow"]=> string(22) "Zend\Http\Header\Allow" ["authenticationinfo"]=> string(35) "Zend\Http\Header\AuthenticationInfo" ["authorization"]=> string(30) "Zend\Http\Header\Authorization" ["cachecontrol"]=> string(29) "Zend\Http\Header\CacheControl" ["connection"]=> string(27) "Zend\Http\Header\Connection" ["contentdisposition"]=> string(35) "Zend\Http\Header\ContentDisposition" ["contentencoding"]=> string(32) "Zend\Http\Header\ContentEncoding" ["contentlanguage"]=> string(32) "Zend\Http\Header\ContentLanguage" ["contentlength"]=> string(30) "Zend\Http\Header\ContentLength" ["contentlocation"]=> string(32) "Zend\Http\Header\ContentLocation" ["contentmd5"]=> string(27) "Zend\Http\Header\ContentMD5" ["contentrange"]=> string(29) "Zend\Http\Header\ContentRange" ["contenttransferencoding"]=> string(40) "Zend\Http\Header\ContentTransferEncoding" ["contenttype"]=> string(28) "Zend\Http\Header\ContentType" ["cookie"]=> string(23) "Zend\Http\Header\Cookie" ["date"]=> string(21) "Zend\Http\Header\Date" ["etag"]=> string(21) "Zend\Http\Header\Etag" ["expect"]=> string(23) "Zend\Http\Header\Expect" ["expires"]=> string(24) "Zend\Http\Header\Expires" ["from"]=> string(21) "Zend\Http\Header\From" ["host"]=> string(21) "Zend\Http\Header\Host" ["ifmatch"]=> string(24) "Zend\Http\Header\IfMatch" ["ifmodifiedsince"]=> string(32) "Zend\Http\Header\IfModifiedSince" ["ifnonematch"]=> string(28) "Zend\Http\Header\IfNoneMatch" ["ifrange"]=> string(24) "Zend\Http\Header\IfRange" ["ifunmodifiedsince"]=> string(34) "Zend\Http\Header\IfUnmodifiedSince" ["keepalive"]=> string(26) "Zend\Http\Header\KeepAlive" ["lastmodified"]=> string(29) "Zend\Http\Header\LastModified" ["location"]=> string(25) "Zend\Http\Header\Location" ["maxforwards"]=> string(28) "Zend\Http\Header\MaxForwards" ["pragma"]=> string(23) "Zend\Http\Header\Pragma" ["proxyauthenticate"]=> string(34) "Zend\Http\Header\ProxyAuthenticate" ["proxyauthorization"]=> string(35) "Zend\Http\Header\ProxyAuthorization" ["range"]=> string(22) "Zend\Http\Header\Range" ["referer"]=> string(24) "Zend\Http\Header\Referer" ["refresh"]=> string(24) "Zend\Http\Header\Refresh" ["retryafter"]=> string(27) "Zend\Http\Header\RetryAfter" ["server"]=> string(23) "Zend\Http\Header\Server" ["setcookie"]=> string(26) "Zend\Http\Header\SetCookie" ["te"]=> string(19) "Zend\Http\Header\TE" ["trailer"]=> string(24) "Zend\Http\Header\Trailer" ["transferencoding"]=> string(33) "Zend\Http\Header\TransferEncoding" ["upgrade"]=> string(24) "Zend\Http\Header\Upgrade" ["useragent"]=> string(26) "Zend\Http\Header\UserAgent" ["vary"]=> string(21) "Zend\Http\Header\Vary" ["via"]=> string(20) "Zend\Http\Header\Via" ["warning"]=> string(24) "Zend\Http\Header\Warning" ["wwwauthenticate"]=> string(32) "Zend\Http\Header\WWWAuthenticate" } } ["headersKeys":protected]=> array(11) { [0]=> string(13) "contentlength" [1]=> string(11) "contenttype" [2]=> string(6) "accept" [3]=> string(14) "acceptencoding" [4]=> string(14) "acceptlanguage" [5]=> string(12) "cachecontrol" [6]=> string(10) "connection" [7]=> string(4) "host" [8]=> string(6) "origin" [9]=> string(7) "referer" [10]=> string(9) "useragent" } ["headers":protected]=> array(11) { [0]=> array(2) { ["name"]=> string(14) "Content-Length" ["line"]=> string(18) "Content-Length: 49" } [1]=> array(2) { ["name"]=> string(12) "Content-Type" ["line"]=> string(47) "Content-Type: application/x-www-form-urlencoded" } [2]=> array(2) { ["name"]=> string(6) "Accept" ["line"]=> string(71) "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" } [3]=> array(2) { ["name"]=> string(15) "Accept-Encoding" ["line"]=> string(34) "Accept-Encoding: gzip,deflate,sdch" } [4]=> array(2) { ["name"]=> string(15) "Accept-Language" ["line"]=> string(31) "Accept-Language: en-US,en;q=0.8" } [5]=> array(2) { ["name"]=> string(13) "Cache-Control" ["line"]=> string(24) "Cache-Control: max-age=0" } [6]=> array(2) { ["name"]=> string(10) "Connection" ["line"]=> string(22) "Connection: keep-alive" } [7]=> object(Zend\Http\Header\Host)#133 (1) { ["value"]=> string(22) "marwarishaadicentre.in" } [8]=> array(2) { ["name"]=> string(6) "Origin" ["line"]=> string(37) "Origin: http://marwarishaadicentre.in" } [9]=> array(2) { ["name"]=> string(7) "Referer" ["line"]=> string(39) "Referer: http://marwarishaadicentre.in/" } [10]=> array(2) { ["name"]=> string(10) "User-Agent" ["line"]=> string(113) "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36" } } } ["metadata":protected]=> array(0) { } ["content":protected]=> string(0) "" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment