欧美不卡视频中文字幕

Join VIP [check in and send gold coins]
Dream weaving worry free, heart to do source code! 7 years of brand, trustworthy! Dream weaving without worry, each fine product, rather than excessive! Purchase no less than 3000 yuan per month, free source sharing, open early, enjoy early! Temporary promotion for lifelong members, only 128 yuan! The new member opens, enters the member center directly -- the purchase member -- opens directly.

Zhimeng releases pictures to the designated remote server (article model atlas model)

Abstract: 1. Go to the pagoda panel, right, software management, find pureftpd, set, modify configuration, search forcepassiveip, remove the "?" sign in front of it, change 192.168.0.1 to your Internet IP, save and restart pureftpd or server 2. Go to the system - click server distribution / remote settings, open and input relevant configuration 3. Article model thumbnail and article content

1. Go to the pagoda panel, right, software management, find pureftpd, set, configure, modify, search forcepassiveip, remove the ?, 192.168.0.1 to your Internet IP, save and restart pureftpd or server

2. Go to the system - Click Open the server distribution / remote settings and enter the relevant configuration

3、 The article model thumbnail and the article content picture are published to the remote server

 //1. Open / Dede / article_ add. PHP found //Generate HTML

Add it to it

 $row1 = $dsql->GetOne("SELECT * FROM `dede_multiserv_config`"); $isftp = $row1['remoteuploads']; $ftpurl = $row1['remoteupUrl']; $ftpconfig = $row1['servinfo']; $ftpconfig_ arr = array(); $ftpconfig_ txt = explode('|', $ftpconfig); foreach($ftpconfig_txt as $str){ $ftpconfig_ arr[] = trim($str); } if($isftp == 1){ 		 $config = array( 'hostname' => $ftpconfig_ arr[1], 'username' => $ftpconfig_ arr[3], 'password' => $ftpconfig_ arr[4], 'port' => $ftpconfig_ arr[2], 'debug' => 'TRUE' ); $ftps = new FTP();  $ftps->connect($config); $row2 = $dsql->GetOne("SELECT litpic FROM `dede_archives` WHERE id=$arcID"); $imglist = $row2['litpic']; $row3 = $dsql->GetOne("SELECT body FROM `$addtable` WHERE aid=$arcID"); preg_ match_ all("/<img([^>]*)s*src=('|")([^'"]+)('|")/", $row3['body'], $matches); $arr=array_ unique($matches[3]); foreach($arr as $key){  $imglist .= ','.$ key;  } $imglistarr = array(); $imglist_ txt = explode(',', $imglist); foreach($imglist_txt as $str){ $remotefile = str_ replace(DEDEROOT, '', $str); $localfile = '..'.$ remotefile; $remotefile2 = str_ replace('uploads/', 'uploadfile/', $remotefile); $remotedir = preg_ replace('/[^/]*.(jpg|gif|bmp|png)/', '', $remotefile2); $ftps->rmkdir($remotedir); $ftps->upload($localfile, $remotefile2); } $dsql->ExecuteNoneQuery("UPDATE `dede_archives` SET `litpic`=REPLACE(`litpic`,'/uploads','$ftpurl/uploadfile') WHERE `litpic` LIKE '%/uploads%' AND `id` = $arcID"); $dsql->ExecuteNoneQuery("UPDATE `$addtable` SET `body`=REPLACE(`body`,'/uploads','$ftpurl/uploadfile') WHERE `body` LIKE '%/uploads%' AND `aid` = $arcID"); $ftps->close(); }

2. Open / Dede / article_ edit. PHP found

 //Generate HTML

Put it on top of him

 $row1 = $dsql->GetOne("SELECT * FROM `dede_multiserv_config`"); $isftp = $row1['remoteuploads']; $ftpurl = $row1['remoteupUrl']; $ftpconfig = $row1['servinfo']; $ftpconfig_ arr = array(); $ftpconfig_ txt = explode('|', $ftpconfig); foreach($ftpconfig_txt as $str){ $ftpconfig_ arr[] = trim($str); } if($isftp == 1){ $config = array( 'hostname' => $ftpconfig_ arr[1], 'username' => $ftpconfig_ arr[3], 'password' => $ftpconfig_ arr[4], 'port' => $ftpconfig_ arr[2], 'debug' => 'TRUE' ); $ftps = new FTP();  $ftps->connect($config); $row2 = $dsql->GetOne("SELECT litpic FROM `dede_archives` WHERE id=$id"); $imglist = $row2['litpic']; $row3 = $dsql->GetOne("SELECT body FROM `$addtable` WHERE aid=$id"); preg_ match_ all("/<img([^>]*)s*src=('|")([^'"]+)('|")/", $row3['body'], $matches); $arr=array_ unique($matches[3]); foreach($arr as $key){  $imglist .= ','.$ key;  } $imglistarr = array(); $imglist_ txt = explode(',', $imglist); foreach($imglist_txt as $str){ if(preg_match('/uploads/', $str)){ $remotefile = str_ replace(DEDEROOT, '', $str); $localfile = '..'.$ remotefile; $remotefile2 = str_ replace('uploads/', 'uploadfile/', $remotefile); $remotedir = preg_ replace('/[^/]*.(jpg|gif|bmp|png)/', '', $remotefile2); $ftps->rmkdir($remotedir); $ftps->upload($localfile, $remotefile2); } } $dsql->ExecuteNoneQuery("UPDATE `dede_archives` SET `litpic`=REPLACE(`litpic`,'/uploads','$ftpurl/uploadfile') WHERE `litpic` LIKE '%/uploads%' AND `id` = $id"); $dsql->ExecuteNoneQuery("UPDATE `$addtable` SET `body`=REPLACE(`body`,'/uploads','$ftpurl/uploadfile') WHERE `body` LIKE '%/uploads%' AND `aid` = $id"); $ftps->close(); }

Atlas model thumbnails and article content images are published to the remote server

1. Open / Dede / album_ add. PHP found

 //Generate HTML

Add it to it

 $row1 = $dsql->GetOne("SELECT * FROM `dede_multiserv_config`"); $isftp = $row1['remoteuploads']; $ftpurl = $row1['remoteupUrl']; $ftpconfig = $row1['servinfo']; $ftpconfig_ arr = array(); $ftpconfig_ txt = explode('|', $ftpconfig); foreach($ftpconfig_txt as $str){ $ftpconfig_ arr[] = trim($str); } if($isftp == 1){ $config = array( 'hostname' => $ftpconfig_ arr[1], 'username' => $ftpconfig_ arr[3], 'password' => $ftpconfig_ arr[4], 'port' => $ftpconfig_ arr[2], 'debug' => 0 ); $ftps = new FTP();  $ftps->connect($config); $row2 = $dsql->GetOne("SELECT litpic FROM `dede_archives` WHERE id=$arcID"); $imglist = $row2['litpic']; $row3 = $dsql->GetOne("SELECT imgurls FROM `$addtable` WHERE aid=$arcID"); $imgurls = $row3['imgurls']; if($imgurls != '') { $dtp = new DedeTagParse(); $dtp->LoadSource($imgurls); $images = array(); if(is_array($dtp->CTags)) { foreach($dtp->CTags as $ctag) { if($ctag->GetName() == 'img') { $imglist .= ','. trim($ctag->GetInnerText()); } } } $dtp->Clear(); } $imglistarr = array(); $imglist_ txt = explode(',', $imglist); foreach($imglist_txt as $str){ $remotefile = str_ replace(DEDEROOT, '', $str); $localfile = '..'.$ remotefile; $remotefile2 = str_ replace('uploads/', 'uploadfile/', $remotefile); $remotedir = preg_ replace('/[^/]*.(jpg|gif|bmp|png)/', '', $remotefile2); $ftps->rmkdir($remotedir); $ftps->upload($localfile, $remotefile2); } $dsql->ExecuteNoneQuery("UPDATE `dede_archives` SET `litpic`=REPLACE(`litpic`,'/uploads','$ftpurl/uploadfile') WHERE `litpic` LIKE '%/uploads%' AND `id` = $arcID"); $dsql->ExecuteNoneQuery("UPDATE `$addtable` SET `imgurls`=REPLACE(`imgurls`,'/uploads','$ftpurl/uploadfile') WHERE `imgurls` LIKE '%/uploads%' AND `aid` = $arcID"); $ftps->close(); }

?

2. Open / Dede / album_ edit. PHP found

 //Generate HTML

Add it to it

 $row1 = $dsql->GetOne("SELECT * FROM `dede_multiserv_config`"); $isftp = $row1['remoteuploads']; $ftpurl = $row1['remoteupUrl']; $ftpconfig = $row1['servinfo']; $ftpconfig_ arr = array(); $ftpconfig_ txt = explode('|', $ftpconfig); foreach($ftpconfig_txt as $str){ $ftpconfig_ arr[] = trim($str); } if($isftp == 1){ 		 $config = array( 'hostname' => $ftpconfig_ arr[1], 'username' => $ftpconfig_ arr[3], 'password' => $ftpconfig_ arr[4], 'port' => $ftpconfig_ arr[2], 'debug' => 0 ); $ftps = new FTP();  $ftps->connect($config); $row2 = $dsql->GetOne("SELECT litpic FROM `dede_archives` WHERE id=$id"); $imglist = $row2['litpic']; $row3 = $dsql->GetOne("SELECT imgurls FROM `$addtable` WHERE aid=$id"); $imgurls = $row3['imgurls']; if($imgurls != '') { $dtp = new DedeTagParse(); $dtp->LoadSource($imgurls); $images = array(); if(is_array($dtp->CTags)) { foreach($dtp->CTags as $ctag) { if($ctag->GetName() == 'img') { $imglist .= ','. trim($ctag->GetInnerText()); } } } $dtp->Clear(); } $imglistarr = array(); $imglist_ txt = explode(',', $imglist); foreach($imglist_txt as $str){ if(preg_match('/uploads/', $str)){ $remotefile = str_ replace(DEDEROOT, '', $str); $localfile = '..'.$ remotefile; $remotefile2 = str_ replace('uploads/', 'uploadfile/', $remotefile); $remotedir = preg_ replace('/[^/]*.(jpg|gif|bmp|png)/', '', $remotefile2); $ftps->rmkdir($remotedir); $ftps->upload($localfile, $remotefile2); } } $dsql->ExecuteNoneQuery("UPDATE `dede_archives` SET `litpic`=REPLACE(`litpic`,'/uploads','$ftpurl/uploadfile') WHERE `litpic` LIKE '%/uploads%' AND `id` = $id"); $dsql->ExecuteNoneQuery("UPDATE `$addtable` SET `imgurls`=REPLACE(`imgurls`,'/uploads','$ftpurl/uploadfile') WHERE `imgurls` LIKE '%/uploads%' AND `aid` = $id"); $ftps->close(); }

?

Link to this article: http://b5y7hj.cn//dedecmsjiaocheng/chengxukaifa/182395.html

Copyright notice: Our resources are from the Internet or member release, if you infringe on your rights and interests, please contact us, we will delete within 24 hours! thank you!

 QR code of public number

Wechat public account

//Auto push

欧美不卡视频中文字幕_我和闺蜜共做一个男人_正撅着她肥白的大屁股

http://46.b5y7hj.cn http://13.b5y7hj.cn http://52.b5y7hj.cn http://47.b5y7hj.cn http://44.b5y7hj.cn http://69.b5y7hj.cn http://37.b5y7hj.cn http://57.b5y7hj.cn http://78.b5y7hj.cn http://40.b5y7hj.cn http://90.b5y7hj.cn