Login   Register  
PHP Classes

File: sample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of helmut kemper  >  PHP 2 Install  >  sample.php  >  Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: Sample file
Class: PHP 2 Install
Generate PHP script archives for site installation
Author: By
Last change:
Date: 9 years ago
Size: 549 bytes


Class file image Download
include ("./php2install.class.php");
$vgoInstall     =  new php2install ();
$vgoInstall     -> setEncodeDbName ("DbName");
$vgoInstall     -> setEncodeDbHost ("");
$vgoInstall     -> setEncodeDbUser ("DbUser");
$vgoInstall     -> setEncodeDbPassword ("DbPassword");
$vgoInstall     -> setDecodeDbPath ("./site_out/site.sql");
$vgoInstall     -> encodeDataBase ();
$vgoInstall     -> setEncodePath ("./site_in");
$vgoInstall     -> setDecodePath ("./site_out/site_install.php");
$vgoInstall     -> encodeTree ();