PageRenderTime 96ms queryFilters 0ms Sphinxql 161ms GetByIds 318ms meta 0ms repositoryFilters 216ms languageFilters 0ms sourceFilters 39ms

8,318 results for 'php stristr repo:Fishgate/privatecollectionswp' (96 ms)

Source

Language

Repository

prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 132 lines
3	session_start();
4	require_once (dirname(__FILE__)."/../../src/prepend.inc.php");
5
9	{
10		CONTEXTS::$APPCONTEXT = !stristr($_SERVER['PHP_SELF'], "event_handler.php") ? APPCONTEXT::CONTROL_PANEL : APPCONTEXT::EVENT_HANDLER;
11
59    	
60    	if (!$valid && !stristr($_SERVER['PHP_SELF'], "login.php") && !stristr($_SERVER['PHP_SELF'], "index.php"))
61    	{
102    		) {
103    			if (!stristr($_SERVER['PHP_SELF'], 'aws_settings.php') && 
104    				!stristr($_SERVER['PHP_SELF'], 'login.php') &&
105    				!stristr($_SERVER['PHP_SELF'], 'profile.php') &&
106    				!stristr($_SERVER['PHP_SELF'], 'client_dashboard.php')
107    			)
hinfofun.php https://github.com/westeast/xwdede.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		{
db.php http://buscocarro.googlecode.com/svn/trunk/ | PHP | 740 lines
1<?php
2
2
3include_once 'constants.php';
4
468        $entorno['request_uri'] = $_SERVER['REQUEST_URI'];
469        $entorno['php_self'] = $_SERVER['PHP_SELF'];
470        $entorno['url_completa'] = "http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
495        // <editor-fold defaultstate="collapsed" desc="comprobacion de errores">
496        if ((!stristr($file, "simplepie.inc") && !stristr($file, "krumo") && !stristr($err, "mysqli")) && ($num == 1 || $num == 2 || $num == 4 || $num == 8 || $num == 16 || $num == 256 || $num == 2048 || $num == 2049)) {
497//            echo "<code style='border:1px solid black; background-color:white!important; border-radius:5px;'>" . $html . "</code>";
501                echo $html;
502        } elseif (!stristr($file, "simplepie.inc") && !stristr($file, "krumo.php") && !stristr($err, "mysqli")) {
503//            echo "<code style='border:1px solid black; background-color:white!important; border-radius:5px;'>" . $html . "</code>";
658                /* si no encuentro el campo ni la direccion en la url */
659                if (stristr($param, $campo) === false && stristr($param, $direccion) === false) {
660                    array_push($newParams, $param);
prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 116 lines
3	session_start();
4	require_once (dirname(__FILE__)."/../../src/prepend.inc.php");
5
7	if (!$context)
8		CONTEXTS::$APPCONTEXT = !stristr($_SERVER['PHP_SELF'], "event_handler.php") ? APPCONTEXT::CONTROL_PANEL : APPCONTEXT::EVENT_HANDLER;
9	else
51    	
52    	if (!$valid && !stristr($_SERVER['PHP_SELF'], "login.php"))
53    	{
88    		) {
89    			if (!stristr($_SERVER['PHP_SELF'], 'aws_settings.php') && 
90    				!stristr($_SERVER['PHP_SELF'], 'login.php') &&
90    				!stristr($_SERVER['PHP_SELF'], 'login.php') &&
91    				!stristr($_SERVER['PHP_SELF'], 'profile.php')
92    			)
prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 80 lines
3	session_start();
4	require_once (dirname(__FILE__)."/../../src/prepend.inc.php");
5
7	if (!$context)
8		CONTEXTS::$APPCONTEXT = !stristr($_SERVER['PHP_SELF'], "event_handler.php") ? APPCONTEXT::CONTROL_PANEL : APPCONTEXT::EVENT_HANDLER;
9	else
29    	
30    	if (!$valid && !stristr($_SERVER['PHP_SELF'], "login.php"))
31    	{
62    		) {
63    			if (!stristr($_SERVER['PHP_SELF'], 'aws_settings.php') && 
64    				!stristr($_SERVER['PHP_SELF'], 'login.php') &&
64    				!stristr($_SERVER['PHP_SELF'], 'login.php') &&
65    				!stristr($_SERVER['PHP_SELF'], 'profile.php')
66    			)
prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 74 lines
3	session_start();
4	require_once (dirname(__FILE__)."/../../src/prepend.inc.php");
5
6	// Define current context
7	CONTEXTS::$APPCONTEXT = !stristr($_SERVER['PHP_SELF'], "event_handler.php") ? APPCONTEXT::CONTROL_PANEL : APPCONTEXT::EVENT_HANDLER;
8	
26    	
27    	if (!$valid && !stristr($_SERVER['PHP_SELF'], "login.php"))
28    	{
30    		$mess = "Please login";
31    		UI::Redirect("/login.php");
32    	}
57    			if (!stristr($_SERVER['PHP_SELF'], 'aws_settings.php') && 
58    				!stristr($_SERVER['PHP_SELF'], 'login.php') &&
59    				!stristr($_SERVER['PHP_SELF'], 'profile.php')
prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 67 lines
3	session_start();
4	require_once (dirname(__FILE__)."/../../src/prepend.inc.php");
5
6	// Define current context
7	CONTEXTS::$APPCONTEXT = !stristr($_SERVER['PHP_SELF'], "event_handler.php") ? APPCONTEXT::CONTROL_PANEL : APPCONTEXT::EVENT_HANDLER;
8	
26    	
27    	if (!$valid && !stristr($_SERVER['PHP_SELF'], "login.php"))
28    	{
30    		$mess = "Please login";
31    		UI::Redirect("/login.php");
32    	}
57    			if (!stristr($_SERVER['PHP_SELF'], 'aws_settings.php') && 
58    				!stristr($_SERVER['PHP_SELF'], 'login.php') &&
59    				!stristr($_SERVER['PHP_SELF'], 'profile.php')
phpToJS.php git://github.com/phpnode/YiiJS.git | PHP | 1,640 lines
3 * A woefully naive, context unaware PHP to JavaScript token transformer.
4 * Relies on php.js for a lot of the built in PHP functions.
5 * HERE BE DRAGONS!
231		'stripslashes' => 'php.stripslashes',
232		'stristr' => 'php.stristr',
233		'strlen' => 'php.strlen',
1414 */
1415class phpClass extends phpBase {
1416	
1512 */
1513class phpProperty extends phpBase {
1514	/**
1547 */
1548class phpMethod extends phpBase {
1549	/**
prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 64 lines
3	session_start();
4	require_once (dirname(__FILE__)."/../../src/prepend.inc.php");
5
6	// Define current context
7	CONTEXTS::$APPCONTEXT = !stristr($_SERVER['PHP_SELF'], "event_handler.php") ? APPCONTEXT::CONTROL_PANEL : APPCONTEXT::EVENT_HANDLER;
8	
10	{
11    	Core::load("Data/JSON/JSON.php");
12    	Core::load("XMLNavigation", dirname(__FILE__));
26    	
27    	if (!$valid && !stristr($_SERVER['PHP_SELF'], "login.php"))
28    	{
56    		) {
57    			if (!stristr($_SERVER['PHP_SELF'], 'aws_settings.php') && !stristr($_SERVER['PHP_SELF'], 'login.php'))
58    				UI::Redirect("aws_settings.php");
prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 64 lines
3	session_start();
4	require_once (dirname(__FILE__)."/../../src/prepend.inc.php");
5
6	// Define current context
7	CONTEXTS::$APPCONTEXT = !stristr($_SERVER['PHP_SELF'], "event_handler.php") ? APPCONTEXT::CONTROL_PANEL : APPCONTEXT::EVENT_HANDLER;
8	
10	{
11    	Core::load("Data/JSON/JSON.php");
12    	Core::load("XMLNavigation", dirname(__FILE__));
26    	
27    	if (!$valid && !stristr($_SERVER['PHP_SELF'], "login.php"))
28    	{
56    		) {
57    			if (!stristr($_SERVER['PHP_SELF'], 'aws_settings.php') && !stristr($_SERVER['PHP_SELF'], 'login.php'))
58    				UI::Redirect("aws_settings.php");
fullonsms-api.php https://github.com/sampritipanda/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 | 117 lines
3	session_start();
4	require_once (dirname(__FILE__)."/../../src/prepend.inc.php");
5
9	{
10		CONTEXTS::$APPCONTEXT = !stristr($_SERVER['PHP_SELF'], "event_handler.php") ? APPCONTEXT::CONTROL_PANEL : APPCONTEXT::EVENT_HANDLER;
11
21	{
22    	Core::load("Data/JSON/JSON.php");
23    	Core::load("XMLNavigation", dirname(__FILE__));
24    	
25    	define("NOW", str_replace("..","", substr(basename($_SERVER['PHP_SELF']),0, -4)));
26	
55    	
56    	if (!$valid && !stristr($_SERVER['PHP_SELF'], "login.php") && !stristr($_SERVER['PHP_SELF'], "index.php"))
57    	{
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);
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 "
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 );
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		//}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21