日期:2014-05-16 浏览次数:20947 次
$mysqlstr = "D:\phpenv\MySQL Server 5.1\bin\mysqldump -uroot -proot -h localhost --opt -B db_forum > D:/phpenv/Apache2.2/htdocs//forum/admin/sqlbak/20121025165445.sql"; exec($mysqlstr); echo "<script>alert('备份成功');location='index.php?title=备份和恢复'</script>";