Subversion Repositories computer_asset_manager_v1

Rev

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

Rev 30 Rev 115
Line 97... Line 97...
97
                  $serial ) ) ) . 
97
                  $serial ) ) ) . 
98
                  '.yaml';
98
                  '.yaml';
99
                  
99
                  
100
   if ( move_uploaded_file( $report['tmp_name'], $filename ) ) {
100
   if ( move_uploaded_file( $report['tmp_name'], $filename ) ) {
101
      touch ( $filename, $date );
101
      touch ( $filename, $date );
-
 
102
      chmod ($filename, 0666 );
102
      print( $report['size'] );
103
      print( $report['size'] );
103
   } else {
104
   } else {
104
      print( "Could not save file [$filename]" );
105
      print( "Could not save file [$filename]" );
105
   }
106
   }
106
}
107
}