Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 17 of 17) sorted by last modified time

/dokuwiki/inc/
H A Dio.php686 $fp = @fopen($file, "w");
687 if (!$fp) return false;
688 fwrite($fp, $data);
689 fclose($fp);
809 $fp = @fopen($file, "rb");
810 if ($fp === false) return 0;
811 fseek($fp, -4, SEEK_END);
812 $buffer = fread($fp, 4);
813 fclose($fp);
H A Dmedia.php1937 $fp = @fopen($file, "w");
1938 if (!$fp) return false;
1939 fwrite($fp, $data);
1940 fclose($fp);
H A Dfetch.functions.php96 $fp = @fopen($file, "rb");
97 if ($fp) {
98 http_rangeRequest($fp, filesize($file), $mime);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRandom.php
/dokuwiki/vendor/kissifrot/php-ixr/src/Client/
H A DClient.php95 $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/vendor/splitbrain/php-archive/src/
H A DTar.php194 $fp = @fopen($output, "wb");
195 if (!$fp) {
201 fwrite($fp, $this->readbytes(512), 512);
204 fwrite($fp, $this->readbytes(512), $header['size'] % 512);
207 fclose($fp);
288 $fp = @fopen($file, 'rb');
289 if (!$fp) {
292 while (!feof($fp)) {
293 $data = fread($fp, 512);
304 fclose($fp);
[all...]
H A DZip.php189 $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...]
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php143 $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/lib/plugins/extension/helper/
H A Dextension.php950 $fp = @fopen($file, "w");
951 if (!$fp) return false;
952 fwrite($fp, $data);
953 fclose($fp);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH1.php
H A DSSH2.php4505 $fp = fopen($filename, 'w');
4506 $realtime_log_file = $fp;
H A DSCP.php
H A DSFTP.php2178 $fp = fopen('php://memory', 'w+');
2179 stream_copy_to_stream($data, $fp);
2180 rewind($fp);
2182 $fp = $data;
2189 $fp = @fopen($data, 'rb');
2190 if (!$fp) {
2195 if (isset($fp)) {
2196 $stat = fstat($fp);
2200 fseek($fp, $local_start);
2203 fseek($fp,
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DFile.php92 $fp = curl_init();
98 curl_setopt($fp, CURLOPT_ENCODING, '');
100 curl_setopt($fp, CURLOPT_URL, $url);
101 curl_setopt($fp, CURLOPT_HEADER, 1);
102 curl_setopt($fp, CURLOPT_RETURNTRANSFER, 1);
103 curl_setopt($fp, CURLOPT_FAILONERROR, 1);
104 curl_setopt($fp, CURLOPT_TIMEOUT, $timeout);
105 curl_setopt($fp, CURLOPT_CONNECTTIMEOUT, $timeout);
106 curl_setopt($fp, CURLOPT_REFERER, \SimplePie\Misc::url_remove_credentials($url));
107 curl_setopt($fp, CURLOPT_USERAGEN
[all...]
/dokuwiki/
H A Dinstall.php507 if (($fp = @fopen($filename, 'wb')) === false) {
514 fwrite($fp, $data);
516 fclose($fp);
/dokuwiki/inc/ChangeLog/
H A DChangeLog.php166 [$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, ma
[all...]
H A DChangeLogTrait.php113 * if success returns array(fp, array(changeloglines), $head, $tail, $eof)
114 * where fp only defined for chuck reading, needs closing.
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);
190 readChunk($fp, $head, $tail) global() argument
216 getNewlinepointer($fp, $finger) global() argument
239 readAdjacentChunk($fp, $head, $tail, $direction) global() argument
[all...]