我需要http://example.com/post/view/id/1网址的规则,该规则将显示为http://example.com/post/post_title.而不是身份证号码我想显示帖子名称或标题.
我的配置如下所示:
'urlManager'=>array(
'urlFormat'=>'path',
'rules'=>array(
//'<controller:\w+>/<id:\d+>'=>'<controller>/view',
//'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
//'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
),
'showScriptName'=>false,
),
Run Code Online (Sandbox Code Playgroud) 我需要从此机箱中提取图像URL.我怎样才能访问它?
["enclosure"]=> object(SimpleXMLElement) {
["@attributes"]=> array(3) {
["url"]=> string(81) "http://image.jpg"
["length"]=> string(4) "5000"
["type"]=> string(10) "image/jpeg"
}
}
Run Code Online (Sandbox Code Playgroud) 我想知道是否有任何网站应用程序,我可以在IE 6.0 - 8.0,Opera,Firefox,Chrome,Safari中测试我的css,javascript和html页面,以便查看它们.