Home  >  Q&A  >  body text

Post request uses $_SERVER['QUERY_STRING'] to get the parameters of the url. Why only the first one is obtained?

For example, when submitting a request for /xx/post/1?a='a'&b='b', use $_SERVER['QUERY_STRING'] to get the parameter value as a='a', why not a='a'&b ='b'

忘崽牛奶忘崽牛奶980 days ago654

reply all(1)I'll reply

  • autoload

    autoload2021-11-22 08:56:24

    Just pass the string and do a little processing to make it more convenient to use

    reply
    0
  • Cancelreply