search

Home  >  Q&A  >  body text

thinkphp - PHP get method to pass parameters, the parameters of the url cannot be obtained

Like the title

ttp://xxx/index.php?s=xxx/xxx/xxx/url/https://www.baidu.com/title/年后(there is an h at the beginning, I added the h, I don’t know why it’s not Show second half)

In this way, it is passed to the backend through the get method. The backend title can be obtained after the year, but the url is https: and then it is gone.

Please answer.

某草草某草草2812 days ago922

reply all(2)I'll reply

  • 漂亮男人

    漂亮男人2017-05-27 17:44:35

    PS: Learn a markdown typesetting

    In thinkphp, the url_mode parameter will be split according to your path, which is pathinfo. You can look at the routing part of the document to learn more.

    reply
    0
  • 怪我咯

    怪我咯2017-05-27 17:44:35

    The url parameter content contains / and should be encrypted with urlencodel

    reply
    0
  • Cancelreply