14+ results for 'php stristr repo:alvinpd/monsterninja' (6204 ms)
1<?php namespace Myth\Docs; 2/** 28 * @license http://opensource.org/licenses/MIT (MIT) 29 * @link http://sprintphp.com 30 * @since Version 1.0 64 */ 65 protected $allowed_file_types = 'html|htm|php|php4|php5|txt|md'; 66 182 // Do we have a match in here somewhere? 183 $found = stristr($text, $term) || stristr($text, $term_html); 184odbc_driver.php https://github.com/holsinger/openfloor.git | PHP | 453 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 349 { 350 if (stristr($table, '.')) 351 {mssql_driver.php https://github.com/holsinger/openfloor.git | PHP | 481 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 376 /* 377 if (stristr($table, '.')) 378 {Posix.php https://gitlab.com/yousafsyed/easternglamor | PHP | 407 lines
1<?php 2/** 109 $this->write($text, $color, $bgColor); 110 $this->write(PHP_EOL); 111 } 192 if (($lang = getenv('LANG')) !== false) { 193 return stristr($lang, 'utf-8') || stristr($lang, 'utf8'); 194 } 323 324 $stream = fopen('php://stdin', 'rb'); 325 do {S3.php https://github.com/EthanBlast/Glam-Star-Life.git | PHP | 452 lines
1<?php 2 5 */ 6require_once W3TC_LIB_W3_DIR . '/Cdn/Base.php'; 7 8if (!class_exists('S3')) { 9 require_once W3TC_LIB_DIR . '/S3.php'; 10} 392 393 if ($this->_config['compression'] && isset($_SERVER['HTTP_ACCEPT_ENCODING']) && stristr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') !== false && $this->may_gzip($path)) { 394 if (($qpos = strpos($url, '?')) !== false) {Util.php https://gitlab.com/CORP-RESELLER/shopping-cart-lite | PHP | 303 lines
1<?php 2/** 3 * Braintree Utility methods 4 * PHP version 5 5 * 135 { 136 // php doesn't garbage collect functions created by create_function() 137 // so use a static variable to avoid adding a new function to memory 168 { 169 // php doesn't garbage collect functions created by create_function() 170 // so use a static variable to avoid adding a new function to memory 291 foreach($validKeys AS $key) { 292 if (stristr($key, '[_anyKey_]')) { 293 $wildcardKey = str_replace('[_anyKey_]', '', $key); 294 foreach ($invalidKeys AS $index => $invalidKey) { 295 if (stristr($invalidKey, $wildcardKey)) { 296 unset($invalidKeys[$index]);index.php https://github.com/hinablue/TextCube.git | PHP | 280 lines
133?> 134 <img src="<?php echo $context->getProperty('service.path');?>/skin/blog/<?php echo $skinSetting['skin'];?>/preview.jpg" width="150" height="150" alt="<?php echo _t('스킨 미리보기');?>" /> 135<?php 137?> 138 <img src="<?php echo $context->getProperty('service.path');?>/skin/blog/<?php echo $skinSetting['skin'];?>/preview.gif" width="150" height="150" alt="<?php echo _t('스킨 미리보기');?>" /> 139<?php 141?> 142 <img src="<?php echo $context->getProperty('service.path').$context->getProperty('panel.skin');?>/image/noPreview.gif" width="150" height="150" alt="<?php echo _t('스킨 미리보기');?>" /> 143<?php 251 <div id="button_<?php echo $skin['name'];?>" class="button-box"> 252 <a class="preview-button button" href="<?php echo $context->getProperty('uri.blog');?>/owner/skin/preview/?skin=<?php echo $skin['name'];?>" onclick="window.open(this.href, "<?php echo $skin['name'];?>","location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0"); return false;"><span><?php echo _t('미리보기');?></span></a> 253 <span class="hidden">|</span> 253 <span class="hidden">|</span> 254 <a class="apply-button button" href="<?php echo $context->getProperty('uri.blog');?>/owner/skin/change/?skinName=<?php echo urlencode($skin['name']);?>" onclick="selectSkin('<?php echo $skin['name'];?>'); return false;"><span><?php echo _t('적용');?></span></a> 255 </div>util.php https://gitlab.com/imxieke/XCloud | PHP | 280 lines
108 foreach ($ext_arr as $current) { 109 if ($current !== '' && stristr($file,'.'.$current)){//含有扩展名 110 return 0; 133 $base_path = get_path_this(BASIC_PATH).'/'; 134 if(!function_exists('iconv')) $error.= '<li>'.$L['php_env_error_iconv'].'</li>'; 135 if(!function_exists('mb_convert_encoding')) $error.= '<li>'.$L['php_env_error_mb_string'].'</li>'; 135 if(!function_exists('mb_convert_encoding')) $error.= '<li>'.$L['php_env_error_mb_string'].'</li>'; 136 if(!version_compare(PHP_VERSION,'5.0','>=')) $error.= '<li>'.$L['php_env_error_version'].'</li>'; 137 if(!function_exists('file_get_contents')) $error.='<li>'.$L['php_env_error_file'].'</li>'; 138 if(!path_writable(BASIC_PATH)) $error.= '<li>'.$base_path.' '.$L['php_env_error_path'].'</li>'; 139 if(!path_writable(BASIC_PATH.'data')) $error.= '<li>'.$base_path.'data '.$L['php_env_error_path'].'</li>'; 140 if(!path_writable(BASIC_PATH.'data/system')) $error.= '<li>'.$base_path.'data/system '.$L['php_env_error_path'].'</li>'; 140 if(!path_writable(BASIC_PATH.'data/system')) $error.= '<li>'.$base_path.'data/system '.$L['php_env_error_path'].'</li>'; 141 if(!path_writable(BASIC_PATH.'data/User')) $error.= '<li>'.$base_path.'data/User '.$L['php_env_error_path'].'</li>'; 142 if(!path_writable(BASIC_PATH.'data/thumb')) $error.= '<li>'.$base_path.'data/thumb '.$L['php_env_error_path'].'</li>';aa_item.php https://github.com/harz87/Amazon-Affialiate.git | PHP | 227 lines
1<?php 2/* 58 $AA_URI = AA_URI; 59 $joiner = (stristr($AA_URI, "?")) ? "&" : "?"; 60 $item_link = $AA_URI.$joiner."item_id=".$item->item_id; 81 $AA_URI = AA_URI; 82 $joiner = (stristr($AA_URI, "?")) ? "&" : "?"; 83 $item_link = $AA_URI.$joiner."item_id=".$item->item_id;social-media-icons.php https://gitlab.com/Gashler/sg | PHP | 207 lines
129 <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'jetpack' ); ?></label> 130 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" /> 131 </p> 141 <label for="<?php echo esc_attr( $this->get_field_id( 'instagram_username' ) ); ?>"><?php _e( 'Instagram username:', 'jetpack' ); ?></label> 142 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'instagram_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'instagram_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['instagram_username'] ); ?>" /> 143 </p> 153 <label for="<?php echo esc_attr( $this->get_field_id( 'github_username' ) ); ?>"><?php _e( 'GitHub username:', 'jetpack' ); ?></label> 154 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'github_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'github_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['github_username'] ); ?>" /> 155 </p> 157 <label for="<?php echo esc_attr( $this->get_field_id( 'youtube_username' ) ); ?>"><?php _e( 'YouTube channel ID:', 'jetpack' ); ?></label> 158 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'youtube_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'youtube_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['youtube_username'] ); ?>" /> 159 </p> 161 <label for="<?php echo esc_attr( $this->get_field_id( 'vimeo_username' ) ); ?>"><?php _e( 'Vimeo username:', 'jetpack' ); ?></label> 162 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'vimeo_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'vimeo_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['vimeo_username'] ); ?>" /> 163 </p>Trackback.php https://gitlab.com/RikaPM/manik | PHP | 549 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 271 272 if (stristr($this->response, '<error>0</error>') === FALSE) 273 { 547 548/* End of file Trackback.php */ 549/* Location: ./system/libraries/Trackback.php */filepost.com_member.php https://gitlab.com/dkiller1/rapidleech | PHP | 112 lines
1<?php 2 60 $try = $try-1; 61 if (stristr($page, 'Upload will be available a bit later')) html_error("Error@$try: Upload will be available a bit later."); 62 else html_error("Error: No useable upload server found in $try trys."); 65 66 if (stristr($page, 'Upload will be available a bit later')) { 67 sleep(1); // Let's wait...class-wc-download-handler.php https://gitlab.com/webkod3r/tripolis | PHP | 426 lines
1<?php 2 252 exit; 253 } elseif ( stristr( getenv( 'SERVER_SOFTWARE' ), 'lighttpd' ) ) { 254 self::download_headers( $parsed_file_path['file_path'], $filename ); 256 exit; 257 } elseif ( stristr( getenv( 'SERVER_SOFTWARE' ), 'nginx' ) || stristr( getenv( 'SERVER_SOFTWARE' ), 'cherokee' ) ) { 258 self::download_headers( $parsed_file_path['file_path'], $filename ); 338 } 339 if ( function_exists( 'get_magic_quotes_runtime' ) && get_magic_quotes_runtime() && version_compare( phpversion(), '5.4', '<' ) ) { 340 set_magic_quotes_runtime( 0 ); 369 * 370 * Reads file in chunks so big downloads are possible without changing PHP.INI - http://codeigniter.com/wiki/Download_helper_for_large_files/. 371 *Request.php https://github.com/telkins/zf2.git | PHP | 549 lines
1<?php 2/** 508 $header = $this->getHeaders()->get('USER_AGENT'); 509 return false !== $header && stristr($header->getFieldValue(), ' flash'); 510 }