request-php $_get Get No value

Source: Internet
Author: User
Request Array (2) {["Lang"]=> string (2) "zh" ["Dummy"]=> string ("1419519107411"}get Array (2) {["Lang"] = = BOOL (false) ["Dummy"]=> bool (FALSE)}server Array () {["Http_host"]=> string (9) "localhost" ["Http_c Onnection "]=> string (Ten)" Keep-alive "[" Http_cache_control "]=> string (9)" Max-age=0 "[" Http_accept "]=> Strin  G (in) "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ["Http_user_agent"]=> String (104) "mozilla/5.0 (X11; Linux x86_64) applewebkit/537.36 (khtml, like Gecko) chrome/39.0.2171.95 safari/537.36 "[" Http_accept_encoding "]=> s Tring (+) "gzip, deflate, SDCH" ["Http_accept_language"]=> string (+) "zh-cn,zh;q=0.8" ["Http_cookie"]=> string ( "Phpsessid=otbqpdbn719m95li4ph91naoe2" ["Http_ra_ver"]=> string (5) "2.8.6" ["Http_ra_sid"]=> string (7A) " 05614b-20140524-052211-005a89-b3d2b8 "[" PATH "]=> string"/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr /local/sbin:/rOot/bin "[" Ld_library_path "]=> string ()"/phpstudy/server/httpd/lib "[" Server_signature "]=> string (0)" "[" SE Rver_software "]=> string" apache/2.4.7 (Unix) php/5.4.26 "[" SERVER_NAME "]=> string (9)" localhost "[" Server_a DDR "]=> string (9)" 127.0.0.1 "[" Server_port "]=> string (2)" "[" REMOTE_ADDR "]=> string (9)" 127.0.0.1 "[" Do Cument_root "]=> string"/phpstudy/www "[" Request_scheme "]=> string (4)" http "[" Context_prefix "]=> string (0) "" ["Context_document_root"]=> string "/phpstudy/www" ["Server_admin"]=> string () "You@example.com" [ "Script_filename"]=> string "/phpstudy/www/wwh/handlers/gettree.php" ["Remote_port"]=> string (5) "47712" [ "Gateway_interface"]=> string (7) "cgi/1.1" ["Server_protocol"]=> string (8) "http/1.1" ["Request_method"]=> s Tring (3) "GET" ["Query_string"]=> string "lang=zh&dummy=1419519107411" ["Request_uri"]=> STRING "/w" Wh/handlers/gettree.php?lang=zh&dummy=1419519107411 "[" Script_name "]=> string ()"/wwh/handlers/gettree.php "[" Php_self "]=> string ( "/wwh/handlers/gettree.php" ["Request_time_float"]=> FLOAT (1419519574.541) ["Request_time"]=> Int ( 1419519574)}

Today, when modifying a script to find that using $_get to get data, please sleep can explain
The request get and server information has been output in the previous

The whole project code is a lot of, or please go to coding rep to see it
https://coding.net/u/hainuo/p/document/git/blob/master/handlers/gettree.php

Reply content:

Request Array (2) {["Lang"]=> string (2) "zh" ["Dummy"]=> string ("1419519107411"}get Array (2) {["Lang"] = = BOOL (false) ["Dummy"]=> bool (FALSE)}server Array () {["Http_host"]=> string (9) "localhost" ["Http_c Onnection "]=> string (Ten)" Keep-alive "[" Http_cache_control "]=> string (9)" Max-age=0 "[" Http_accept "]=> Strin  G (in) "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ["Http_user_agent"]=> String (104) "mozilla/5.0 (X11; Linux x86_64) applewebkit/537.36 (khtml, like Gecko) chrome/39.0.2171.95 safari/537.36 "[" Http_accept_encoding "]=> s Tring (+) "gzip, deflate, SDCH" ["Http_accept_language"]=> string (+) "zh-cn,zh;q=0.8" ["Http_cookie"]=> string ( "Phpsessid=otbqpdbn719m95li4ph91naoe2" ["Http_ra_ver"]=> string (5) "2.8.6" ["Http_ra_sid"]=> string (7A) " 05614b-20140524-052211-005a89-b3d2b8 "[" PATH "]=> string"/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr /local/sbin:/rOot/bin "[" Ld_library_path "]=> string ()"/phpstudy/server/httpd/lib "[" Server_signature "]=> string (0)" "[" SE Rver_software "]=> string" apache/2.4.7 (Unix) php/5.4.26 "[" SERVER_NAME "]=> string (9)" localhost "[" Server_a DDR "]=> string (9)" 127.0.0.1 "[" Server_port "]=> string (2)" "[" REMOTE_ADDR "]=> string (9)" 127.0.0.1 "[" Do Cument_root "]=> string"/phpstudy/www "[" Request_scheme "]=> string (4)" http "[" Context_prefix "]=> string (0) "" ["Context_document_root"]=> string "/phpstudy/www" ["Server_admin"]=> string () "You@example.com" [ "Script_filename"]=> string "/phpstudy/www/wwh/handlers/gettree.php" ["Remote_port"]=> string (5) "47712" [ "Gateway_interface"]=> string (7) "cgi/1.1" ["Server_protocol"]=> string (8) "http/1.1" ["Request_method"]=> s Tring (3) "GET" ["Query_string"]=> string "lang=zh&dummy=1419519107411" ["Request_uri"]=> STRING "/w" Wh/handlers/gettree.php?lang=zh&dummy=1419519107411 "[" Script_name "]=> string ()"/wwh/handlers/gettree.php "[" Php_self "]=> string ( "/wwh/handlers/gettree.php" ["Request_time_float"]=> FLOAT (1419519574.541) ["Request_time"]=> Int ( 1419519574)}

Today, when modifying a script to find that using $_get to get data, please sleep can explain
The request get and server information has been output in the previous

The whole project code is a lot of, or please go to coding rep to see it
https://coding.net/u/hainuo/p/document/git/blob/master/handlers/gettree.php

 ["REQUEST_URI"]=>  string(53) "/wwh/handlers/gettree.php?lang=zh&dummy=1419519107411"

There is no mistake in proving your link. As far as the value is not, will you be $_GET['lang'],$_GET['dummy'] assigning the value manually? No code don't know where the problem ~

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.