Subversion Repositories computer_asset_manager_v1

Rev

Rev 94 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 94 Rev 95
Line 23... Line 23...
23
 * 
23
 * 
24
 * Version 0.2.0 20160826 RWR
24
 * Version 0.2.0 20160826 RWR
25
 * Fixed problem where file name has YYYYMMDD_HHMMSS_servername_backup.log instead of
25
 * Fixed problem where file name has YYYYMMDD_HHMMSS_servername_backup.log instead of
26
 *    YYYYMMDD_servername_backup.log (it now checks for both)
26
 *    YYYYMMDD_servername_backup.log (it now checks for both)
27
 * Start and end time now accepted as YYYYMMDD_HHMMSS or YYYYMMDDHHMMSS
27
 * Start and end time now accepted as YYYYMMDD_HHMMSS or YYYYMMDDHHMMSS
-
 
28
 *
-
 
29
 * Version 0.2.1 20191208 RWR
-
 
30
 * When numeric strings are looked for, allow comma's in them and remove them before recording in the database
-
 
31
 * Fixes modifications made to rsync where reports now contain comma's.
28
*/
32
*/
29
 
33
 
30
   /*
34
   /*
31
    * This will return error codes
35
    * This will return error codes
32
    * 1 - Invalid Data File Name
36
    * 1 - Invalid Data File Name
Line 35... Line 39...
35
    * 4 - Server Not Found
39
    * 4 - Server Not Found
36
    */
40
    */
37
 
41
 
38
 
42
 
39
require 'library.php';
43
require 'library.php';
40
$VERSION='0.2.0';
44
$VERSION='0.2.1';
41
 
45
 
42
$results = array();
46
$results = array();
43
 
47
 
44
function parseFile( $filename, $path, $maxLineLength = 4096 ) {
48
function parseFile( $filename, $path, $maxLineLength = 4096 ) {
45
   $data = array ( 
49
   $data = array (