Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 15 of 15) sorted by path

/dokuwiki/inc/ChangeLog/
H A DChangeLog.php96 if ($fp) {
97 fclose($fp);
175 $tail = ftell($fp);
217 fclose($fp);
314 if ($fp) {
315 fclose($fp);
411 $fp = null;
453 fclose($fp);
460 $fp,
482 fseek($fp, $head);
[all …]
/dokuwiki/inc/
H A Dfetch.functions.php89 $fp = @fopen($file, "rb");
90 if($fp) {
91 http_rangeRequest($fp, filesize($file), $mime);
H A Dio.php640 $fp = @fopen($file,"w");
641 if(!$fp) return false;
642 fwrite($fp,$data);
643 fclose($fp);
753 $fp = @fopen($file, "rb");
754 if($fp === false) return 0;
756 fseek($fp, -4, SEEK_END);
757 $buffer = fread($fp, 4);
758 fclose($fp);
H A Dmedia.php2048 $fp = @fopen($file,"w");
2049 if(!$fp) return false;
2050 fwrite($fp,$data);
2051 fclose($fp);
/dokuwiki/
H A Dinstall.php465 if (($fp = @fopen($filename, 'wb')) === false) {
471 if (!empty($data)) { fwrite($fp, $data); }
472 fclose($fp);
/dokuwiki/lib/plugins/extension/helper/
H A Dextension.php933 $fp = @fopen($file,"w");
934 if (!$fp) return false;
935 fwrite($fp, $data);
936 fclose($fp);
/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/phpseclib/phpseclib/phpseclib/Crypt/
H A DRandom.php93 static $fp = true;
94 if ($fp === true) {
97 $fp = @fopen('/dev/urandom', 'rb');
99 … if ($fp !== true && $fp !== false) { // surprisingly faster than !is_bool() or is_resource()
100 $temp = fread($fp, $length);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSCP.php175 $fp = @fopen($data, 'rb');
176 if (!$fp) {
191 … & self::SOURCE_STRING ? substr($data, $sent, $this->packet_size) : fread($fp, $this->packet_size);
202 fclose($fp);
241 $fp = @fopen($local_file, 'wb');
242 if (!$fp) {
256 fputs($fp, $data);
263 fclose($fp);
H A DSFTP.php2006 rewind($fp);
2017 if (!$fp) {
2022 if (isset($fp)) {
2023 $stat = fstat($fp);
2083 fclose($fp);
2095 if (isset($fp) && is_resource($fp)) {
2096 fclose($fp);
2215 $fp = $local_file;
2216 $stat = fstat($fp);
2222 if (!$fp) {
[all …]
H A DSSH1.php1625 $fp = fopen($filename, 'w');
1626 $this->realtime_log_file = $fp;
H A DSSH2.php4082 $fp = fopen($filename, 'w');
4083 $this->realtime_log_file = $fp;
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DFile.php93 $fp = curl_init();
116 $this->headers = curl_exec($fp);
117 if (curl_errno($fp) === 23 || curl_errno($fp) === 61)
120 $this->headers = curl_exec($fp);
122 if (curl_errno($fp))
124 $this->error = 'cURL error ' . curl_errno($fp) . ': ' . curl_error($fp);
130 if ($info = curl_getinfo($fp)) {
133 curl_close($fp);
168 if (!$fp)
208 fwrite($fp, $out);
[all …]
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DTar.php173 $fp = @fopen($output, "wb");
174 if (!$fp) {
180 fwrite($fp, $this->readbytes(512), 512);
183 fwrite($fp, $this->readbytes(512), $header['size'] % 512);
186 fclose($fp);
267 $fp = @fopen($file, 'rb');
268 if (!$fp) {
271 while (!feof($fp)) {
272 $data = fread($fp, 512);
283 fclose($fp);
H A DZip.php172 $fp = @fopen($extractto, "wb");
173 if (!$fp) {
188 fwrite($fp, $binary_data, 10);
197 fwrite($fp, $binary_data, $read_size);
204 fwrite($fp, $binary_data, 8);
208 fclose($fp);
217 $fp = @fopen($output, 'wb');
218 if (!$fp) {
227 @fwrite($fp, $binary_data, $read_size);
230 fclose($fp);