Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

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  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: ein paar worte
Class: Script Progress
Flush page output to show progress of server task
Author: By
Last change: change text
Date: 2012-03-05 03:47
Size: 648 bytes
 

Contents

Class file image Download
Situation
Ich möchte eine Fortschrittsanzeige in PHP schreiben, die ohne Ajax auskommt.

Problem:
Viele Browser reagieren unerwartet. Manche ignorieren die sofortige Ausgabe. 

Lösung:
Ich kapsele die Operation des Ausgabepuffers in der Klasse ScriptProgress. Je nach Browser erzeugt die Klasse spezifischen Quelltext. 


situation
I want to write a progress bar in PHP that does not require Ajax.

problem:
Many browsers react unexpectedly. Some ignore the immediate issue.

solution:
I encapsulate the operation of the output buffer in the class script Progress. Depending on the browser the class generates specific output code.