File: sample3.php

Recommend this page to a friend!
  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: 8 years ago
Size: 713 bytes
 

Contents

Class file image Download
<?php

include_once 'class.php';

$buff = new ScriptProgress(9, 1000000);

$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();




For more information send a message to info at phpclasses dot org.