Login   Register  
PHP Classes
elePHPant
Icontem

File: sample3.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tom Schaefer  >  Script Progress  >  sample3.php  >  Download  
File: sample3.php
Role: Example script
Content type: text/plain
Description: step by step
Class: Script Progress
Flush page output to show progress of server task
Author: By
Last change: bug fix
Date: 2012-03-15 04:27
Size: 713 bytes
 

Contents

Class file image Download
<?php

include_once 'class.php';

$buff = new ScriptProgress(91000000);

$buff->set("Start<br>");
# do some stuff here
$buff->next();


$buff->set("prepare<br>");
# do some stuff here
$buff->next();


$buff->set("eval<br>");
# do some stuff here
$buff->next();


$buff->set("act<br>");
# do some stuff here
$buff->next();


$buff->set("save<br>");
# do some stuff here
$buff->next();


$buff->set("prepare output<br>");
# do some stuff here
$buff->next();


$buff->set("send mail<br>");
# do some stuff here
$buff->next();


$buff->set("print to screen<br>");
# do some stuff here
$buff->next();


$buff->set("done<br>");
# do some stuff here
$buff->next();