PHP的C扩展Yaf的实例
采用鸟哥的PHP的C扩展Yaf的实例 br / br / a target=_blank href=http://dev.56.com:81/yaf/index/upload/ rel=nofollowspan style=font-size:24px;color:#e53333;font-weight:bold;案例演示/span/a a target=_blank href=http://dev.56.com/wi
采用鸟哥的PHP的C扩展Yaf的实例
案例演示
开放源代码 见下方
案例演示
开放源代码 见下方
/** * 获得上传组件 * * @access public * @return void */ public function uploadAction() { $sid = 'AngryFox'; /** $css参数,从 http://oapi.56.com/var/oupload/ 上获取你想要的显示效果 */ $css = 'cDElM0RwMSUyNnAyJTNEcDIlMjZvbiUzRG9uJTI2b24lM0RvbiUyNm9uJTNEb24lMjZwbyUzRHBvJTI2bCUzRGNuJTI2YyUzRHAxMCUyNmklM0Qx'; $rurl = $this->_domain .'/index/fail'; $ourl = $this->_domain .'/index/success'; $videos = new Open56Client("1000000010","0e4f13954bc537ec"); $custom_upload = $videos->customUrl($sid, $css, $rurl, $ourl); $this->_view->entries = $custom_upload; /*layout*/ $this->_layout->meta_title = '56网视频上传开放接口'; }
精彩图集
精彩文章