/plugin/simplechat/ |
H A D | ajax.php | 47 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 D | syntax.php | 99 $fh = @fopen( $filename, "r" ); 100 if( $fh ) { 101 while(!feof($fh)){ 102 $line = fgets($fh); 108 fclose($fh);
|
/plugin/toolbox/ |
H A D | extension.php | 13 $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/svg/ |
H A D | install.php | 57 $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 D | syntax.php | 155 $fh = fopen( SYNTAX_PLUGIN_SVG_MEDIADIR . 'media/' . $filename, 'w' ); 156 fwrite( $fh, $this->xml_data ); 157 fclose( $fh );
|
/plugin/booking/ |
H A D | helper.php | 47 $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 D | debug.php | 70 $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/supa/helper/ |
H A D | helper.php | 44 $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 D | Flate.php | 46 $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/elwikiupgrade/ |
H A D | VerboseTarLib.class.php | 21 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/upgrade/ |
H A D | VerboseTarLib.class.php | 21 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/spatialhelper/helper/ |
H A D | sitemap.php | 104 $fh = fopen(mediaFN($mediaID), 'wb'); 105 fwrite($fh, $RSSstart); 139 fwrite($fh, $entry); 144 fwrite($fh, $RSSend); 145 return fclose($fh); 199 $fh = fopen(mediaFN($mediaID), 'wb'); 200 fwrite($fh, $KMLstart); 238 fwrite($fh, $plcm); 242 fwrite($fh, $KMLend); 243 return fclose($fh);
|
/plugin/freechat/phpfreechat/src/ |
H A D | pfctools.php | 300 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/dw2pdf/vendor/mpdf/mpdf/src/ |
H A D | RemoteContentFetcher.php | 109 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/vote/ |
H A D | syntax.php | 158 $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/freechat/phpfreechat/src/containers/ |
H A D | file.class.php | 210 $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 D | spellchecker.php | 86 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 D | spellchecker.pl | 54 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 D | spellchecker.php | 82 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 D | spellchecker.pl | 54 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 D | packer.php | 79 $fh = @fopen($filename, 'rb'); 80 while (!feof($fh)) { 81 echo fread($fh, 1024); 83 fclose($fh);
|
/plugin/bibtex/OSBib/ |
H A D | LOADSTYLE.php | 45 if($fh = fopen($stylesDir . '/' . $dir . "/" . $fileName, "r")) 47 preg_match("/<description>(.*)<\\/description>/i", fgets($fh), $matches); 50 fclose($fh);
|
/plugin/maintenance/ |
H A D | helper.php | 54 $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/quickstats/GEOIP/vendor/ |
H A D | check_dir.php | 10 $fh = opendir($start_dir); 11 while (($file = readdir($fh)) !== false) { 40 closedir($fh);
|
/plugin/dokumicrobugtracker/ |
H A D | edit.php | 80 $fh = fopen($pfile, 'w'); variable 81 fwrite($fh, serialize($bugs)); 82 fclose($fh);
|