20+ results for 'php stristr repo:gartz/RapidLeetch' (3643 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 {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>';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 *State.php https://github.com/wrobel/horde-fw3.git | PHP | 416 lines
1<?php 2 4 * SyncML_State object and its property objects from the session. */ 5require_once 'SyncML/DeviceInfo.php'; 6require_once 'SyncML/Device.php'; 6require_once 'SyncML/Device.php'; 7require_once 'SyncML/Constants.php'; 8require_once 'SyncML/Command/SyncElement.php'; 12 * 13 * $Horde: framework/SyncML/SyncML/State.php,v 1.17.2.19 2009-04-07 11:12:54 jan Exp $ 14 * 29 * 30 * This is not to confuse with the PHP session id, though it is part of 31 * the generated PHP session id. 56 * 57 * Can be used to identify the client and is part of the PHP session id. 58 *shortcodes.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 375 lines
1<?php 2/** 48 49 if ( stristr( $content, '[singlepic' )) { 50 $search = "@\[singlepic=(\d+)(|,\d+|,)(|,\d+|,)(|,watermark|,web20|,)(|,right|,center|,left|,)\]@i"; 64 65 if ( stristr( $content, '[album' )) { 66 $search = "@(?:<p>)*\s*\[album\s*=\s*(\w+|^\+)(|,extend|,compact)\]\s*(?:</p>)*@i"; 77 78 if ( stristr( $content, '[gallery' )) { 79 $search = "@(?:<p>)*\s*\[gallery\s*=\s*(\w+|^\+)\]\s*(?:</p>)*@i"; 88 89 if ( stristr( $content, '[imagebrowser' )) { 90 $search = "@(?:<p>)*\s*\[imagebrowser\s*=\s*(\w+|^\+)\]\s*(?:</p>)*@i"; 99 100 if ( stristr( $content, '[slideshow' )) { 101 $search = "@(?:<p>)*\s*\[slideshow\s*=\s*(\w+|^\+)(|,(\d+)|,)(|,(\d+))\]\s*(?:</p>)*@i";Image.php https://github.com/deadeyes/torrentflux.git | PHP | 494 lines
1<?php 2 119 /** 120 * check image support of PHP + GD 121 * 141 /** 142 * check image-type support of PHP + GD 143 * 154 if (!((isset($_SERVER["HTTP_REFERER"])) && 155 (stristr($_SERVER["HTTP_REFERER"], $_SERVER["SERVER_NAME"]) !== false))) 156 Image::paintInvalidReferer();Standard.php https://gitlab.com/reasonat/test8 | PHP | 173 lines
1<?php 2 101 protected static function filterXssDataAttributes($html) { 102 if (stristr($html, 'data-') !== FALSE) { 103 $dom = Html::load($html);php.js https://gitlab.com/juanito.abelo/nlmobile | JavaScript | 132 lines
23 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__"), 24 builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport echo print global static exit array empty eval isset unset die include require include_once require_once"), 25 multiLineStrings: true, 54 var htmlMode = CodeMirror.getMode(config, "text/html"); 55 var phpMode = CodeMirror.getMode(config, phpConfig); 56 82 return style; 83 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 84 state.curMode = htmlMode; 103 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 104 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 105 if (state.curMode == htmlMode) cur = htmlNew; 130 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 131 CodeMirror.defineMIME("text/x-php", phpConfig); 132})();Doctype.php https://gitlab.com/fabiorf/curso-zend1-aula1 | PHP | 242 lines
1<?php 2/** 18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Doctype.php 25101 2012-11-07 20:27:27Z rob $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 23/** Zend_Registry */ 24require_once 'Zend/Registry.php'; 25 25 26/** Zend_View_Helper_Abstract.php */ 27require_once 'Zend/View/Helper/Abstract.php'; 134 if (substr($doctype, 0, 9) != '<!DOCTYPE') { 135 require_once 'Zend/View/Exception.php'; 136 $e = new Zend_View_Exception('The specified doctype is malformed'); 139 } 140 if (stristr($doctype, 'xhtml')) { 141 $type = self::CUSTOM_XHTML;mysqli_driver.php https://github.com/holsinger/openfloor.git | PHP | 478 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 * 18/** 19 * MySQLi Database Adapter Class - MySQLi only works with PHP 5 20 * 369 { 370 if (stristr($table, '.')) 371 {lcfirst.php https://gitlab.com/iranjith4/hhvm | PHP | 158 lines
1<?php 2/* Make a string's first character uppercase */ 57 public function __call($m, $v) { 58 if (stristr($m, 'set')) { 59 $action = lcfirst(substr($m, 3));files.php https://gitlab.com/iamgraeme/royalmile | PHP | 137 lines
1<?php 2/** 72 73$action_url = network_admin_url( 'admin.php?page=wpseo_files' ); // auto-falls back on admin_url for non-multisite 74 110 111if ( ( isset( $_SERVER['SERVER_SOFTWARE'] ) && stristr( $_SERVER['SERVER_SOFTWARE'], 'nginx' ) === false ) && file_exists( $ht_access_file ) ) { 112 $f = fopen( $ht_access_file, 'r' ); 131 $wpseo_admin_pages->postbox( 'htaccess', __( '.htaccess file', 'wordpress-seo' ), $content ); 132} elseif ( ( isset( $_SERVER['SERVER_SOFTWARE'] ) && stristr( $_SERVER['SERVER_SOFTWARE'], 'nginx' ) === false ) && ! file_exists( $ht_access_file ) ) { 133 $content = '<p>' . __( 'If you had a .htaccess file and it was editable, you could edit it from here.', 'wordpress-seo' );