Exemplo n.º 1
0
 public static function fopen()
 {
     self::$fp = fopen(self::$file, "r") or die("Can't open file");
     self::$data = fread(self::$fp, filesize(self::$file));
     return self::$data;
 }