PHP Classes
elePHPant
Icontem

File: build/testdata_save.php

Recommend this page to a friend!
  Classes of Will Tinsdeall  >  Boiler Framework  >  build/testdata_save.php  >  Download  
File: build/testdata_save.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Boiler Framework
Web application framework that implements MVC
Author: By
Last change:
Date: 5 years ago
Size: 280 bytes
 

 

Contents

Class file image Download
<?php
require __DIR__."/../config.php";
exec("mysqldump -t --insert-ignore -u {$settings['database']['user']} -p{$settings['database']['passwd']} -h {$settings['database']['server']} -P {$settings['database']['port']} {$settings['database']['db']} > '".__DIR__."/testdata.sql'");