Changeset 118 for trunk/includes/stream.php
- Timestamp:
- Feb 21, 2009, 4:06:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/stream.php
r117 r118 67 67 { 68 68 return(fread($this->Handle, 1)); 69 } 70 71 public function ReadLine() 72 { 73 return(fgets($this->Handle)); 69 74 } 70 75 … … 99 104 fwrite($this->Handle, "\0", 1); 100 105 } 106 107 public function WriteLine() 108 { 109 fputs($this->Handle); 110 } 101 111 102 112 public function Seek($Position, $Type = SEEK_SET) … … 114 124 return(filesize($this->FileName)); 115 125 } 126 127 public function EOF() 128 { 129 return(feof($this->Handle)); 130 } 116 131 } 117 132
Note:
See TracChangeset
for help on using the changeset viewer.