1
我正在使用yaf php框架php mvc更改默认url模式
我想获得参数数组。 例如:
我的网址:... mvcSample/SVC/saveUser/USER1 /通行证/ A @ BC /乔/富
我的输出PARAMS转储:
array (size=3)
'user1' => string 'pass' (length=4)
'[email protected]' => string 'joe' (length=3)
'foo' => null
我想:
array (size=5)
1 =>string 'user1'
2 => string 'pass'
3 => string '[email protected]'
4 => string 'joe'
5 =>string 'foo'
如何更改默认的网址格式?
谢谢
'a @ bc'不是有效的网址。这会抛出各种错误。 你至少应该使用'a%40b.c' – Tschallacka 2013-02-26 08:43:28