When passing a path as a parameter, the parsing is incomplete {code...} receiving code: {code...} and then printing $ arr
When passing a path as a parameter, the parsing is incomplete
$ Url = "OK ,". C ("WEBURL ").. U ('app/Member/newsale '); $ this-> redirect ("App/Services/index", array ('Statue' => 'OK ', "msg" => urlencode ('coupon used successfully! '), "Url" => urlencode ($ url )));
Receive code:
$ Msg = urldecode ($ _ GET ['MSG ']); $ msg = empty ($ msg )? "Parameter error": $ msg; $ statue = empty ($ _ GET ['Statue '])? 'OK': $ _ GET ['Statue ']; if ($ _ GET ['URL']) {$ url = urldecode ($ _ GET ['URL']); $ arr = explode (',', $ url );}
Then print $ arr
Reply content:
When passing a path as a parameter, the parsing is incomplete
$ Url = "OK ,". C ("WEBURL ").. U ('app/Member/newsale '); $ this-> redirect ("App/Services/index", array ('Statue' => 'OK ', "msg" => urlencode ('coupon used successfully! '), "Url" => urlencode ($ url )));
Receive code:
$ Msg = urldecode ($ _ GET ['MSG ']); $ msg = empty ($ msg )? "Parameter error": $ msg; $ statue = empty ($ _ GET ['Statue '])? 'OK': $ _ GET ['Statue ']; if ($ _ GET ['URL']) {$ url = urldecode ($ _ GET ['URL']); $ arr = explode (',', $ url );}
Then print $ arr
Report the landlord. I returned. everything is normal.
Ps: Is it true to submit Chinese in get mode ???