File: Test

Recommend this page to a friend!
  Classes of CÚsar Bruschi  >  MySQL CSV Dump  >  Test  >  Download  
File: Test
Role: Example script
Content type: text/plain
Description: test and examples
Class: MySQL CSV Dump
Dump MySQL tables into compressed CSV files
Author: By
Last change:
Date: 11 years ago
Size: 565 bytes


Class file image Download


//Conection data
$host = "localhost";
$user = "user";
$pass = "pass";
$db = "database";

//Create the object
$dump = new DBDump($host, $db, $user, $pass);
//Set debuger on
$dump->setPath("D:\\backups\\"); //El directorio DEBE EXISTIR!!!
//Tablas que no se copiar´┐Żn
//Mail it!
$dump->xMail = "";

For more information send a message to info at phpclasses dot org.