16+ results for 'php stristr repo:redrush85/EJP' (2306 ms)
1<?php 2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 4* 5* @version $Id: ps_perm.php 1818 2009-06-23 19:07:21Z soeren_nb $ 6* @package VirtueMart 8* @copyright Copyright (C) 2004-2009 soeren - All rights reserved. 9* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 10* VirtueMart is free software. This version may have been modified pursuant 13* other free or open source software licenses. 14* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details. 15* 114 if( $auth["perms"] == "shopper" ) { 115 if (stristr($vmUser->usertype,"Administrator")) { 116 $auth["perms"] = "admin"; 117 } 118 elseif (stristr($vmUser->usertype,"Manager")) { 119 $auth["perms"] = "storeadmin";Search.php https://gitlab.com/digitalpoetry/exceptionally-timed | PHP | 462 lines
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); 184checkbase.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 231 lines
1<?php 2// main global to hold our checks 13 // should return true for good/okay/acceptable, false for bad/not-okay/unacceptable 14 public function check( $php_files, $css_files, $other_files ); 15 21$dir = 'checks'; 22foreach (glob(dirname(__FILE__). "/{$dir}/*.php") as $file) { 23 include $file; 25 26function run_themechecks($php, $css, $other) { 27 global $themechecks; 30 if ($check instanceof themecheck) { 31 $pass = $pass & $check->check($php, $css, $other); 32 } 85 foreach( $lines as $this_line ) { 86 if ( stristr ( $this_line, $error ) ) { 87 $error = str_replace( '"', "'", $error );odbc_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 {Data.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 302 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) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 254 $simple = false; 255 if (stristr($this->_getRequest()->getActionName(), 'simple') 256 || !is_null($this->_getRequest()->getParam('simple', null))class.datagrid_filters.php https://bitbucket.org/briancastellanos/cse360.git | PHP | 326 lines
1<?php 2/** 104 105 if(!stristr($bt[0]['file'],basename(__FILE__))){ 106 $bt = $bt[0];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 {HTTP_WebDAV_Server_vCal.php https://github.com/joshbhamilton/sugarcrm_dev.git | PHP | 430 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 42 43require_once 'modules/Calendar/Calendar.php'; 44 44 45require_once 'include/HTTP_WebDAV_Server/Server.php'; 46 103 foreach(apache_request_headers() as $key => $value) { 104 if(stristr($key,"litmus")) { 105 error_log("Litmus test $value"); 352 // open input stream 353 $options["stream"] = fopen("php://input", "r"); 354 $content = '';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) {State.php https://github.com/Excito/horde3.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 *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>jpgraph_ttf.inc.php https://github.com/kennethjiang/Wolke.git | PHP | 339 lines
1<?php 2//======================================================================= 2//======================================================================= 3// File: jpgraph_ttf.inc.php 4// Description: Handling of TTF fonts 5// Created: 2006-11-19 6// Ver: $Id: jpgraph_ttf.inc.php 805 2006-11-28 07:45:54Z ljp $ 7// 86 } elseif( LANGUAGE_CYRILLIC ) { 87 if( CYRILLIC_FROM_WINDOWS && (!defined('LANGUAGE_CHARSET') || stristr(LANGUAGE_CHARSET, 'windows-1251')) ) { 88 $aTxt = convert_cyr_string($aTxt, "w", "k"); 89 } 90 if( !defined('LANGUAGE_CHARSET') || stristr(LANGUAGE_CHARSET, 'koi8-r') || stristr(LANGUAGE_CHARSET, 'windows-1251')) { 91 $isostring = convert_cyr_string($aTxt, "k", "i"); 109 JpGraphError::RaiseL(25006); 110//('Usage of FF_CHINESE (FF_BIG5) font family requires that your PHP setup has the iconv() function. By default this is not compiled into PHP (needs the "--width-iconv" when configured).'); 111 }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;