php備份整個MySQL資料庫類
<?php class Backup { /** * @var stores the options */ var $config; /** * @var stores the final sql dump */ var $dump; /** * @var stores the table structure + inserts for every table */ var $struktur = array(); /** * @var zip file name */ var $datei; /** * this function is the constructor and phrase the options * and connect to the database * @return */ public function Backup($options) { // write options foreach($options AS $name => $value) { $this->config[$name] = $value; }
這是一個很好用的php備份整個MySQL資料庫類,需要的朋友可以下載使用
免責聲明
本站所有資源皆由網友貢獻或各大下載網站轉載。請自行檢查軟體的完整性!本站所有資源僅供學習參考。請不要將它們用於商業目的。否則,一切後果都由您負責!如有侵權,請聯絡我們刪除。聯絡方式:admin@php.cn
相關文章

21 Jul 2016
整合了前面的PHP資料庫連線類別~~做成一個分頁類別!。不知道學PHP有沒有前途~哎越寫越沒勁?php Classcreatedb//類的開始{ var$db="localhost";//資料庫位址; var$dbname="root";//用戶名; var$ dbpwd="";//密碼; var$

21 Jul 2016
用PHP實作XML備份Mysql資料庫。以下是在Linux下透過Apache PHP對Mysql資料庫的備份的檔案代碼: 檔案一、Listtable.php (檔案列出資料庫中的所有表格,供選擇備份) 請選擇要


熱工具

熱門文章
兩個點博物館:邦格荒地地點指南
28 Feb 2025
手游攻略
擊敗分裂小說需要多長時間?
07 Mar 2025
手游攻略
在哪裡可以在怪物獵人荒野中找到地球晶體
27 Feb 2025
手游攻略
倉庫:如何復興隊友
04 Mar 2025
手游攻略
公眾號網頁更新緩存難題:如何避免版本更新後舊緩存影響用戶體驗?
04 Mar 2025
html教學