PageRenderTime 903ms queryFilters 29ms Sphinxql 161ms GetByIds 712ms meta 0ms repositoryFilters 10ms languageFilters 0ms sourceFilters 2ms

27,343 results for 'php stristr repo:gartz/RapidLeetch' (903 ms)

Source

Language

Repository

fullonsms-api.php https://bitbucket.org/rovinbhandari/programming_scripting.git | PHP | 117 lines
1<?php 
2
46  curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, $timeout);
47  curl_setopt($curl, CURLOPT_REFERER, "http://sms.fullonsms.com/login.php");
48  $text = curl_exec($curl);
56  // Check for proper login
57    if(!stristr($text,"http://sms.fullonsms.com/landing_page.php")  && !stristr($text,"http://sms.fullonsms.com/home.php?show=contacts") &&!stristr($text, "http://sms.fullonsms.com/action_main.php") )
58  {
67  curl_setopt($curl, CURLOPT_REFERER, $refurl);
68  curl_setopt($curl, CURLOPT_URL, "http://sms.fullonsms.com/home.php");
69  $text = curl_exec($curl);
80    // Send SMS
81    curl_setopt($curl, CURLOPT_URL, 'http://sms.fullonsms.com/home.php');
82    curl_setopt($curl, CURLOPT_REFERER, "http://sms.fullonsms.com/home.php?show=contacts");
84    curl_setopt($curl, CURLOPT_POSTFIELDS,
85      "ActionScript=%2Fhome.php&CancelScript=%2Fhome.php&HtmlTemplate=%2Fvar%2Fwww%2Fhtml%2Ffullonsms%2FStaticSpamWarning.html&MessageLength=140&MobileNos=$p&Message=$msg&Gender=0&FriendName=Your+Friend+Name&ETemplatesId=&TabValue=contacts");
86    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
hinfofun.php https://gitlab.com/BGCX261/zjh-dev-svn-to-git.git | PHP | 2,207 lines
1<?php
2//*************************** 信息 ***************************
72	$add[totaldown]=(int)$add[totaldown];
73	$add[infotags]=RepPhpAspJspcodeText(DoReplaceQjDh($add[infotags]));
74	$add[ispic]=$add[titlepic]?1:0;
231		//返回地址
232		if($add['ecmsfrom']&&(stristr($add['ecmsfrom'],'ListNews.php')||stristr($add['ecmsfrom'],'ListAllInfo.php')))
233		{
237		{
238			$ecmsfrom=$add['ecmsnfrom']==1?"ListNews.php?bclassid=$add[bclassid]&classid=$add[classid]":"ListAllInfo.php?tbname=".$class_r[$add[classid]][tbname];
239		}
438		//返回地址
439		if($add['ecmsfrom']&&(stristr($add['ecmsfrom'],'ListNews.php')||stristr($add['ecmsfrom'],'ListAllInfo.php')))
440		{
551		//返回地址
552		if($add['ecmsfrom']&&(stristr($add['ecmsfrom'],'ListNews.php')||stristr($add['ecmsfrom'],'ListAllInfo.php')))
553		{
php-strings.el git://github.com/ejmr/php-mode.git | Lisp | 769 lines
20
21;; http://php.net/manual/en/ref.strings.php
22;; file:///usr/share/doc/php-doc/html/ref.strings.html
30
31(define-skeleton php-addslashes 
32  "Insert an addcslashes statement"
36
37(define-skeleton php-bin2hex
38  "Insert a bin2hex statement"
91
92(define-skeleton php-crc32
93  "Insert a crc32 statement. Calculates the crc32 polynomial of a string"
526
527(define-skeleton php-stristr
528  "Insert a stristr statement. Case-insensitive strstr "
global_funcs.php https://github.com/brandonlamb/aatraders2.git | PHP | 566 lines
8
9if (preg_match("/global_funcs.php/i", $_SERVER['PHP_SELF'])) 
10{
23
24if (!preg_match("/create_game.php/i", $_SERVER['PHP_SELF']))
25{
109		$_SESSION['artifact'] = 0;
110		if (stristr($_SERVER['PHP_SELF'], "team_forum.php") || 
111		stristr($_SERVER['PHP_SELF'], "casino.php") || 
111		stristr($_SERVER['PHP_SELF'], "casino.php") || 
112		stristr($_SERVER['PHP_SELF'], "message_send.php") || 
113		stristr($_SERVER['PHP_SELF'], "feedback.php") || 
113		stristr($_SERVER['PHP_SELF'], "feedback.php") || 
114		stristr($_SERVER['PHP_SELF'], "sector_notes.php"))
115		{
converter.php https://github.com/bfay/maniacal-kitten.git | PHP | 1,303 lines
1<?php
2
174				padding: 2px 20px 2px 2px;
175				background-image: url('<?php echo admin_url(); ?>images/wpspin_light.gif');
176				background-repeat: no-repeat;
211				values['action'] = 'bbconverter_process';
212				values['_ajax_nonce'] = '<?php echo  wp_create_nonce( 'bbp_converter_process' ); ?>';
213
248				if ( response == '<p class="loading"><?php _e( 'Conversion Complete', 'bbpress' ); ?></p>' || response.indexOf('error') > -1 ) {
249					bbconverter_log('<p>Repair any missing information: <a href="<?php echo admin_url(); ?>tools.php?page=bbp-repair">Continue</a></p>');
250					bbconverter_stop();
271
272		<?php
273	}
1284		while ( $file = readdir( $curdir ) ) {
1285			if ( stristr( $file, '.php' ) && stristr( $file, 'index' ) === FALSE ) {
1286				$file = preg_replace( '/.php/', '', $file );
settings.php https://github.com/bfay/maniacal-kitten.git | PHP | 1,520 lines
392
393	<input name="_bbp_edit_lock" type="number" min="0" step="1" id="_bbp_edit_lock" value="<?php bbp_form_option( '_bbp_edit_lock', '5' ); ?>" class="small-text"<?php bbp_maybe_admin_setting_disabled( '_bbp_edit_lock' ); ?> />
394	<label for="_bbp_edit_lock"><?php _e( 'minutes', 'bbpress' ); ?></label>
523
524			<option <?php selected( $default_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo translate_user_role( $details['name'] ); ?></option>
525
798
799	<input name="_bbp_forum_slug" type="text" id="_bbp_forum_slug" class="regular-text code" value="<?php bbp_form_option( '_bbp_forum_slug', 'forum', true ); ?>"<?php bbp_maybe_admin_setting_disabled( '_bbp_forum_slug' ); ?> />
800
886
887	<input name="_bbp_view_slug" type="text" id="_bbp_view_slug" class="regular-text code" value="<?php bbp_form_option( '_bbp_view_slug', 'view', true ); ?>"<?php bbp_maybe_admin_setting_disabled( '_bbp_view_slug' ); ?> />
888
1066	while ( $file = readdir( $curdir ) ) {
1067		if ( ( stristr( $file, '.php' ) ) && ( stristr( $file, 'index' ) === false ) ) {
1068			$file              = preg_replace( '/.php/', '', $file );
converter.php https://bitbucket.org/Thane2376/death-edge.ru.git | PHP | 1,480 lines
1<?php
2
174				padding: 2px 20px 2px 2px;
175				background-image: url('<?php echo admin_url(); ?>images/wpspin_light.gif');
176				background-repeat: no-repeat;
211				values['action'] = 'bbconverter_process';
212				values['_ajax_nonce'] = '<?php echo  wp_create_nonce( 'bbp_converter_process' ); ?>';
213
248				if ( response == '<p class="loading"><?php esc_html_e( 'Conversion Complete', 'bbpress' ); ?></p>' || response.indexOf('error') > -1 ) {
249					bbconverter_log('<p>Repair any missing information: <a href="<?php echo admin_url(); ?>tools.php?page=bbp-repair">Continue</a></p>');
250					bbconverter_stop();
271
272		<?php
273	}
1461		while ( $file = readdir( $curdir ) ) {
1462			if ( stristr( $file, '.php' ) && stristr( $file, 'index' ) === FALSE ) {
1463				$file = preg_replace( '/.php/', '', $file );
settings.php https://bitbucket.org/Thane2376/death-edge.ru.git | PHP | 1,760 lines
523
524			<option <?php selected( $default_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo translate_user_role( $details['name'] ); ?></option>
525
642
643			<option value="<?php echo esc_attr( $i ); ?>" <?php selected( $i, $current_depth ); ?>><?php echo esc_html( $i ); ?></option>
644
923
924			<option <?php selected( $show_on_root, $option_id ); ?> value="<?php echo esc_attr( $option_id ); ?>"><?php echo esc_html( $details['name'] ); ?></option>
925
1008
1009	<input name="_bbp_user_favs_slug" id="_bbp_user_favs_slug" type="text" class="regular-text code" value="<?php bbp_form_option( '_bbp_user_favs_slug', 'favorites', true ); ?>"<?php bbp_maybe_admin_setting_disabled( '_bbp_user_favs_slug' ); ?> />
1010
1306	while ( $file = readdir( $curdir ) ) {
1307		if ( ( stristr( $file, '.php' ) ) && ( stristr( $file, 'index' ) === false ) ) {
1308			$file              = preg_replace( '/.php/', '', $file );
settings.php https://github.com/p13t3rm/wpaustralia.git | PHP | 1,760 lines
523
524			<option <?php selected( $default_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo translate_user_role( $details['name'] ); ?></option>
525
642
643			<option value="<?php echo esc_attr( $i ); ?>" <?php selected( $i, $current_depth ); ?>><?php echo esc_html( $i ); ?></option>
644
923
924			<option <?php selected( $show_on_root, $option_id ); ?> value="<?php echo esc_attr( $option_id ); ?>"><?php echo esc_html( $details['name'] ); ?></option>
925
1008
1009	<input name="_bbp_user_favs_slug" id="_bbp_user_favs_slug" type="text" class="regular-text code" value="<?php bbp_form_option( '_bbp_user_favs_slug', 'favorites', true ); ?>"<?php bbp_maybe_admin_setting_disabled( '_bbp_user_favs_slug' ); ?> />
1010
1306	while ( $file = readdir( $curdir ) ) {
1307		if ( ( stristr( $file, '.php' ) ) && ( stristr( $file, 'index' ) === false ) ) {
1308			$file              = preg_replace( '/.php/', '', $file );
fullonsms-api.php https://github.com/albana31/InfosysRepo.git | PHP | 118 lines
1<?php 
2
46  curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, $timeout);
47  curl_setopt($curl, CURLOPT_REFERER, "http://sms.fullonsms.com/login.php");
48  $text = curl_exec($curl);
57  // Check for proper login
58    if(!stristr($text,"http://sms.fullonsms.com/landing_page.php")  && !stristr($text,"http://sms.fullonsms.com/home.php?show=contacts") &&!stristr($text, "http://sms.fullonsms.com/action_main.php") )
59  {
68  curl_setopt($curl, CURLOPT_REFERER, $refurl);
69  curl_setopt($curl, CURLOPT_URL, "http://sms.fullonsms.com/home.php");
70  $text = curl_exec($curl);
81    // Send SMS
82    curl_setopt($curl, CURLOPT_URL, 'http://sms.fullonsms.com/home.php');
83    curl_setopt($curl, CURLOPT_REFERER, "http://sms.fullonsms.com/home.php?show=contacts");
85    curl_setopt($curl, CURLOPT_POSTFIELDS,
86      "ActionScript=%2Fhome.php&CancelScript=%2Fhome.php&HtmlTemplate=%2Fvar%2Fwww%2Fhtml%2Ffullonsms%2FStaticSpamWarning.html&MessageLength=140&MobileNos=$p&Message=$msg&Gender=0&FriendName=Your+Friend+Name&ETemplatesId=&TabValue=contacts");
87    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 136 lines
2	@session_start();
3	require_once (dirname(__FILE__)."/../../src/prepend.inc.php");
4
39	Core::load("XMLNavigation", dirname(__FILE__)); // @TODO: delete xml menu, replace with new one
40	define("NOW", str_replace("..","", substr(basename($_SERVER['PHP_SELF']),0, -4))); // @TODO: remove with old templates
41
48
49		if (Scalr_Session::getInstance()->getClientId() != 0 && $user["isactive"] == 0 && !stristr($_SERVER['PHP_SELF'], "billing.php") && !stristr($_SERVER['REQUEST_URI'], 'logout'))
50			UI::Redirect("/billing.php");
56			//
57			require_once (dirname(__FILE__)."/navigation.inc.php");
58		//}
commands.php https://bitbucket.org/ivangalin/instantcms_mirror | PHP | 286 lines
1<?php
2/*
21 *
22 * This is the File Manager Connector for PHP.
23 */
194
195        if(stristr($sExtension, 'php') || stristr($sExtension, 'htm')) { $sErrorNumber = '202' ; }
196
stristr.js git://github.com/kvz/phpjs.git | JavaScript | 25 lines
1module.exports = function stristr (haystack, needle, bool) {
2  //  discuss at: https://locutus.io/php/stristr/
3  // original by: Kevin van Zonneveld (https://kvz.io)
4  // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)
5  //   example 1: stristr('Kevin van Zonneveld', 'Van')
6  //   returns 1: 'van Zonneveld'
6  //   returns 1: 'van Zonneveld'
7  //   example 2: stristr('Kevin van Zonneveld', 'VAN', true)
8  //   returns 2: 'Kevin '
stristr.js https://github.com/andriuspetrauskis/phpjs.git | JavaScript | 25 lines
1module.exports = function stristr (haystack, needle, bool) {
2  //  discuss at: http://locutus.io/php/stristr/
3  // original by: Kevin van Zonneveld (http://kvz.io)
4  // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)
5  //   example 1: stristr('Kevin van Zonneveld', 'Van')
6  //   returns 1: 'van Zonneveld'
6  //   returns 1: 'van Zonneveld'
7  //   example 2: stristr('Kevin van Zonneveld', 'VAN', true)
8  //   returns 2: 'Kevin '
hosts.php https://github.com/gartz/RapidLeetch.git | PHP | 17 lines
1<?php
2$d = dir("hosts/");
3while (false !== ($entry = $d->read())) {
4   if (stristr($entry,'.php') && !stristr($entry,'.JD')) {
5		$hostname = substr($entry,0,-4);
hosts.php https://github.com/gartz/RapidLeetch.git | PHP | 17 lines
1<?php
2$d = dir("hosts/download/");
3while (false !== ($entry = $d->read())) {
4   if (stristr($entry,'.php') && !stristr($entry,'.JD')) {
5		$hostname = substr($entry,0,-4);
php-strings.el https://github.com/andreaja/dotemacs.git | Lisp | 769 lines
20
21;; http://php.net/manual/en/ref.strings.php
22;; file:///usr/share/doc/php-doc/html/ref.strings.html
30
31(define-skeleton php-addslashes 
32  "Insert an addcslashes statement"
36
37(define-skeleton php-bin2hex
38  "Insert a bin2hex statement"
91
92(define-skeleton php-crc32
93  "Insert a crc32 statement. Calculates the crc32 polynomial of a string"
526
527(define-skeleton php-stristr
528  "Insert a stristr statement. Case-insensitive strstr "
hosts.php http://rapidleech36b.googlecode.com/svn/trunk/ | PHP | 60 lines
1<?php
2$host = array();
4while (false !== ($entry = $d->read())) {
5    if (stristr($entry, '.php') && !stristr($entry, '.JD')) {
6        $hostname = substr($entry, 0, -4);
converter.php https://github.com/ajency/Myshala.git | PHP | 1,295 lines
1<?php
2
170				padding: 2px 20px 2px 2px;
171				background-image: url('<?php echo admin_url(); ?>images/wpspin_light.gif');
172				background-repeat: no-repeat;
207				values['action'] = 'bbconverter_process';
208				values['_ajax_nonce'] = '<?php echo  wp_create_nonce( 'bbp_converter_process' ); ?>';
209
244				if ( response == '<p class="loading"><?php _e( 'Conversion Complete', 'bbpress' ); ?></p>' || response.indexOf('error') > -1 ) {
245					bbconverter_log('<p>Repair any missing information: <a href="<?php echo admin_url(); ?>tools.php?page=bbp-repair">Continue</a></p>');
246					bbconverter_stop();
267
268		<?php
269	}
1277		while ( $file = readdir( $curdir ) ) {
1278			if ( stristr( $file, '.php' ) && stristr( $file, 'index' ) === FALSE ) {
1279				$file = preg_replace( '/.php/', '', $file );
settings.php https://github.com/ajency/Myshala.git | PHP | 1,494 lines
384
385	<input name="_bbp_edit_lock" type="number" min="0" step="1" id="_bbp_edit_lock" value="<?php bbp_form_option( '_bbp_edit_lock', '5' ); ?>" class="small-text"<?php bbp_maybe_admin_setting_disabled( '_bbp_edit_lock' ); ?> />
386	<label for="_bbp_edit_lock"><?php _e( 'minutes', 'bbpress' ); ?></label>
515
516			<option <?php selected( $default_role, $role ); ?> value="<?php echo esc_attr( $role ); ?>"><?php echo translate_user_role( $details['name'] ); ?></option>
517
759
760	<p><?php printf( __( 'Custom slugs for single forums, topics, replies, tags, users, and views here. If you change these, existing permalinks will also change.', 'bbpress' ), get_admin_url( null, 'options-permalink.php' ) ); ?></p>
761
841
842	<input name="_bbp_topic_tag_slug" type="text" id="_bbp_topic_tag_slug" class="regular-text code" value="<?php bbp_form_option( '_bbp_topic_tag_slug', 'topic-tag', true ); ?>"<?php bbp_maybe_admin_setting_disabled( '_bbp_topic_tag_slug' ); ?> />
843
1041	while ( $file = readdir( $curdir ) ) {
1042		if ( ( stristr( $file, '.php' ) ) && ( stristr( $file, 'index' ) === false ) ) {
1043			$file              = preg_replace( '/.php/', '', $file );
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21