Home
last modified time | relevance | path

Searched refs:fh (Results 1 – 25 of 77) sorted by relevance

1234

/plugin/simplechat/
H A Dajax.php47 fclose($fh );
59 if( $fh ) {
60 while(!feof($fh)){
61 $line = fgets($fh);
65 fclose($fh);
75 $fh = fopen($filename,'a+'); variable
76 fwrite( $fh , $newmsgline );
77 fclose($fh );
81 $fh = fopen($filename,'a+'); variable
82 fwrite( $fh , $newmsgline );
[all …]
H A Dsyntax.php99 $fh = @fopen( $filename, "r" );
100 if( $fh ) {
101 while(!feof($fh)){
102 $line = fgets($fh);
108 fclose($fh);
/plugin/toolbox/
H A Dextension.php13 $fh = fopen(__DIR__ . '/extension/script.js', 'w'); variable
16 fwrite($fh, "/**
30 fwrite($fh, 'var toolbox_lang = ' . json_encode($lang['js']) . ";\n");
33 …fwrite($fh, "var toolbox_icon = '//github.com/splitbrain/dokuwiki-plugin-toolbox/raw/master/pix/';…
39 fwrite($fh, file_get_contents($script));
43 fwrite($fh, "var tb = document.getElementById('toolbox__picker');");
44 fwrite($fh, "if(!tb) initToolbar('tool__bar','wiki__text',toolbar);");
47 fclose($fh);
/plugin/booking/
H A Dhelper.php47 $fh = fopen($file, 'r');
48 if (!$fh) return [];
52 while (($line = fgets($fh, 4096)) !== false) {
72 fclose($fh);
147 $fh = fopen($file, 'r+');
148 if (!$fh) return false;
155 while (($line = fgets($fh, 4096)) !== false) {
161 fseek($fh, -1 * $len, SEEK_CUR); // jump back to beginning of line
162 fwrite($fh, str_pad('', $len - 1)); // write spaces instead (keep new line)
165 fclose($fh);
/plugin/siteexport/inc/
H A Ddebug.php70 $fh = false;
78 $fh = @fopen($this->debugFile, "a+");
79 if ( !$fh && !$ajaxCanLog ) {
97 if ( $fh !== false ) {
98 fwrite($fh, $log);
120 if ( $fh ) {
121 fwrite($fh, $log);
128 if ( $fh ) {
129 fclose($fh);
/plugin/svg/
H A Dinstall.php57 $fh = fopen( SYNTAX_PLUGIN_SVG_MEDIADIR . '.install.php', 'w' );
58 fwrite( $fh, '<?php define("SYNTAX_PLUGIN_SVG_INSTALLED",true); ?>' );
59 fclose( $fh );
61 $fh = fopen( SYNTAX_PLUGIN_SVG_MEDIADIR . 'media/.htaccess', 'w' );
62 fwrite( $fh, "order allow,deny\nallow from all\n" );
63 fclose( $fh );
H A Dsyntax.php155 $fh = fopen( SYNTAX_PLUGIN_SVG_MEDIADIR . 'media/' . $filename, 'w' );
156 fwrite( $fh, $this->xml_data );
157 fclose( $fh );
/plugin/supa/helper/
H A Dhelper.php44 $fh = fopen( $filename, 'r' );
45 $data = fread( $fh, filesize( $filename ) );
46 fclose( $fh );
55 $fh = fopen( $filename, "w" );
56 fwrite( $fh, $decoded );
57 fclose( $fh );
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfParser/Filter/
H A DFlate.php46 $fh = fopen('php://temp', 'w+b');
47 fwrite($fh, "\x1f\x8b\x08\x00\x00\x00\x00\x00" . $oData);
48 stream_filter_append($fh, 'zlib.inflate', STREAM_FILTER_READ, ['window' => 30]);
49 fseek($fh, 0);
50 $data = stream_get_contents($fh);
51 fclose($fh);
/plugin/upgrade/
H A DVerboseTarLib.class.php21 protected $fh; variable in VerboseTar
42 $this->fh = @gzopen($this->file, 'rb');
44 $this->fh = @bzopen($this->file, 'r');
46 $this->fh = @fopen($this->file, 'rb');
220 $this->fh = 0;
330 gzclose($this->fh);
332 bzclose($this->fh);
334 fclose($this->fh);
338 $this->fh = 0;
391 return @fread($this->fh, $length);
[all …]
/plugin/elwikiupgrade/
H A DVerboseTarLib.class.php21 protected $fh; variable in VerboseTar
42 $this->fh = @gzopen($this->file, 'rb');
44 $this->fh = @bzopen($this->file, 'r');
46 $this->fh = @fopen($this->file, 'rb');
220 $this->fh = 0;
330 gzclose($this->fh);
332 bzclose($this->fh);
334 fclose($this->fh);
338 $this->fh = 0;
391 return @fread($this->fh, $length);
[all …]
/plugin/freechat/phpfreechat/src/
H A Dpfctools.php300 if (!flock($fh, LOCK_SH)) {
306 $data = fread($fh, $fsize);
309 while (!feof($fh)) {
310 $data .= fread($fh, 8192);
314 fclose($fh);
334 $data = fread($fh, $fsize);
338 while (!feof($fh)) {
339 $data .= fread($fh, 8192);
342 fclose($fh);
407 if (!flock($fh, LOCK_EX)) {
[all …]
/plugin/spatialhelper/helper/
H A Dsitemap.php99 $fh = fopen(mediaFN($mediaID), 'w');
100 fwrite($fh, $RSSstart);
134 fwrite($fh, $entry);
139 fwrite($fh, $RSSend);
140 return fclose($fh);
194 $fh = fopen(mediaFN($mediaID), 'w');
195 fwrite($fh, $KMLstart);
233 fwrite($fh, $plcm);
237 fwrite($fh, $KMLend);
238 return fclose($fh);
/plugin/vote/
H A Dsyntax.php158 $fh = fopen( $vote_log_file, 'w' );
159 fwrite( $fh, serialize( $vote_skelton ) );
160 fclose( $fh );
170 $fh = fopen( $file, 'a' );
171 fwrite( $fh, $data );
172 fclose( $fh );
195 $fh = fopen( $vote_log_file, 'w' );
196 fwrite( $fh, serialize( $vote_log ) );
197 fclose( $fh);
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DRemoteContentFetcher.php109 if (!($fh = @fsockopen($prefix . $p['host'], $port, $errno, $errstr, $timeout))) {
118 fwrite($fh, $getstring);
121 $s = fgets($fh, 1024);
126 while (!feof($fh)) {
127 $s = fgets($fh, 1024);
135 while (!feof($fh)) {
136 $data .= fgets($fh, 1024);
139 fclose($fh);
/plugin/freechat/phpfreechat/src/containers/
H A Dfile.class.php210 $fh = fopen($leaffilename, 'r+');
213 if (flock($fh, LOCK_EX))
215 $leafvalue = chop(fread($fh, filesize($leaffilename)));
217 rewind($fh);
218 fwrite($fh, $leafvalue);
219 fflush($fh);
220 ftruncate($fh, ftell($fh));
221 flock($fh, LOCK_UN);
228 fclose($fh);
/plugin/fckg/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/
H A Dspellchecker.php86 if( $fh = fopen( $tempfile, 'w' )) {
94 fwrite ( $fh, "%\n" ); # exit terse mode
95 fwrite ( $fh, "^$input_separator\n" );
96 fwrite ( $fh, "!\n" ); # enter terse mode
99 fwrite( $fh, "^$value\n" );
102 fclose( $fh );
H A Dspellchecker.pl54 my( $fh, $tmpfilename ) = tempfile( DIR => $dir );
64 print $fh "\%\n"; # exit terse mode
65 print $fh "^$input_separator\n";
66 print $fh "!\n"; # enter terse mode
69 print $fh "^$line\n";
/plugin/wysiwyg/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/
H A Dspellchecker.php82 if( $fh = fopen( $tempfile, 'w' )) {
86 fwrite ( $fh, "%\n" ); # exit terse mode
87 fwrite ( $fh, "^$input_separator\n" );
88 fwrite ( $fh, "!\n" ); # enter terse mode
91 fwrite( $fh, "^$value\n" );
94 fclose( $fh );
H A Dspellchecker.pl54 my( $fh, $tmpfilename ) = tempfile( DIR => $dir );
62 print $fh "\%\n"; # exit terse mode
63 print $fh "^$input_separator\n";
64 print $fh "!\n"; # enter terse mode
67 print $fh "^$line\n";
/plugin/nsexport/packer/
H A Dpacker.php79 $fh = @fopen($filename, 'rb');
80 while (!feof($fh)) {
81 echo fread($fh, 1024);
83 fclose($fh);
/plugin/maintenance/
H A Dhelper.php54 $fh = fopen($lockfile, 'wb');
55 if (flock($fh, LOCK_EX | LOCK_NB)) {
116 $fh = fopen($lockfile, 'wb');
117 if (flock($fh, LOCK_EX | LOCK_NB)) {
118 @flock($fh, LOCK_UN);
/plugin/bibtex/OSBib/
H A DLOADSTYLE.php45 if($fh = fopen($stylesDir . '/' . $dir . "/" . $fileName, "r"))
47 preg_match("/<description>(.*)<\\/description>/i", fgets($fh), $matches);
50 fclose($fh);
/plugin/quickstats/GEOIP/vendor/
H A Dcheck_dir.php10 $fh = opendir($start_dir);
11 while (($file = readdir($fh)) !== false) {
40 closedir($fh);
/plugin/farmer/3rdparty/
H A DPHPIco.php111 if ( false === ( $fh = fopen( $file, 'w' ) ) )
114 if ( false === ( fwrite( $fh, $data ) ) ) {
115 fclose( $fh );
119 fclose( $fh );

1234