Login   Register  
PHP Classes
elePHPant
Icontem

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: 2005-02-07 18:22
Size: 549 bytes
 

Contents

Class file image Download
<?PHP
    
    
include ("./php2install.class.php");
    
    
$vgoInstall     =  new php2install ();
    
    
$vgoInstall     -> setEncodeDbName ("DbName");
    
$vgoInstall     -> setEncodeDbHost ("127.0.0.1");
    
$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 ();
    
?>