Login   Register  
PHP Classes
elePHPant
Icontem

File: demo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2010-02-08 03:44
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>