Isn't he using a traditional one? Page = 20 use question marks to pass parameters, which is both not beautiful and unfriendly to search engines. Therefore, we can use the/method to pass parameters.
We often see this link.
Http: // www. *****. com/RequestPath. class. php/edit/trackbacks/page/2/Flag/4
Isn't he using a traditional one? Page = 20Using question marks to pass parameters is neither beautiful nor friendly to search engines,
So we can use/To pass parameters.
Instructions for use:
In the above example
EditIs action, through_ Get("Action") To obtain
TrackbacksYes._ Get("Type") To obtain
All of them are one-to-one, which can be any number of pairs, such as
_ Get("Page") The value is2
_ Get("Flag") The value is4
Parts = $ parsed ;} /************************************ function name: __get _ set _ isset function: get, set, and test path element planting parameters $ key: parameter name ************************************** */public function _ get ($ key) {return $ this-> parts [$ key];} public function _ set ($ key, $ value) {$ this-> parts [$ key] = $ value ;} public function _ isset ($ key) {return isset ($ this-> parts [$ key]) ;}}?>