php 数据库备份、还原
摘要:1. mydb.php //DB类2. backup.php //备份脚本3. restore.php //还原脚本mydb.php<?class db{var $linkid;var $sqlid;var $record;function db($host="",$username="",$password="",$database=""){if(!$this->linkid) @$this->linkid = mysql_connect($host, $username, $password)
阅读全文