<?php
ini_set("display_errors", true); ini_set("error_reporting", E_ALL); ini_set("memory_limit", "5000M"); ini_set("max_execution_time", 0);
require_once 'mailparser.class.php';
$objMailLogParser = new MailParser("Feb 9 02:33:", "Feb 9 05:13:", "/var/log/mail.info.1");
$objMailLogParser->readFile(); $objMailLogParser->getMatches(); $objMailLogParser->showParsedData(); $objMailLogParser->writeParsedData();
?>
|