_server/functions.incl.php
/**
	 * Get the file content
	 * @return mixed False if there is an open or locked error, a string if the content was fully readed
	 */
Get the file content
@return mixed False if there is an open or locked error, a string if the content was fully readed
Get the file content @return mixed False if there is an open or locked error a string if the content was fully readed
public function read(){
		if($this->file === false && $this->locked !== true){
			return false;
		}
		fseek($this->file, 0);
		$result = "";
		while(!feof($this->file)){
			$result .= fgets($this->file, 4096);
		}
		return $result;
	}
public function read ( ) { if ( $ this -> file === false && $ this -> locked !== true ) { return false ; } fseek ( $ this -> file , 0 ) ; $ result = " " ; while ( ! feof ( $ this -> file ) ) { $ result .= fgets ( $ this -> file , 4096 ) ; } return $ result ; }
Get the file content
 @return mixed False if there is an open or locked error, a string if the content was fully readed
Get the file content @return mixed False if there is an open or locked error a string if the content was fully readed
//Start from beginning //Read data