PHP Classes

File: Log.php

Recommend this page to a friend!
  Classes of Naveen valecha   Files Mover   Log.php   Download  
File: Log.php
Role: Class source
Content type: text/plain
Description: Log.php
Class: Files Mover
Copy or move files between directories
Author: By
Last change:
Date: 9 years ago
Size: 314 bytes


Class file image Download

 * The class is use to maintain the logs in the log file
 * @author Naveen Valecha<>

class Log {

$file = 'log.txt';

  public function
write($data) {

$file = fopen($this->file, 'a+');
fputs($file, "\r\n");
fputs($file, $data);