图片地址跳转
//imgslist.php
《img src="<?=$reg->img['path']?>" /》
public function actionImgsList(){ $reg->img['path'] = '/index.php?r=img/getImg&id='.$pid; $this->render('imgslist'); } public function actionGetImg(){ $path = somemethod($_get['id']); header("Location:".$path); }
你对人生迷茫吗?
那就背起行囊,起步远行吧