Searched refs:fp (Results 1 – 13 of 13) sorted by relevance
| /dokuwiki/inc/ChangeLog/ |
| H A D | ChangeLogTrait.php | 125 $fp = null; 138 $fp = fopen($file, 'rb'); // "file pointer" 139 if ($fp === false) { 142 fseek($fp, 0, SEEK_END); 143 $eof = ftell($fp); 149 $finger = $this->getNewlinepointer($fp, $finger); 150 $tmp = fgets($fp); 166 fclose($fp); 170 $lines = $this->readChunk($fp, $head, $tail); 172 return [$fp, $lines, $head, $tail, $eof]; [all …]
|
| H A D | ChangeLog.php | 166 [$fp, $lines] = $this->readloglines($rev); 167 if ($fp) { 168 fclose($fp); 235 $fp = fopen($logfile, 'rb'); // "file pointer" 236 if ($fp === false) { 239 fseek($fp, 0, SEEK_END); 240 $tail = ftell($fp); 245 $nl = $this->getNewlinepointer($fp, $finger); 259 while ($got < $read_size && !feof($fp)) { 260 $tmp = @fread($fp, max(min($this->chunk_size, $read_size - $got), 0)); [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/src/ |
| H A D | File.php | 91 $fp = curl_init(); 97 curl_setopt($fp, CURLOPT_ENCODING, ''); 99 curl_setopt($fp, CURLOPT_URL, $url); 100 curl_setopt($fp, CURLOPT_HEADER, 1); 101 curl_setopt($fp, CURLOPT_RETURNTRANSFER, 1); 102 curl_setopt($fp, CURLOPT_FAILONERROR, 1); 103 curl_setopt($fp, CURLOPT_TIMEOUT, $timeout); 104 curl_setopt($fp, CURLOPT_CONNECTTIMEOUT, $timeout); 105 curl_setopt($fp, CURLOPT_REFERER, \SimplePie\Misc::url_remove_credentials($url)); 106 curl_setopt($fp, CURLOPT_USERAGENT, $useragent); [all …]
|
| /dokuwiki/vendor/kissifrot/php-ixr/src/Client/ |
| H A D | Client.php | 95 $fp = fsockopen($this->server, $this->port, $errno, $errstr, $this->timeout); 97 $fp = false; 101 $fp = fsockopen($this->server, $this->port, $errno, $errstr); 103 $fp = false; 106 if (!$fp) { 110 stream_set_timeout($fp, $this->timeout_io); 112 fputs($fp, $request); 117 while (!feof($fp)) { 118 $line = fgets($fp, 4096);
|
| /dokuwiki/lib/plugins/logviewer/ |
| H A D | admin.php | 143 $fp = fopen($logfilePath, 'r'); 145 if (!$fp) throw new Exception($lang['log_file_failed_to_open']); 152 fseek($fp, -$toread, SEEK_END); 155 $logData = fread($fp, $toread); 171 fclose($fp);
|
| /dokuwiki/vendor/splitbrain/php-archive/src/ |
| H A D | Zip.php | 189 $fp = @fopen($extractto, "wb"); 190 if (!$fp) { 205 fwrite($fp, $binary_data, 10); 214 fwrite($fp, $binary_data, $read_size); 221 fwrite($fp, $binary_data, 8); 225 fclose($fp); 234 $fp = @fopen($output, 'wb'); 235 if (!$fp) { 244 @fwrite($fp, $binary_data, $read_size); 247 fclose($fp); [all …]
|
| H A D | Tar.php | 224 $fp = @fopen($output, "wb"); 225 if (!$fp) { 231 fwrite($fp, $this->readbytes(512), 512); 234 fwrite($fp, $this->readbytes(512), $header['size'] % 512); 237 fclose($fp); 318 $fp = @fopen($file, 'rb'); 319 if (!$fp) { 322 while (!feof($fp)) { 324 $data = fread($fp, self::READ_CHUNK_SIZE); 345 fclose($fp);
|
| /dokuwiki/inc/ |
| H A D | fetch.functions.php | 96 $fp = @fopen($file, "rb"); 97 if ($fp) { 98 http_rangeRequest($fp, filesize($file), $mime);
|
| H A D | io.php | 687 $fp = @fopen($file, "w"); 688 if (!$fp) return false; 689 fwrite($fp, $data); 690 fclose($fp); 810 $fp = @fopen($file, "rb"); 811 if ($fp === false) return 0; 812 fseek($fp, -4, SEEK_END); 813 $buffer = fread($fp, 4); 814 fclose($fp);
|
| H A D | media.php | 1945 $fp = @fopen($file, "w"); 1946 if (!$fp) return false; 1947 fwrite($fp, $data); 1948 fclose($fp);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/ |
| H A D | SFTP.php | 2180 $fp = fopen('php://memory', 'w+'); 2181 stream_copy_to_stream($data, $fp); 2182 rewind($fp); 2184 $fp = $data; 2191 $fp = @fopen($data, 'rb'); 2192 if (!$fp) { 2197 if (isset($fp)) { 2198 $stat = fstat($fp); 2202 fseek($fp, $local_start); 2205 fseek($fp, $offset); [all …]
|
| H A D | SSH2.php | 4567 $fp = fopen($filename, 'w'); 4568 $realtime_log_file = $fp;
|
| /dokuwiki/ |
| H A D | install.php | 507 if (($fp = @fopen($filename, 'wb')) === false) { 514 fwrite($fp, $data); 516 fclose($fp);
|