thinkphp - PHP get method to pass parameters, the parameters of the url cannot be obtained
某草草
某草草 2017-05-27 17:42:35
0
2
844

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.

某草草
某草草

reply all(2)
漂亮男人

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.

刘奇

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!