PHP Classes

File: example2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Bogdan Lupandin  >  Installation Automation  >  example2.php  >  Download  
File: example2.php
Role: Documentation
Content type: text/plain
Description: The slideshow example
Class: Installation Automation
Automate multi-step application installations
Author: By
Last change: Changed a typo in the source code comment
Date: 6 years ago
Size: 1,807 bytes


Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "">
<html xmlns="" lang="en" xml:lang="en">
        <title>Installation Class Example</title>
        <style type="text/css">
            .img {
                width: 201px;
                margin: 0 auto;
                padding-top: 15%;
        <p style="background-color: #cecece; margin: 0;">
            <small>(This content is not part of the form/stage... this content is part of the example main page)</small><br />
            Configuration used:<br />
            <ins><ul style="background-color: #cecece; margin: 0;">
                <li><a href="documentation.html#vcreate_global">$create_global</a> = false</li>
                <li><a href="documentation.html#use_sql">$use_sql</a> = false</li>
                <li><a href="documentation.html#force_errors">$force_errors</a> = false</li>
                <li><a href="documentation.html#vdebug">$debug</a> = true</li>
            <ins><hr /></ins>
// Requiring the installation class (For the slideshow thing)
require 'install.php';

// Setting the slideshow object to $show
$show = new install();

// Setting some variables
$show->stages = array('show_1','show_2','show_3','show_4','show_5','show_6','show_7','show_8','show_9','show_10');
$show->use_sql = false;
$show->create_global = false;

// Initiating the setup function (The one that includes the form).

// Flushing the content

// Sleeping the script for five seconds

// Advancing on to the next stage