PHP Classes

File: demo.php

Recommend this page to a friend!
  Classes of very shafrudin   mysql.export   demo.php   Download  
File: demo.php
Role: Example script
Content type: text/plain
Description: use of class
Class: mysql.export
Export MySQL database to ZIP files
Author: By
Last change: upload file into list
Date: 14 years ago
Size: 967 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>export_mysql class</title>
</head>

<body>
<h2>
 
  Testing Page For export_mysql Class</h2>
<p>
<?php
 
include("mysql.export.class.php");
 
$e = new export_mysql('localhost', 'root', 'very', 'smsgateway');//instance class
 
$e->exportAll('all.sql',true);//export all (structure and value) and zipped
 
echo("Export All (structure and value) and compress to all.sql.zip <br />");
 
 
$e->exportStructure('structure.sql',true);//export only structure and zipped
 
echo("Export structure and compress to structure.sql.zip <br />");
 
 
 
$e->exportValue('value.sql',true);//export value and zipped
 
echo("Export value)and compress to value.sql.zip <br />");
 
 
 
?>
</p>
</body>
</html>