Routing of tp and laravel
Domain name/directory/parameter/parameter/parameter
And it can only be /
How to pass parameters like ordinary parameters
Domain name/directory?id=1&name=lisa
How to write this kind of interface
http://localhost/directory?s=parameter
That’s it Omit the file name and directly access it using the directory with parameters (the description here is not index.php, this can be omitted, I know)
小可耐2020-02-12 13:06:42
https://baike.baidu***/item/QQ/111306?ivk_sa=1022817p Then you add /index.php https://baike.baidu***/item/QQ/111306/index.php?ivk_sa=1022817p Obviously, it cannot be opened, which proves that it is not the index but is hidden.
小可耐2020-02-12 13:05:21
How to write it, please help... Just like Baidu’s https://baike.baidu***/item/QQ/111306?ivk_sa=1022817p You can see that 111306 is a directory, and the real file is omitted.