PageRenderTime 988ms queryTime 76ms sortTime 213ms getByIdsTime 540ms findMatchingLines 13ms

15+ results for 'php stristr repo:jondaiello/h5sp-r' (988 ms)

Not the results you expected?
ps_perm.php https://github.com/Shigaru/shigaru.git | PHP | 461 lines
                    
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);
                    
184
                    
                
self_test.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 314 lines
                    
33            <?php if (PHP_VERSION >= 5): ?>
                    
34            <code><?php echo PHP_VERSION; ?></code>
                    
35            <?php else: ?>
                    
35            <?php else: ?>
                    
36            <code><?php echo PHP_VERSION; ?></code>;
                    
37            <?php endif; ?>
                    
42            Web Server:
                    
43            <?php if (stristr($_SERVER['SERVER_SOFTWARE'], 'apache') !== false): ?>
                    
44            <code>Apache</code>
                    
44            <code>Apache</code>
                    
45            <?php elseif (stristr($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false): ?>
                    
46            <code>Lite Speed</code>
                    
46            <code>Lite Speed</code>
                    
47            <?php elseif (stristr($_SERVER['SERVER_SOFTWARE'], 'nginx') !== false): ?>
                    
48            <code>nginx</code>
                    
                
checkbase.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))
                    
                
index.php https://github.com/atutor/AChecker.git | PHP | 294 lines
                    
53			<td>Case Sensitivity</td>
                    
54			<td><?php if (file_exists('../include/classes/AccessibilityValidator.class.php') && file_exists('../include/classes/accessibilityvalidator.class.php')) {
                    
55						echo 'Ignored</td><td align="center">';
                    
74			<td>PHP 5.0.0+</td>
                    
75			<td><?php echo phpversion(); ?></td>
                    
76			<td align="center"><?php	if (version_compare(phpversion(), '5.0.0', '>=')) {
                    
152			<td><?php echo $filesize = ini_get('post_max_size'); ?></td>
                    
153			<td align="center"><?php 
                    
154				$filesize_int = intval($filesize);
                    
232						We strongly encourage you to install the 'mbstring' library before continuing, however, if you choose not to install the library from PHP, a third party library within AChecker will be used.  <br/><br/>
                    
233						For production systems, we strongly encourage you to install the PHP with <a href="http://ca.php.net/manual/en/ref.mbstring.php" target="php_site">mbstring</a> support.  <br/><br/>
                    
234						You may choose to by pass the mbstring check for the installation at your own risk by clicking <a href="javascript:void(0);" onclick="javascript:document.form.next.disabled=false;">continue</a>.</strong></td>
                    
293
                    
294<?php require(AC_INCLUDE_PATH.'footer.inc.php'); ?>
                    
295
                    
                
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];
                    
                
log_processor.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 321 lines
                    
1<?php
                    
2/* This file is part of BBClone (The PHP web counter on steroids)
                    
3 *
                    
4 * $Header: /cvs/bbclone/log_processor.php,v 1.105 2005/04/04 09:53:45 olliver Exp $
                    
5 *
                    
111  // unfortunately big5 is unsupported as internal charset for mbstring operations
                    
112  if (defined("_BBC_MBSTRING") && (stristr("UTF", $char) || stristr("EUC-JP", $char) || stristr("gb2312", $char))) {
                    
113    mb_internal_encoding($char);
                    
309    // fix browsers with capital letters (must be lowercase)
                    
310    foreach (array("MyRSS", "PhpDig") as $i) {
                    
311      if (isset($access['stat']['robot'][$i])) {
                    
                
HTTP_WebDAV_Server_vCal.php https://github.com/jacknicole/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 = '';
                    
                
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 {
                    
                
mod.rss.php https://bitbucket.org/mbaily/tremain.git | PHP | 519 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
85		// Check for 'diff -e' request
                    
86		if (isset($request['A-IM']) && stristr($request['A-IM'], 'diffe') !== FALSE)
                    
87		{
                    
98		//  Check for 'feed' request
                    
99		if (isset($request['A-IM']) && stristr($request['A-IM'],'feed') !== FALSE)
                    
100		{
                    
140				// Remove limit if we have a start_on and dynamic_start
                    
141				if ($start_on != '' && stristr($matches[0][$i],'dynamic_start="yes"'))
                    
142				{
                    
461		{			
                    
462			if (stristr($match[1], LD.'if'))
                    
463			{
                    
517
                    
518/* End of file mod.rss.php */
                    
519/* Location: ./system/expressionengine/modules/rss/mod.rss.php */
                    
                
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     *
                    
                
 

Source

Language