PHP Classes

File: scripts/filePatFetch.php

Recommend this page to a friend!
  Classes of Johan Barbier   No Timeout   scripts/filePatFetch.php   Download  
File: scripts/filePatFetch.php
Role: Application script
Content type: text/plain
Description: script
Class: No Timeout
Split the execution of long tasks in small steps
Author: By
Last change:
Date: 17 years ago
Size: 399 bytes
 

Contents

Class file image Download
<?php
header
('Content-type: text/html; charset=iso-8859-1');
set_time_limit (2);
require_once
'../class/class.noTimeOut.php';
if (isset (
$_POST['iStart'])) {
   
$oNTM = new noTimeOut;
   
$oNTM -> TYPE = 'FILE_PATTERN';
   
$oNTM -> FILE = $_POST['sFile'];
   
$oNTM -> START = $_POST['iStart'];
   
$oNTM -> STEP = $_POST['iStep'];
   
$sChaine = $oNTM -> flushMe ();
    echo
utf8_decode ($sChaine);
}
?>