100+ results results for 'php fgets repo:MightyGorgon/icy_phoenix' (2654 ms)
1<?php 2 3/* 4 * This is a PHP library that handles calling reCAPTCHA. 5 * - Documentation and latest version 5 * - Documentation and latest version 6 * http://recaptcha.net/plugins/php/ 7 * - Get a reCAPTCHA API Key 75 $http_request .= "Content-Length: " . strlen($req) . "\r\n"; 76 $http_request .= "User-Agent: reCAPTCHA/PHP\r\n"; 77 $http_request .= "\r\n"; 87 while ( !feof($fs) ) 88 $response .= fgets($fs, 1160); // One TCP-IP packet 89 fclose($fs); 216 if (! function_exists ("mcrypt_encrypt")) { 217 die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed."); 218 }stats.php http://tux-target.googlecode.com/svn/trunk/ | PHP | 407 lines
10 11<?php 12function generateHtml($server) 82 while (!feof($fp)): 83 $line = fgets($fp, 2048); 84 $out = array(substr($line,0,strlen($line)-1));//remove \n 397while (!feof($html_fp)): 398 $line = fgets($html_fp, 2048); 399 echo $line;SYLK.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 450 lines
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 44 */ 45class PHPExcel_Reader_SYLK extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader 46{ 213 /** 214 * Loads PHPExcel from file into PHPExcel instance 215 * 216 * @param string $pFilename 217 * @param PHPExcel $objPHPExcel 218 * @return PHPExcel 220 */ 221 public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) 222 {class-zip.php https://gitlab.com/endomorphosis/falkenstein | PHP | 306 lines
1<?php 2 117 if (is_array($read) && in_array($pipes[1], $read)) { 118 $w = fgets($pipes[1]); 119 // Logging all this really slows things down; use debug to mitigate 140 if (is_array($read) && in_array($pipes[2], $read)) { 141 $last_error = fgets($pipes[2]); 142 if (!empty($last_error)) $this->last_error = rtrim($last_error); 217 public function open($path, $flags = 0) { 218 if(!class_exists('PclZip')) include_once(ABSPATH.'/wp-admin/includes/class-pclzip.php'); 219 if(!class_exists('PclZip')) {Proxy.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 284 lines
1<?php 2 26 */ 27require_once 'Zend/Uri/Http.php'; 28/** 30 */ 31require_once 'Zend/Http/Client.php'; 32/** 34 */ 35require_once 'Zend/Http/Client/Adapter/Socket.php'; 36 125 if (! $this->socket) { 126 require_once 'Zend/Http/Client/Adapter/Exception.php'; 127 throw new Zend_Http_Client_Adapter_Exception("Trying to write but we are not connected"); 133 if ($this->connected_to[0] != "tcp://$host" || $this->connected_to[1] != $port) { 134 require_once 'Zend/Http/Client/Adapter/Exception.php'; 135 throw new Zend_Http_Client_Adapter_Exception("Trying to write but we are connected to the wrong proxy server");recaptchalib.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 277 lines
1<?php 2/* 2/* 3 * This is a PHP library that handles calling reCAPTCHA. 4 * - Documentation and latest version 4 * - Documentation and latest version 5 * http://recaptcha.net/plugins/php/ 6 * - Get a reCAPTCHA API Key 74 $http_request .= "Content-Length: " . strlen($req) . "\r\n"; 75 $http_request .= "User-Agent: reCAPTCHA/PHP\r\n"; 76 $http_request .= "\r\n"; 86 while ( !feof($fs) ) 87 $response .= fgets($fs, 1160); // One TCP-IP packet 88 fclose($fs); 215 if (! function_exists ("mcrypt_encrypt")) { 216 die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed."); 217 }Stream.php https://gitlab.com/yousafsyed/easternglamor | PHP | 297 lines
1<?php 2/** 16/** 17 * Represents an HTTP response message as PHP stream resource 18 */ 175 if (!$headerComplete) { 176 while (false !== ($nextLine = fgets($stream))) { 177 $headersString .= trim($nextLine)."\r\n";class-terminus.php https://gitlab.com/Blueprint-Marketing/cli | PHP | 417 lines
27 if(!$configurator) { 28 $configurator = new Terminus\Configurator(TERMINUS_ROOT . '/php/config-spec.php'); 29 } 211 212 $answer = trim(fgets(STDIN)); 213 337 338 $php_bin = self::get_php_binary(); 339 340 if(Terminus::is_test()) { 341 $script_path = __DIR__.'/boot-fs.php'; 342 } else { 354 private static function get_php_binary() { 355 if(defined('PHP_BINARY')) 356 return PHP_BINARY;class.pop3.php https://gitlab.com/vince.omega/ajax-form | PHP | 397 lines
1<?php 2/** 2/** 3 * PHPMailer POP-Before-SMTP Authentication Class. 4 * PHP Version 5 5 * @package PHPMailer 6 * @link https://github.com/PHPMailer/PHPMailer/ 7 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk> 20/** 21 * PHPMailer POP-Before-SMTP Authentication Class. 22 * Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication. 23 * Does not support APOP. 24 * @package PHPMailer 25 * @author Richard Davey (original author) <rich@corephp.co.uk> 25 * @author Richard Davey (original author) <rich@corephp.co.uk> 26 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk> 27 * @author Jim Jagielski (jimjag) <jimjag@gmail.com>Data.php https://gitlab.com/flyhope/Hiblog | PHP | 404 lines
1<?php 2/** 389 if ($fp) { 390 while (!feof($fp) && ($current_line = fgets($fp)) !== false) { 391 $_result .= $current_line;functions.recaptchalib.php https://gitlab.com/sheldonels/Garden | PHP | 278 lines
1<?php 2/* 2/* 3 * This is a PHP library that handles calling reCAPTCHA. 4 * - Documentation and latest version 4 * - Documentation and latest version 5 * http://recaptcha.net/plugins/php/ 6 * - Get a reCAPTCHA API Key 74 $http_request .= "Content-Length: " . strlen($req) . "\r\n"; 75 $http_request .= "User-Agent: reCAPTCHA/PHP\r\n"; 76 $http_request .= "\r\n"; 86 while ( !feof($fs) ) 87 $response .= fgets($fs, 1160); // One TCP-IP packet 88 fclose($fs); 216 if (! function_exists ("mcrypt_encrypt")) { 217 die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed."); 218 }Server.php https://gitlab.com/robfrawley/php-memcached-admin | PHP | 513 lines
1<?php 2/** 5 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0 6 * @package phpMemcachedAdmin 7 */ 61 # Getting first line 62 $buffer = fgets($handle); 63 79 # Getting line 80 $line = fgets($handle); 81QuestionHelper.php https://gitlab.com/matijabelec/bigpandadev | PHP | 446 lines
1<?php 2 104 * 105 * This method is public for PHP 5.3 compatibility, it should be private. 106 * 134 if (false === $ret) { 135 $ret = fgets($inputStream, 4096); 136 if (false === $ret) { 349 shell_exec('stty -echo'); 350 $value = fgets($inputStream, 4096); 351 shell_exec(sprintf('stty %s', $sttyMode));mail.php https://gitlab.com/2202Programming/navxmxp | PHP | 406 lines
95 $header .= 'Return-Path: ' . $this->from . $this->newline; 96 $header .= 'X-Mailer: PHP/' . phpversion() . $this->newline; 97 $header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline . $this->newline; 162 163 while ($line = fgets($handle, 515)) { 164 if (substr($line, 3, 1) == ' ') { 171 172 while ($line = fgets($handle, 515)) { 173 $reply .= $line; 224 225 while ($line = fgets($handle, 515)) { 226 $reply .= $line; 241 242 while ($line = fgets($handle, 515)) { 243 $reply .= $line;CsvBulkLoader.php https://gitlab.com/djpmedia/silverstripe-framework | PHP | 453 lines
1<?php 2 123 } 124 print $failedMessage . PHP_EOL; 125 } finally { 175 if ($this->hasHeaderRow) { 176 $header = fgets($from); 177 fwrite($to, $header); 185 while (!feof($from)) { 186 fwrite($to, fgets($from)); 187SYLK.php https://PHPExcel.svn.codeplex.com/svn | PHP | 507 lines
37/** PHPExcel */ 38require_once PHPEXCEL_ROOT . 'PHPExcel.php'; 39 40/** PHPExcel_Reader_IReader */ 41require_once PHPEXCEL_ROOT . 'PHPExcel/Reader/IReader.php'; 42 43/** PHPExcel_Worksheet */ 44require_once PHPEXCEL_ROOT . 'PHPExcel/Worksheet.php'; 45 46/** PHPExcel_Cell */ 47require_once PHPEXCEL_ROOT . 'PHPExcel/Cell.php'; 48 52 /** PHPExcel_Reader_DefaultReadFilter */ 53require_once PHPEXCEL_ROOT . 'PHPExcel/Reader/DefaultReadFilter.php'; 54generate-includes.php https://gitlab.com/Griffolion/Game-Embargo-Tracker | PHP | 192 lines
137// stub 138$php = "<?php 139 164echo "Writing HTMLPurifier.includes.php... "; 165file_put_contents('HTMLPurifier.includes.php', $php); 166echo "done!\n"; 167 168$php = "<?php 169 184foreach ($files as $file) { 185 $php .= "require_once \$__dir . '/$file';" . PHP_EOL; 186} 188echo "Writing HTMLPurifier.safe-includes.php... "; 189file_put_contents('HTMLPurifier.safe-includes.php', $php); 190echo "done!\n";Proxy.php https://gitlab.com/fabiorf/moip-php | PHP | 268 lines
1<?php 2 18 * @subpackage Client_Adapter 19 * @version $Id: Proxy.php 9868 2008-07-02 06:47:38Z shahar $ 20 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 23 24require_once 'Zend/Uri/Http.php'; 25require_once 'Zend/Http/Client.php'; 25require_once 'Zend/Http/Client.php'; 26require_once 'Zend/Http/Client/Adapter/Socket.php'; 27 96 $this->close(); 97 require_once 'Zend/Http/Client/Adapter/Exception.php'; 98 throw new Zend_Http_Client_Adapter_Exception( 103 if (!stream_set_timeout($this->socket, (int) $this->config['timeout'])) { 104 require_once 'Zend/Http/Client/Adapter/Exception.php'; 105 throw new Zend_Http_Client_Adapter_Exception('Unable to set the connection timeout');SMTP.php https://gitlab.com/staging06/myproject | PHP | 452 lines
1<?php 2 10 11require_once dirname(__FILE__) . "/../ClassLoader.php"; 12Swift_ClassLoader::load("Swift_ConnectionBase"); 211 * See the constants ENC_TLS, ENC_SSL and ENC_OFF 212 * NOTE: PHP needs to have been compiled with OpenSSL for SSL and TLS to work 213 * NOTE: Some PHP installations will not have the TLS stream wrapper 246 stream_set_timeout($this->handle, $this->timeout); 247 $tmp = @fgets($this->handle); 248 if ($tmp === false && !feof($this->handle)) 359 { 360 if (preg_match("/^[A-Za-z0-9-]+\\.php\$/", $file) && $file != "index.php") 361 {share.php https://gitlab.com/AaronDeb/cloudbox | PHP | 190 lines
1<?PHP 2include 'init.php'; 58 59 while ($line = fgets($fh)) { 60 $fileArray[$i] = $line;console.php https://gitlab.com/BeS/io.schiessle.org | PHP | 169 lines
1#!/usr/bin/env php 2<?php 25$helptext = <<<ENDOFHELP 26console.php - provide an interactive PHP interpreter for testing 27 59 } else { 60 return fgets(STDIN); 61 } 64/** 65 * On Unix-like systems where PHP readline extension isn't present, 66 * -cough- Mac OS X -cough- we can shell out to bash to do it for us. 96 // Shell probably spit out an error message, sorry :( 97 // Fall through to fgets()... 98 } else { 110 } 111 return fgets(STDIN); 112}vnstat.php https://gitlab.com/billyprice1/QuickBox | PHP | 136 lines
1<?php 2 7 8 if (isset($_SERVER['PHP_SELF'])) { 9 $script = $_SERVER['PHP_SELF']; 59 while (!feof($fd)) { 60 $buffer .= fgets($fd); 61 }Mbox.php https://gitlab.com/yousafsyed/easternglamor | PHP | 447 lines
1<?php 2/** 27 */ 28// #require_once 'Zend/Loader.php'; 29 32 */ 33#require_once 'Zend/Mail/Storage/Abstract.php'; 34 37 */ 38#require_once 'Zend/Mail/Message/File.php'; 39 126 */ 127 #require_once 'Zend/Mail/Storage/Exception.php'; 128 throw new Zend_Mail_Storage_Exception('id does not exist'); 158 while ($bodyLines-- && ftell($this->_fh) < $this->_positions[$id - 1]['end']) { 159 $message .= fgets($this->_fh); 160 }Pop3.php https://gitlab.com/fabiorf/curso-zend1-aula1 | PHP | 472 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Pop3.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 107 */ 108 require_once 'Zend/Mail/Protocol/Exception.php'; 109 throw new Zend_Mail_Protocol_Exception('cannot connect to host; error = ' . $errstr . 129 */ 130 require_once 'Zend/Mail/Protocol/Exception.php'; 131 throw new Zend_Mail_Protocol_Exception('cannot enable TLS'); 152 */ 153 require_once 'Zend/Mail/Protocol/Exception.php'; 154 throw new Zend_Mail_Protocol_Exception('send failed - connection closed?'); 167 { 168 $result = @fgets($this->_socket); 169 if (!is_string($result)) {Pop3.php https://gitlab.com/luisrepo/ClienteWS | PHP | 472 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Pop3.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 107 */ 108 require_once 'Zend/Mail/Protocol/Exception.php'; 109 throw new Zend_Mail_Protocol_Exception('cannot connect to host; error = ' . $errstr . 129 */ 130 require_once 'Zend/Mail/Protocol/Exception.php'; 131 throw new Zend_Mail_Protocol_Exception('cannot enable TLS'); 152 */ 153 require_once 'Zend/Mail/Protocol/Exception.php'; 154 throw new Zend_Mail_Protocol_Exception('send failed - connection closed?'); 167 { 168 $result = @fgets($this->_socket); 169 if (!is_string($result)) {StreamBuffer.php https://gitlab.com/techniconline/kmc | PHP | 321 lines
1<?php 2 162 if (isset($this->_out) && !feof($this->_out)) { 163 $line = fgets($this->_out); 164 if (strlen($line) == 0) {Shell.php https://gitlab.com/oytunistrator/92five | PHP | 229 lines
1<?php 2 16use Symfony\Component\Process\ProcessBuilder; 17use Symfony\Component\Process\PhpExecutableFinder; 18 21 * 22 * Support for history and completion only works with a PHP compiled 23 * with readline support (either --with-readline or --with-libedit) 38 * 39 * If there is no readline support for the current PHP executable 40 * a \RuntimeException exception is thrown. 66 $this->output->writeln($this->getHeader()); 67 $php = null; 68 if ($this->processIsolation) { 68 if ($this->processIsolation) { 69 $finder = new PhpExecutableFinder(); 70 $php = $finder->find();HttpClient.php https://gitlab.com/xuebutayan/yshop | PHP | 338 lines
1<?php 2/* Version 0.9, 6th April 2003 - Simon Willison ( http://simon.incutio.com/ ) 108 while (!feof($fp)) { 109 $line = fgets($fp, 4096); 110 if ($atStart) { 157 $this->debug('Content is gzip encoded, unzipping it'); 158 $this->content = substr($this->content, 10); // See http://www.php.net/manual/en/function.gzencode.php 159 $this->content = gzinflate($this->content);Maildir.php https://gitlab.com/devtoannh/cafe | PHP | 475 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Maildir.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 26 */ 27require_once 'Zend/Mail/Storage/Abstract.php'; 28 31 */ 32require_once 'Zend/Mail/Message/File.php'; 33 36 */ 37require_once 'Zend/Mail/Storage.php'; 38 124 */ 125 require_once 'Zend/Mail/Storage/Exception.php'; 126 throw new Zend_Mail_Storage_Exception('id does not exist');Pop3.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 472 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Pop3.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 107 */ 108 require_once 'Zend/Mail/Protocol/Exception.php'; 109 throw new Zend_Mail_Protocol_Exception('cannot connect to host; error = ' . $errstr . 129 */ 130 require_once 'Zend/Mail/Protocol/Exception.php'; 131 throw new Zend_Mail_Protocol_Exception('cannot enable TLS'); 152 */ 153 require_once 'Zend/Mail/Protocol/Exception.php'; 154 throw new Zend_Mail_Protocol_Exception('send failed - connection closed?'); 167 { 168 $result = @fgets($this->_socket); 169 if (!is_string($result)) {File.php https://gitlab.com/shinvdu/php-webim | PHP | 180 lines
1<?php 2namespace WebIM\Store; 27 unlink($dir . $file); 28 //echo "delete ".$dir . $file.PHP_EOL; 29 $n++; 33 $n++; 34 //echo "rmdir ".$dir . $file . PHP_EOL; 35 //rmdir($dir . $file . '/'); 88 { 89 while (($line = fgets($handle, 4096)) !== false) 90 { 160 } 161 fwrite($this->history_fp, json_encode($log).PHP_EOL); 162 $this->history_write_count ++;file.php https://gitlab.com/ken3/bluSky | PHP | 466 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 32 * * Kohana 3.0.x 33 * * PHP 5.2.4 or greater 34 * 38 * @copyright (c) 2009-2012 Kohana Team 39 * @license http://kohanaphp.com/license 40 */ 79 } 80 // PHP < 5.3 exception handle 81 catch (ErrorException $e) 84 } 85 // PHP >= 5.3 exception handle 86 catch (UnexpectedValueException $e) 447 * 448 * @link http://php.net/manual/en/function.mkdir.php 449 * @param string $directoryMaildir.php https://gitlab.com/yousafsyed/easternglamor | PHP | 475 lines
1<?php 2/** 26 */ 27#require_once 'Zend/Mail/Storage/Abstract.php'; 28 31 */ 32#require_once 'Zend/Mail/Message/File.php'; 33 36 */ 37#require_once 'Zend/Mail/Storage.php'; 38 124 */ 125 #require_once 'Zend/Mail/Storage/Exception.php'; 126 throw new Zend_Mail_Storage_Exception('id does not exist'); 136 */ 137 #require_once 'Zend/Mail/Storage/Exception.php'; 138 throw new Zend_Mail_Storage_Exception('field does not exist');CSV.php git://github.com/jasonhinkle/phreeze.git | PHP | 415 lines
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 44 */ 45class PHPExcel_Reader_CSV extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader 46{ 234 /** 235 * Loads PHPExcel from file into PHPExcel instance 236 * 237 * @param string $pFilename 238 * @param PHPExcel $objPHPExcel 239 * @return PHPExcel 241 */ 242 public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) 243 {TestEnvCommand.php https://gitlab.com/RonLab1987/YupePlusClear | PHP | 182 lines
1<?php 2/** 62 self::COMMAND_DIR.self::CONFIG_DIR, 63 'db-test.php', 64 'db.back.php' 88 89 $this->replaceDbOptionsInConfig(self::COMMAND_DIR.self::CONFIG_DIR."/db-test.php"); 90 $this->replaceDbOptionsInConfig(self::COMMAND_DIR.self::ROOT_DIR."/codeception.yml"); 100 { 101 $this->removeConfigFile(self::COMMAND_DIR.self::CONFIG_DIR."/db-test.php"); 102 $this->removeConfigFile(self::COMMAND_DIR.self::ROOT_DIR."/codeception.yml"); 145 { 146 $stdin = substr(trim(fgets(STDIN)), 0, 50); 147 $value = (strlen($stdin) > 0) ? $stdin : $value;Proxy.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 270 lines
1<?php 2 18 * @subpackage Client_Adapter 19 * @version $Id: Proxy.php 17059 2009-07-25 11:24:49Z shahar $ 20 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) 29 */ 30require_once 'Microsoft/Uri/Http.php'; 31/** 33 */ 34require_once 'Microsoft/Http/Client.php'; 35/** 37 */ 38require_once 'Microsoft/Http/Client/Adapter/Socket.php'; 39 122 if (! $this->socket) { 123 require_once 'Microsoft/Http/Client/Adapter/Exception.php'; 124 throw new Microsoft_Http_Client_Adapter_Exception("Trying to write but we are not connected");ZipStreamWrapper.php https://gitlab.com/ilyales/vigma | PHP | 200 lines
1<?php 2 3/** 4 * PHPExcel_Shared_ZipStreamWrapper 5 * 5 * 6 * Copyright (c) 2006 - 2015 PHPExcel 7 * 21 * 22 * @category PHPExcel 23 * @package PHPExcel_Shared 23 * @package PHPExcel_Shared 24 * @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel) 25 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 27 */ 28class PHPExcel_Shared_ZipStreamWrapper 29{PoFileLoader.php https://gitlab.com/Sigpot/AirSpot | PHP | 151 lines
1<?php 2 75 76 while ($line = fgets($stream)) { 77 $line = trim($line);Console.php https://gitlab.com/yousafsyed/easternglamor | PHP | 312 lines
1<?php 2/** 25 */ 26#require_once 'Zend/Tool/Framework/Client/Abstract.php'; 27 30 */ 31#require_once 'Zend/Tool/Framework/Client/Interactive/InputInterface.php'; 32 35 */ 36#require_once 'Zend/Tool/Framework/Client/Interactive/OutputInterface.php'; 37 79 /** 80 * main() - This is typically called from zf.php. This method is a 81 * self contained main() function. 224 225 echo PHP_EOL; 226 return;akismet.php git://github.com/klevo/wildflower.git | PHP | 394 lines
13 * 14 * Please be aware that this class is PHP5 only. Attempts to run it under PHP4 will most likely fail. 15 * 21 * @copyright Alex Potsides, {@link http://www.achingbrain.net http://www.achingbrain.net} 22 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 23 */ 25/** 26 * The Akismet PHP5 Class 27 * 109 /* 110 * This is necessary if the server PHP5 is running on has been set up to run PHP4 and 111 * PHP5 concurently and is actually running through a separate proxy al a these instructions: 111 * PHP5 concurently and is actually running through a separate proxy al a these instructions: 112 * http://www.schlitt.info/applications/blog/archives/83_How_to_run_PHP4_and_PHP_5_parallel.html 113 * and http://wiki.coggeshall.org/37.htmlPop3Connection.php https://gitlab.com/staging06/myproject | PHP | 176 lines
1<?php 2 10 11require_once dirname(__FILE__) . "/../../ClassLoader.php"; 12 155 { 156 if (false === $response = fgets($this->handle)) 157 {citrix.php https://gitlab.com/billyprice1/whmcs-customizations | PHP | 313 lines
1<?PHP 2 113 do { 114 $line = fgets($ssh_output); 115 lg_debug2($line); 281 do { 282 $line = fgets($ssh_output); 283 lg_debug2($line); 303 do { 304 $line = fgets($ssh_output); 305 lg_debug2($line);function.fetch.php https://gitlab.com/flyhope/Hiblog | PHP | 221 lines
1<?php 2/** 14 * 15 * @link http://www.smarty.net/manual/en/language.function.fetch.php {fetch} 16 * (Smarty online manual) 44 if ($protocol) { 45 // remote resource (or php stream, …) 46 if (!$template->smarty->security_policy->isTrustedUri($params['file'])) { 192 while (!feof($fp)) { 193 $content .= fgets($fp, 4096); 194 }tracefile-analyser.php https://gitlab.com/yousafsyed/easternglamor | PHP | 207 lines
1<?php 2 42{ 43 echo "usage:\n\tphp run-cli tracefile [sortkey] [elements]\n\n"; 44 echo "Allowed sortkeys:\n\tcalls, time-inclusive, memory-inclusive, time-own, memory-own\n"; 77 $this->stackFunctions = array(); 78 $header1 = fgets( $this->handle ); 79 $header2 = fgets( $this->handle ); 95 { 96 $buffer = fgets( $this->handle, 4096 ); 97 $read += strlen( $buffer );File.php https://gitlab.com/staging06/myproject | PHP | 208 lines
1<?php 2 11 12require_once dirname(__FILE__) . "/ClassLoader.php"; 13Swift_ClassLoader::load("Swift_FileException"); 38 /** 39 * The status of magic_quotes in php.ini 40 * @var boolean 138 { 139 $ret = fgets($this->handle); 140 }QuestionHelper.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 449 lines
1<?php 2 132 if (false === $ret) { 133 $ret = fgets($inputStream, 4096); 134 if (false === $ret) { 350 shell_exec('stty -echo'); 351 $value = fgets($inputStream, 4096); 352 shell_exec(sprintf('stty %s', $sttyMode));StreamBuffer.php https://gitlab.com/dsasmita/talita-shop | PHP | 327 lines
1<?php 2 164 if (isset($this->_out) && !feof($this->_out)) { 165 $line = fgets($this->_out); 166 if (strlen($line)==0) {sms_at.inc.php https://gitlab.com/mattyhead/mysms | PHP | 409 lines
1<?php 2#----------------------------------------------------------------- 8 var $VERSION; 9 var $REQUIRED_PHP_VERSION; 10 32 $this->VERSION = "0.1"; 33 $this->REQUIRED_PHP_VERSION = "4.0"; 34 179 while(!feof($fp)) { 180 $response .= fgets($fp, 128); 181 }class-wp-cli.php https://gitlab.com/clakeb/wp-cli | PHP | 468 lines
37 if ( !$configurator ) { 38 $configurator = new WP_CLI\Configurator( WP_CLI_ROOT . '/php/config-spec.php' ); 39 } 259 260 $answer = trim( fgets( STDIN ) ); 261 281 $raw_value = ''; 282 while ( ( $line = fgets( STDIN ) ) !== false ) { 283 $raw_value .= $line; 393 394 $php_bin = self::get_php_binary(); 395 406 /** 407 * Get the path to the PHP binary used when executing WP-CLI. 408 * Environment values permit specific binaries to be indicated.Maildir.php https://gitlab.com/Ltaimao/wecenter | PHP | 475 lines
1<?php 2/** 26 */ 27//require_once 'Zend/Mail/Storage/Abstract.php'; 28 31 */ 32//require_once 'Zend/Mail/Message/File.php'; 33 36 */ 37//require_once 'Zend/Mail/Storage.php'; 38 124 */ 125 //require_once 'Zend/Mail/Storage/Exception.php'; 126 throw new Zend_Mail_Storage_Exception('id does not exist'); 136 */ 137 //require_once 'Zend/Mail/Storage/Exception.php'; 138 throw new Zend_Mail_Storage_Exception('field does not exist');af.lib.rdf.php https://github.com/nekrad/metux-joomla.git | PHP | 176 lines
1<?php 2/** 2/** 3* @version $Id: af.lib.rdf.php v.2.1b7 2007-11-26 16:44:59Z GMT-3 $ 4* @package ArtForms 2.1b7 45 //while(!feof($fp)) 46 fwrite($local, fgets($fp, 128)); 47 fclose($local); 150 { 151 @require_once(JPATH_SITE.DS.'includes'.DS.'domit'.DS.'xml_domit_rss.php'); 152 $rssdoc =& new xml_domit_rss_document($url);Mbox.php https://gitlab.com/rsilveira1987/Expresso | PHP | 447 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Mbox.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 21 */ 27 */ 28// require_once 'Zend/Loader.php'; 29 32 */ 33require_once 'Zend/Mail/Storage/Abstract.php'; 34 37 */ 38require_once 'Zend/Mail/Message/File.php'; 39 126 */ 127 require_once 'Zend/Mail/Storage/Exception.php'; 128 throw new Zend_Mail_Storage_Exception('id does not exist');Http.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 87 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 43</form> 44<?php 45 exit; 71 72 $buffer = fgets($read, 4096); 73 $import = Mage::getModel('dataflow/import');PopBeforeSmtpPlugin.php https://gitlab.com/Gashler/sg | PHP | 286 lines
1<?php 2 156 157 if (false === $greeting = fgets($this->_socket)) 158 { 247 248 if (false === $response = fgets($this->_socket)) 249 {paypal_connect.php https://gitlab.com/staging06/myproject | PHP | 140 lines
1<?php 2/** 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/afl-3.0.php 11* If you did not receive a copy of the license and are unable to 22* @copyright 2007-2015 PrestaShop SA 23* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 119 while (!feof($fp)) 120 $tmp .= trim(fgets($fp, 1024)); 121SYLK.php https://gitlab.com/Lidbary/PHPRunner | PHP | 414 lines
22 * @package PHPExcel_Reader 23 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 42 * @package PHPExcel_Reader 43 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 44 */ 44 */ 45class PHPExcel_Reader_SYLK implements PHPExcel_Reader_IReader 46{ 178 /** 179 * Loads PHPExcel from file into PHPExcel instance 180 *file.php https://gitlab.com/hakimkal/evricaevents | PHP | 542 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 16 * @subpackage cake.cake.libs 17 * @since CakePHP(tm) v 0.2.9 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 25if (!class_exists('Object')) { 26 require LIBS . 'object.php'; 27}function.fetch.php https://gitlab.com/adamlwalker/generatedata | PHP | 214 lines
1<?php 2/** 15 * 16 * @link http://www.smarty.net/manual/en/language.function.fetch.php {fetch} 17 * (Smarty online manual) 41 if ($protocol) { 42 // remote resource (or php stream, …) 43 if(!$template->smarty->security_policy->isTrustedUri($params['file'])) { 184 while(!feof($fp)) { 185 $content .= fgets($fp,4096); 186 }checkSyntax.php https://gitlab.com/link233/bootmw | PHP | 350 lines
26/** 27 * Maintenance script to check syntax of all PHP files in MediaWiki. 28 * 38 parent::__construct(); 39 $this->addDescription( 'Check syntax for all PHP files in MediaWiki' ); 40 $this->addOption( 'with-extensions', 'Also recurse the extensions folder' ); 91 "/activemq_stomp/", 92 "EmailPage/PHPMailer", 93 "FCKeditor/fckeditor/", 95 "/svggraph/", 96 "\bjsmin.php$", 97 "PEAR/File_Ogg/", 225 $ext = pathinfo( $file, PATHINFO_EXTENSION ); 226 if ( $ext != 'php' && $ext != 'inc' && $ext != 'php5' ) { 227 return false;Sendmail.php https://github.com/jvinet/pronto.git | PHP | 380 lines
1<?php 2 10 11require_once dirname(__FILE__) . "/../ClassLoader.php"; 12Swift_ClassLoader::load("Swift_ConnectionBase"); 15 16//Sorry guys, it has to be done and it's not my lazy coding, blame PHP4/proc_open() 17$GLOBALS["_SWIFT_PROC"] = array(); 73 { 74 if(PHP_VERSION < 5) register_shutdown_function(array(&$this, "__destruct")); 75 $this->setCommand($command); 233 stream_set_timeout($this->pipes[1], $this->timeout); 234 $tmp = @fgets($this->pipes[1]); 235 if ($tmp === false) 334 Swift_Errors::trigger(new Swift_ConnectionException( 335 "The sendmail process failed to start. Please verify that the path exists and PHP has permission to execute it.")); 336 return;Maildir.php https://gitlab.com/jalon/doadoronline | PHP | 408 lines
1<?php 2/** 166 while (!feof($fh)) { 167 $line = fgets($fh); 168 if (!trim($line)) { 195 while (!feof($fh)) { 196 $line = fgets($fh); 197 if (!trim($line)) {CSV.php https://gitlab.com/dmsapiens/physicians | PHP | 473 lines
22 * @package PHPExcel_Reader 23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 42 * @package PHPExcel_Reader 43 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 44 */ 44 */ 45class PHPExcel_Reader_CSV extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader 46{ 237 // Create new PHPExcel 238 $objPHPExcel = new PHPExcel(); 239Maildir.php https://gitlab.com/axeltizon/magentoV1.9-demopoweraccess | PHP | 475 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Maildir.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 26 */ 27#require_once 'Zend/Mail/Storage/Abstract.php'; 28 31 */ 32#require_once 'Zend/Mail/Message/File.php'; 33 36 */ 37#require_once 'Zend/Mail/Storage.php'; 38 124 */ 125 #require_once 'Zend/Mail/Storage/Exception.php'; 126 throw new Zend_Mail_Storage_Exception('id does not exist');generate-api-docs.c https://gitlab.com/libvirt/libvirt-php.git | C | 316 lines
185 186 if (!fgets(line, sizeof(line), fp)) { 187 if (feof(fp)) 219 220 fprintf(fp,"<h1>%s API Reference guide</h1>\n\n <h3>Functions</h3>\n\n <!-- Links -->\n", (private == 0) ? "PHP" : "Developer's"); 221 fprintf(fp, "<pre>Total number of functions: %d. Functions supported are:<br /><br />\n", count_functions(function_number, private));FilesystemAdapter.php https://gitlab.com/pr0055/symfonypizza | PHP | 158 lines
1<?php 2 65 } 66 if ($now >= (int) $expiresAt = fgets($h)) { 67 fclose($h); 71 } else { 72 $i = rawurldecode(rtrim(fgets($h))); 73 $value = stream_get_contents($h);Day13AbstractClasses.php https://gitlab.com/vladwalross/datasnok | PHP | 91 lines
1<?php 2/* 51 { 52 $title = fgets(STDIN); 53 $author = fgets(STDIN); 53 $author = fgets(STDIN); 54 $price = intval(fgets(STDIN)); 55 $novel = new MyBook($title, $author, $price);CliHandler.php https://gitlab.com/x33n/ampache | PHP | 200 lines
1<?php 2 114 while (!feof($handle)) { 115 $item .= fgets($handle); 116 if ($this->itemIsComlete($item)) {index.markdown https://gitlab.com/orvi2014/phpjs | Markdown | 68 lines
14<!-- Generated by Rakefile:build --> 15A JavaScript equivalent of PHP's fgetcsv 16 16 17{% codeblock filesystem/fgetcsv.js lang:js https://raw.github.com/kvz/phpjs/master/functions/filesystem/fgetcsv.js raw on github %} 18function fgetcsv (handle, length, delimiter, enclosure, escape) { 28 29 if (!this.php_js || !this.php_js.resourceData || !this.php_js.resourceDataPointer || length !== undefined && !length) { 30 return false; 38 39 fullline = this.php_js.resourceData[handle.id].slice(start, this.php_js.resourceData[handle.id].indexOf('\n', start) + 1); 40 if (fullline === '') { 45 46 this.php_js.resourceDataPointer[handle.id] += length; // Leaves the pointer one higher apparently than in fgets/fgetss 47 return this.str_getcsv(this.php_js.resourceData[handle.id].substr(start, length), delimiter, enclosure, escape);LC_Page_Admin_Products_ProductSelect.php https://gitlab.com/raku.takayama/eccube-2_13 | PHP | 166 lines
1<?php 2/* 23 24require_once CLASS_EX_REALDIR . 'page_extends/admin/LC_Page_Admin_Ex.php'; 25 147 // ページ送りの処理 148 $page_max = SC_Utils_Ex::sfGetSearchPageMax($_POST['search_page_max']); 149Encoding.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 327 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin 7 */ 12 * 13 * @package PhpMyAdmin 14 */ 287 while (!feof($fps)) { 288 $line = fgets($fps, 4096); 289 $dist = self::kanjiStrConv($line, $enc, $kana);SmtpMailer.php https://gitlab.com/kubinos/writeoff | PHP | 195 lines
1<?php 2 185 $s = ''; 186 while (($line = fgets($this->connection, 1e3)) != NULL) { // intentionally == 187 $s .= $line;function.fetch.php https://gitlab.com/raku.takayama/eccube-2_13 | PHP | 221 lines
1<?php 2/** 14 * Purpose: fetch file, web or ftp data and display results 15 * @link http://smarty.php.net/manual/en/language.function.fetch.php {fetch} 16 * (Smarty online manual) 32 $_params = array('resource_type' => 'file', 'resource_name' => $params['file']); 33 require_once(SMARTY_CORE_DIR . 'core.is_secure.php'); 34 if(!smarty_core_is_secure($_params, $smarty)) { 41 while(!feof($fp)) { 42 $content .= fgets ($fp,4096); 43 } 180 while(!feof($fp)) { 181 $content .= fgets($fp,4096); 182 } 199 while(!feof($fp)) { 200 $content .= fgets ($fp,4096); 201 }Proxy.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 343 lines
1<?php 2 26 */ 27#require_once 'Zend/Uri/Http.php'; 28/** 30 */ 31#require_once 'Zend/Http/Client.php'; 32/** 34 */ 35#require_once 'Zend/Http/Client/Adapter/Socket.php'; 36 137 if (!$this->socket) { 138 #require_once 'Zend/Http/Client/Adapter/Exception.php'; 139 throw new Zend_Http_Client_Adapter_Exception( 149 ) { 150 #require_once 'Zend/Http/Client/Adapter/Exception.php'; 151 throw new Zend_Http_Client_Adapter_Exception(build-skel.php https://gitlab.com/src-run/usr-src-runner | PHP | 389 lines
1#!/usr/bin/env php 2<?php 6 while (true) { 7 echo PHP_EOL . ' >> ' . $what; 8 14 15 $stdin = fopen ("php://stdin","r"); 16 $input = trim(fgets($stdin)); 53 if ($l === null) { 54 echo PHP_EOL; 55 continue; 57 58 echo ' ' . $prefix . $l . PHP_EOL; 59 } 60 61 echo PHP_EOL; 62}functions.php https://gitlab.com/billyprice1/osTicket | PHP | 152 lines
1<?php 2 69 70function _fgets (&$h, $force=false) { 71 $startpos = ftell($h); 71 $startpos = ftell($h); 72 $s = fgets($h, 1024); 73 if ($force && preg_match("/^([^\r\n]*[\r\n]{1,2})(.)/",trim($s), $ns)) { 80 81// For PHP4 compatability 82if(!function_exists('str_ireplace')) {WindidUtility.php https://gitlab.com/wuhang2003/phpwind | PHP | 133 lines
1<?php 2/** 5 * @author xiaoxia.xu <xiaoxia.xuxx@aliyun-inc.com> 2010-11-2 6 * @license http://www.phpwind.com 7 * @version $Id: WindidUtility.php 32085 2014-08-20 08:48:50Z gao.wanggao $ 106 while (!feof($fp)) { 107 $response .= fgets($fp, 128); 108 }ShipmentImportCommandController.php https://gitlab.com/uralgenc/bourdon-haenni.com | PHP | 184 lines
1<?php 2namespace Baumer\BaumerSerial\Command; 47 * 48 * ./typo3/cli_dispatch.phpsh extbase shipmentimport:import /your/absolute/directory/ 49 * 117 118 while (($line = fgets($fileHandle)) !== false) { 119 $line = trim($line);rannfunc.php https://gitlab.com/protoneutron/xbtbb3cker | PHP | 421 lines
20{ 21 global $phpEx, $phpbb_root_path, $config; 22 140 { 141 include_once("{$phpbb_root_path}ext/ppk/xbtbb3cker/include/udptscraper.{$phpEx}"); 142 try 174 175 include_once($phpbb_root_path.'ext/ppk/xbtbb3cker/include/bencoding.'.$phpEx); 176 $result = bdecode($result); 226{ 227 global $phpEx, $phpbb_root_path, $config; 228 349 { 350 include_once("{$phpbb_root_path}ext/ppk/xbtbb3cker/include/udptscraper.{$phpEx}"); 351 tryEncodingHelper.php https://gitlab.com/VTTE/sitios-vtte | PHP | 175 lines
1<?php 2 88 89 $hasBOM = ($this->globalFunctionsHelper->fgets($filePointer, $numBytesInBom + 1) === $potentialBom); 90 } 144 } else { 145 throw new EncodingConversionException("The conversion from $sourceEncoding to $targetEncoding is not supported. Please install \"iconv\" or \"PHP Intl\"."); 146 } 166 * Returns whether "mb_string" functions can be used. 167 * These functions come with the PHP Intl package. 168 *testDataFileIterator.php https://gitlab.com/pra34/excel-parse | PHP | 136 lines
1<?php 2 51 // Only take lines that contain test data and that aren't commented out 52 $testDataRow = trim(fgets($this->file)); 53 } while (($testDataRow > '') && ($testDataRow{0} === '#')); 73 74 $temp = fopen('php://memory', 'rw'); 75 fwrite($temp, $input);paypal_ipn.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 104 lines
1<?php 2 // Send an empty HTTP 200 OK response to acknowledge receipt of the notification 35 while (!feof($fp)) { // While not EOF 36 $res = fgets($fp, 1024); // Get the acknowledgement response 37 if (strcmp ($res, "VERIFIED") == 0) { // Response contains VERIFIED - process notificationSYLK.php https://github.com/bshaffer/Donate-Nashville.git | PHP | 509 lines
22 * @package PHPExcel_Reader 23 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36 PHPExcel_Autoloader::Register(); 48 * @package PHPExcel_Reader 49 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 50 */ 50 */ 51class PHPExcel_Reader_SYLK implements PHPExcel_Reader_IReader 52{ 210 /** 211 * Loads PHPExcel from file into PHPExcel instance 212 *transport_connection.php http://hppg.googlecode.com/svn/trunk/ | PHP | 258 lines
1<?php 2/** 49 * 50 * @todo The @ should be removed when PHP doesn't throw warnings for connect problems. 51 * 79 { 80 throw new ezcBaseExtensionNotFoundException( 'openssl', null, "PHP not configured --with-openssl." ); 81 } 205 { 206 // in case there is a problem with the connection fgets() returns false 207 while ( strpos( $data, self::CRLF ) === false ) 208 { 209 $line = fgets( $this->connection, 512 ); 210 210 211 /* If the mail server aborts the connection, fgets() will 212 * return false. We need to throw an exception here to preventSYLK.php https://gitlab.com/FellowsDevel/delicto | PHP | 415 lines
22 * @package PHPExcel_Reader 23 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 42 * @package PHPExcel_Reader 43 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel) 44 */ 44 */ 45class PHPExcel_Reader_SYLK implements PHPExcel_Reader_IReader 46{ 178 /** 179 * Loads PHPExcel from file into PHPExcel instance 180 *passwd.php git://pkgs.fedoraproject.org/horde | PHP | 446 lines
1<?php 2/** 22 * 23 * $Horde: framework/Auth/Auth/passwd.php,v 1.16.10.20 2009/01/06 15:22:50 jan Exp $ 24 * 24 * 25 * Copyright 1997-2007 Rasmus Lerdorf <rasmus@php.net> 26 * Copyright 2002-2009 The Horde Project (http://www.horde.org/) 28 * See the enclosed file COPYING for license information (LGPL). If you 29 * did not receive this file, see http://opensource.org/licenses/lgpl-license.php. 30 * 30 * 31 * @author Rasmus Lerdorf <rasmus@php.net> 32 * @author Chuck Hagenbuch <chuck@horde.org> 167 while (!feof($fp)) { 168 $line = trim(fgets($fp, 128)); 169 if (empty($line)) {currency_converter.inc.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 104 lines
1<?php 2 9 ABOUT 10 This PHP script will use for conversion of currency. 11 you can find it is tricky but it is usefull. 62 { 63 $data.= @fgets($fp, 128); 64 } 80 "'&(copy|#169);'i", 81 "'&#(\d+);'e"); // evaluate as php 82CachingEntityBody.php https://gitlab.com/treighton/wpgit | PHP | 229 lines
1<?php 2 24 $this->remoteStream = $body; 25 $this->body = new EntityBody(fopen('php://temp', 'r+')); 26 } 103 // then we must skip bytes on the remote stream to emulate overwriting bytes from that position. This 104 // mimics the behavior of other PHP stream wrappers. 105 $remoteData = $this->remoteStream->read($remaining + $this->skipReadBytes); 133 * {@inheritdoc} 134 * @link http://php.net/manual/en/function.fgets.php 135 */ 143 // Break when a new line is found or the max length - 1 is reached 144 if ($byte == PHP_EOL || ++$size == $maxLength - 1) { 145 break;snoopdecode.c https://gitlab.com/envieidoc/tomato | C | 519 lines
4 * Decodes traces captured by 'usbsnoop' 5 * (http://benoit.papillault.free.fr/usbsnoop/index.php) 6 * 144{ 145 return !!fgets(line, sizeof(line), file); 146}package.cpp https://gitlab.com/0072016/0072016-PHP.LLC | C++ | 363 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 16 17#include "hphp/compiler/package.h" 18#include <sys/types.h>import_functions_excel.php https://gitlab.com/Lidbary/PHPRunner | PHP | 319 lines
1<?php 2require_once getabspath("plugins/PHPExcel/IOFactory.php"); 3 14 { 15 $objPHPExcel = PHPExcel_IOFactory::load($uploadfile); 16 } 18 { 19 $objPHPExcel = new PHPExcel(); 20 $objReader = PHPExcel_IOFactory::createReader("Excel5"); 83 // get an index number of the 'highest' column (e.g. 11) 84 $highestColumnIndex = PHPExcel_Cell::columnIndexFromString( $highestColumn ); 85 309/** 310 * A PHP fgets function wrapper 311 * @param Mixed handleInstaller.php https://gitlab.com/Skull3x/GladiatorMine | PHP | 223 lines
1<?php 2 216 private function getInput($default = ""){ 217 $input = trim(fgets(STDIN)); 218wb_functions.php https://gitlab.com/urbanjunglestudio/whambush-bananas | PHP | 167 lines
1<?php 2 66 67 echo "This script requires authentication".PHP_EOL; 68 echo "Username: "; 68 echo "Username: "; 69 $username = trim(fgets(STDIN)); 70 72 system('stty -echo'); 73 $password = trim(fgets(STDIN)); 74 system('stty echo'); 75 // add a new line since the users CR didn't echo 76 echo PHP_EOL; 77 81 'manufacturer'=>'jk', 82 'os'=>'php', 83 'os_version'=>'1',klonec.php https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | PHP | 282 lines
1<?php 2/************************************************************************************* 2/************************************************************************************* 3 * klonec.php 4 * -------- 56 3 => array(//fonctions C usuelles 57 'printf', 'malloc', 'fopen', 'fclose', 'free', 'fputs', 'fgets', 'feof', 'fwrite', 58 'perror', 'ferror', 'qsort', 'stats', 'sscanf', 'scanf',File.php https://github.com/arie80/cakephp.git | PHP | 506 lines
1<?php 2/** 4 * 5 * PHP 5 6 * 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package Cake.Utility 15 * @package Cake.Utility 16 * @since CakePHP(tm) v 0.2.9 17 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 166 while (!feof($this->handle)) { 167 $data .= fgets($this->handle, 4096); 168 }class-ftp-pure.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 190 lines
1<?php 2/** 2/** 3 * PemFTP - A Ftp implementation in pure PHP 4 * 10 * @author Alexey Dotsenko 11 * @link http://www.phpclasses.org/browse/package/1743.html Site 12 * @license LGPL License http://www.opensource.org/licenses/lgpl-license.html 24 * @author Alexey Dotsenko 25 * @link http://www.phpclasses.org/browse/package/1743.html Site 26 * @license LGPL License http://www.opensource.org/licenses/lgpl-license.html 71 do { 72 $tmp=@fgets($this->_ftp_control_sock, 512); 73 if($tmp===false) {Proxy.php https://gitlab.com/billyprice1/whmcs-customizations | PHP | 267 lines
1<?php 2 18 * @subpackage Client_Adapter 19 * @version $Id: Proxy.php 17118 2009-07-26 09:41:41Z shahar $ 20 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) 26 */ 27require_once 'Zend/Uri/Http.php'; 28/** 30 */ 31require_once 'Zend/Http/Client.php'; 32/** 34 */ 35require_once 'Zend/Http/Client/Adapter/Socket.php'; 36 119 if (! $this->socket) { 120 require_once 'Zend/Http/Client/Adapter/Exception.php'; 121 throw new Zend_Http_Client_Adapter_Exception("Trying to write but we are not connected");PopBeforeSmtpPlugin.php https://gitlab.com/fiesta-framework/Documentation | PHP | 273 lines
1<?php 2 157 158 if (false === $greeting = fgets($this->_socket)) { 159 throw new Swift_Plugins_Pop_Pop3Exception( 237 238 if (false === $response = fgets($this->_socket)) { 239 throw new Swift_Plugins_Pop_Pop3Exception(Console.php https://gitlab.com/NucleusStudios/Mercado-BTX | PHP | 473 lines
1<?php 2 204 { 205 return $raw ? fgets(STDIN) : rtrim(fgets(STDIN), PHP_EOL); 206 } 246 /** 247 * Prints text to STDERR appended with a PHP_EOL. 248 * 255 { 256 return static::stderr($text . PHP_EOL, $raw); 257 } 259 /** 260 * Asks the user for input. Ends when the user types a PHP_EOL. Optionally 261 * provide a prompt. 275 /** 276 * Prints text to STDOUT appended with a PHP_EOL. 277 *RGenerator.php https://gitlab.com/Griffolion/Final-Year-Project | PHP | 211 lines
1<?php 2/** 111 ++$lineNumber; 112 $line = fgets($file); 113 preg_match('/public[ \t]+function[ \t]+action([A-Z]{1}[a-zA-Z0-9]+)[ \t]*\(/', $line, $matches);pop3.php https://gitlab.com/digaotinfo/agendaLegislativa | PHP | 272 lines
1<?php 2 18 * * 19 * XPertMailer SMTP & POP3 PHP Mail Client. Can send and read messages in MIME Format. * 20 * Copyright (C) 2006 Tanase Laurentiu Iulian * 23 24require_once 'func.php'; 25 101 stream_set_timeout($fp, $timeout); 102 $rcv = fgets($fp, 1024); 103 if(substr($rcv, 0, 3) != '+OK'){ 109 fputs($fp, "USER ".$user."\r\n"); 110 $rcv = fgets($fp, 1024); 111 if(substr($rcv, 0, 3) != '+OK'){ 118 fputs($fp, "PASS ".$pass."\r\n"); 119 $rcv = fgets($fp, 1024); 120 if(substr($rcv, 0, 3) != '+OK'){