| /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); 171 fclose($fp); 175 $lines = $this->readChunk($fp, $head, $tail); 177 return [$fp, $lines, $head, $tail, $eof]; [all …]
|
| H A D | ChangeLog.php | 168 [$fp, $lines] = $result; 169 if ($fp) { 170 fclose($fp); 237 $fp = fopen($logfile, 'rb'); // "file pointer" 238 if ($fp === false) { 241 fseek($fp, 0, SEEK_END); 242 $tail = ftell($fp); 247 $nl = $this->getNewlinepointer($fp, $finger); 261 while ($got < $read_size && !feof($fp)) { 262 $tmp = @fread($fp, max(min($this->chunk_size, $read_size - $got), 0)); [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/src/ |
| H A D | File.php | 113 $fp = curl_init(); 125 curl_setopt($fp, CURLOPT_ENCODING, ''); 127 curl_setopt($fp, CURLOPT_URL, $url); 128 curl_setopt($fp, CURLOPT_HEADER, 1); 129 curl_setopt($fp, CURLOPT_RETURNTRANSFER, 1); 130 curl_setopt($fp, CURLOPT_FAILONERROR, 1); 131 curl_setopt($fp, CURLOPT_TIMEOUT, $timeout); 132 curl_setopt($fp, CURLOPT_CONNECTTIMEOUT, $timeout); 133 curl_setopt($fp, CURLOPT_REFERER, \SimplePie\Misc::url_remove_credentials($url)); 134 curl_setopt($fp, CURLOPT_USERAGENT, $useragent); [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/ |
| H A D | SCP.php | 123 $fp = fopen('php://memory', 'w+'); 124 stream_copy_to_stream($data, $fp); 125 rewind($fp); 127 $fp = $data; 134 $fp = @fopen($data, 'rb'); 135 if (!$fp) { 141 if (isset($fp)) { 142 $stat = fstat($fp); 162 …$temp = $mode & self::SOURCE_STRING ? substr($data, $sent, $packet_size) : fread($fp, $packet_size… 173 fclose($fp); [all …]
|
| H A D | SFTP.php | 2187 $fp = fopen('php://memory', 'w+'); 2188 stream_copy_to_stream($data, $fp); 2189 rewind($fp); 2191 $fp = $data; 2198 $fp = @fopen($data, 'rb'); 2199 if (!$fp) { 2204 if (isset($fp)) { 2205 $stat = fstat($fp); 2209 fseek($fp, $local_start); 2212 fseek($fp, $offset); [all …]
|
| H A D | SSH2.php | 4634 $fp = fopen($filename, 'w'); 4635 $realtime_log_file = $fp;
|
| /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 | 737 $fp = @fopen($file, "w"); 738 if (!$fp) return false; 739 fwrite($fp, $data); 740 fclose($fp); 860 $fp = @fopen($file, "rb"); 861 if ($fp === false) return 0; 862 fseek($fp, -4, SEEK_END); 863 $buffer = fread($fp, 4); 864 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/ |
| H A D | install.php | 507 if (($fp = @fopen($filename, 'wb')) === false) { 514 fwrite($fp, $data); 516 fclose($fp);
|