Searched refs:fh (Results 1 – 10 of 10) sorted by relevance
/dokuwiki/vendor/splitbrain/php-archive/src/ |
D | Zip.php | 21 protected $fh; variable in splitbrain\\PHPArchive\\Zip 57 $this->fh = @fopen($this->file, 'rb'); 58 if (!$this->fh) { 102 @rewind($this->fh); 103 @fseek($this->fh, $centd['offset']); 150 @fseek($this->fh, $pos_entry); 153 … $pos_entry = ftell($this->fh); // position of the next file in central file directory 154 fseek($this->fh, $header['offset']); // seek to beginning of file header 212 $buffer = fread($this->fh, $read_size); 275 $this->fh = 0; [all …]
|
D | Tar.php | 23 protected $fh; variable in splitbrain\\PHPArchive\\Tar 68 $this->fh = @gzopen($this->file, 'rb'); 70 $this->fh = @bzopen($this->file, 'r'); 72 $this->fh = @fopen($this->file, 'rb'); 75 if (!$this->fh) { 267 $this->fh = 0; 276 $this->fh = @gzopen($this->file, 'wb'.$this->complevel); 278 $this->fh = @bzopen($this->file, 'w'); 280 $this->fh = @fopen($this->file, 'wb'); 283 if (!$this->fh) { [all …]
|
/dokuwiki/_test/core/ |
D | TestUtils.php | 74 $fh = fopen($file, 'a'); 75 fwrite($fh, $text); 76 fclose($fh);
|
/dokuwiki/inc/ |
D | io.php | 261 $fh = @gzopen($file, $mode . '9'); 262 if (!$fh) return false; 263 gzwrite($fh, $content); 264 gzclose($fh); 272 $fh = @bzopen($file, 'w'); 273 if (!$fh) return false; 274 bzwrite($fh, $content); 275 bzclose($fh); 277 $fh = @fopen($file, $mode); 278 if (!$fh) return false; [all …]
|
D | httputils.php | 94 * @param resource $fh - file handle for an already open file 100 function http_rangeRequest($fh, $size, $mime) argument 168 fseek($fh, $start); //seek to start of range 170 while (!feof($fh) && $chunk > 0) { 172 echo fread($fh, $chunk);
|
D | init.php | 367 $fh = @fopen($file, 'a'); 368 if ($fh) { 369 fclose($fh);
|
D | media.php | 652 $fh = @fopen($file, 'rb'); 653 if ($fh) { 654 $bytes = fread($fh, 256); 655 fclose($fh);
|
/dokuwiki/lib/plugins/config/core/ |
D | Writer.php | 45 if (!$fh = @fopen($this->savefile, 'wb')) { 62 fwrite($fh, $out); 63 fclose($fh);
|
/dokuwiki/inc/Search/ |
D | Indexer.php | 1020 $fh = @fopen($fn . '.tmp', 'w'); 1021 if (!$fh) return false; 1022 fwrite($fh, implode("\n", $lines)); 1024 fwrite($fh, "\n"); 1025 fclose($fh); 1047 $fh = @fopen($fn, 'r'); 1048 if (!$fh) return ''; 1050 while (($line = fgets($fh)) !== false) { 1053 fclose($fh); 1074 $fh = @fopen($fn . '.tmp', 'w'); [all …]
|
/dokuwiki/lib/plugins/extension/ |
D | Installer.php | 502 $fh = fopen($archive, 'rb'); 503 if (!$fh) throw new Exception('error_archive_read', [$archive]); 504 $magic = fread($fh, 5); 505 fclose($fh);
|