PHP Classes

File: example2.php

Recommend this page to a friend!
  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: 13 years ago
Size: 1,807 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Installation Class Example</title> <style type="text/css"> .img { width: 201px; margin: 0 auto; padding-top: 15%; } </style> </head> <body> <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> </ul></ins> <ins><hr /></ins> </p> <?php // 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). $show->setup(); // Flushing the content ob_flush(); flush(); // Sleeping the script for five seconds sleep(5); // Advancing on to the next stage $show->cont(); ?> </body> </html>