PageRenderTime 748ms queryFilters 0ms Sphinxql 170ms GetByIds 519ms meta 0ms repositoryFilters 20ms languageFilters 0ms sourceFilters 1ms

27,343 results for 'php stristr' (748 ms)

Source

Language

Repository

Template.php https://bitbucket.org/studiobreakfast/sync.git | PHP | 3,951 lines
39	var $template_hits		=	0;
40	var $php_parse_location =  'output';	// Where in the chain the PHP gets parsed
41	var $template_edit_date	=	'';			// Template edit date
45	var $hit_lock			=  FALSE;		// Lets us lock the hit counter if sub-templates are contained in a template
46	var $parse_php			=  FALSE;		// Whether to parse PHP or not
47	var $protect_javascript =  TRUE;		// Protect javascript in conditionals
430		// Parse Input Stage PHP		
431		if ($this->parse_php == TRUE && $this->php_parse_location == 'input' && $this->cache_status != 'CURRENT')
432		{
3210			
3211			if (stristr($rcond, '\|') !== FALSE OR stristr($rcond, '&') !== FALSE)
3212			{
3305			
3306			if (stristr($rcond, '\|') !== FALSE OR stristr($rcond, '&') !== FALSE)
3307			{
Template.php https://bitbucket.org/sbeuken/artelux.git | PHP | 3,955 lines
39	var $template_hits		=	0;
40	var $php_parse_location =  'output';	// Where in the chain the PHP gets parsed
41	var $template_edit_date	=	'';			// Template edit date
45	var $hit_lock			=  FALSE;		// Lets us lock the hit counter if sub-templates are contained in a template
46	var $parse_php			=  FALSE;		// Whether to parse PHP or not
47	var $protect_javascript =  TRUE;		// Protect javascript in conditionals
430		// Parse Input Stage PHP		
431		if ($this->parse_php == TRUE && $this->php_parse_location == 'input' && $this->cache_status != 'CURRENT')
432		{
3214			
3215			if (stristr($rcond, '\|') !== FALSE OR stristr($rcond, '&') !== FALSE)
3216			{
3309			
3310			if (stristr($rcond, '\|') !== FALSE OR stristr($rcond, '&') !== FALSE)
3311			{
Template.php https://bitbucket.org/tdevonshire/hoolux.git | PHP | 3,955 lines
39	var $template_hits		=	0;
40	var $php_parse_location =  'output';	// Where in the chain the PHP gets parsed
41	var $template_edit_date	=	'';			// Template edit date
45	var $hit_lock			=  FALSE;		// Lets us lock the hit counter if sub-templates are contained in a template
46	var $parse_php			=  FALSE;		// Whether to parse PHP or not
47	var $protect_javascript =  TRUE;		// Protect javascript in conditionals
430		// Parse Input Stage PHP		
431		if ($this->parse_php == TRUE && $this->php_parse_location == 'input' && $this->cache_status != 'CURRENT')
432		{
3214			
3215			if (stristr($rcond, '\|') !== FALSE OR stristr($rcond, '&') !== FALSE)
3216			{
3309			
3310			if (stristr($rcond, '\|') !== FALSE OR stristr($rcond, '&') !== FALSE)
3311			{
TestSuite.php https://bitbucket.org/ddonthula/zurmounl | PHP | 750 lines
1<?php
2    /*********************************************************************************
28
29    require_once('../PhpUnitServiceUtil.php');
30    require_once 'File/Iterator.php';
34    {
35        require_once($basePath . '/protected/config/debugTest.php');
36    }
38    {
39        copy($basePath . '/protected/config/debugDIST.php', $basePath . '/protected/config/debugTest.php');
40        die('Please configure functional tests in config file ' . $basePath . '/protected/config/debugTest.php');
59            $usage = "\n"                                                                                                   .
60                     "  Usage: php [options] TestSuite.php <All|Misc|moduleName|TestClassName> [options]\n"                 .
61                     "\n"                                                                                                   .
77                     "    php TestSuiteSelenium.php accounts (Run the tests in the Accounts module.)\n"                     .
78                     "    php TestSuiteSelenium.php RedBeanModelTest   (Run the test suite RedBeanModelTest.html.)\n"       .
79                     "\n"                                                                                                   .
mysql_phpinfo.php git://github.com/facebook/hiphop-php.git | PHP | 66 lines
10/* all versions should at least dump this minimum information */
11if (!stristr($phpinfo, "mysql support"))
12	printf("[001] ext/mysql should have exposed itself.\n");
13
14if (!stristr($phpinfo, "client api version"))
15	printf("[002] ext/mysql should have exposed the library version.\n");
37
38if (!stristr($phpinfo, "mysql.connect_timeout"))
39	printf("[010] php.ini setting mysql.connect_timeout not shown.\n");
40
41if (!stristr($phpinfo, "mysql.allow_persistent"))
42	printf("[011] php.ini setting mysql.allow_persistent not shown.\n");
59	foreach ($expected as $k => $entry)
60		if (!stristr($phpinfo, $entry))
61			printf("[012] Could not find entry for '%s'\n", $entry);
TestSuite.php https://bitbucket.org/markwu/zurmo | PHP | 761 lines
1<?php
2    /*********************************************************************************
38
39    require_once('../PhpUnitServiceUtil.php');
40    require_once 'File/Iterator.php';
44    {
45        require_once($basePath . '/protected/config/debugTest.php');
46    }
48    {
49        copy($basePath . '/protected/config/debugDIST.php', $basePath . '/protected/config/debugTest.php');
50        die('Please configure functional tests in config file ' . $basePath . '/protected/config/debugTest.php');
69            $usage = "\n"                                                                                                   .
70                     "  Usage: php [options] TestSuite.php <All|Misc|moduleName|TestClassName> [options]\n"                 .
71                     "\n"                                                                                                   .
87                     "    php TestSuiteSelenium.php accounts (Run the tests in the Accounts module.)\n"                     .
88                     "    php TestSuiteSelenium.php RedBeanModelTest   (Run the test suite RedBeanModelTest.html.)\n"       .
89                     "\n"                                                                                                   .
TestSuite.php https://bitbucket.org/ddonthula/zurmoreporting | PHP | 750 lines
1<?php
2    /*********************************************************************************
28
29    require_once('../PhpUnitServiceUtil.php');
30    require_once 'File/Iterator.php';
34    {
35        require_once($basePath . '/protected/config/debugTest.php');
36    }
38    {
39        copy($basePath . '/protected/config/debugDIST.php', $basePath . '/protected/config/debugTest.php');
40        die('Please configure functional tests in config file ' . $basePath . '/protected/config/debugTest.php');
59            $usage = "\n"                                                                                                   .
60                     "  Usage: php [options] TestSuite.php <All|Misc|moduleName|TestClassName> [options]\n"                 .
61                     "\n"                                                                                                   .
77                     "    php TestSuiteSelenium.php accounts (Run the tests in the Accounts module.)\n"                     .
78                     "    php TestSuiteSelenium.php RedBeanModelTest   (Run the test suite RedBeanModelTest.html.)\n"       .
79                     "\n"                                                                                                   .
TestSuite.php https://bitbucket.org/ddonthula/zurmo21dec2012 | PHP | 750 lines
1<?php
2    /*********************************************************************************
28
29    require_once('../PhpUnitServiceUtil.php');
30    require_once 'File/Iterator.php';
34    {
35        require_once($basePath . '/protected/config/debugTest.php');
36    }
38    {
39        copy($basePath . '/protected/config/debugDIST.php', $basePath . '/protected/config/debugTest.php');
40        die('Please configure functional tests in config file ' . $basePath . '/protected/config/debugTest.php');
59            $usage = "\n"                                                                                                   .
60                     "  Usage: php [options] TestSuite.php <All|Misc|moduleName|TestClassName> [options]\n"                 .
61                     "\n"                                                                                                   .
77                     "    php TestSuiteSelenium.php accounts (Run the tests in the Accounts module.)\n"                     .
78                     "    php TestSuiteSelenium.php RedBeanModelTest   (Run the test suite RedBeanModelTest.html.)\n"       .
79                     "\n"                                                                                                   .
TestSuite.php https://bitbucket.org/ddonthula/zurmo | PHP | 750 lines
1<?php
2    /*********************************************************************************
28
29    require_once('../PhpUnitServiceUtil.php');
30    require_once 'File/Iterator.php';
34    {
35        require_once($basePath . '/protected/config/debugTest.php');
36    }
38    {
39        copy($basePath . '/protected/config/debugDIST.php', $basePath . '/protected/config/debugTest.php');
40        die('Please configure functional tests in config file ' . $basePath . '/protected/config/debugTest.php');
59            $usage = "\n"                                                                                                   .
60                     "  Usage: php [options] TestSuite.php <All|Misc|moduleName|TestClassName> [options]\n"                 .
61                     "\n"                                                                                                   .
77                     "    php TestSuiteSelenium.php accounts (Run the tests in the Accounts module.)\n"                     .
78                     "    php TestSuiteSelenium.php RedBeanModelTest   (Run the test suite RedBeanModelTest.html.)\n"       .
79                     "\n"                                                                                                   .
TestSuite.php https://bitbucket.org/ddonthula/zurmozoo-1.0.0 | PHP | 750 lines
1<?php
2    /*********************************************************************************
28
29    require_once('../PhpUnitServiceUtil.php');
30    require_once 'File/Iterator.php';
34    {
35        require_once($basePath . '/protected/config/debugTest.php');
36    }
38    {
39        copy($basePath . '/protected/config/debugDIST.php', $basePath . '/protected/config/debugTest.php');
40        die('Please configure functional tests in config file ' . $basePath . '/protected/config/debugTest.php');
59            $usage = "\n"                                                                                                   .
60                     "  Usage: php [options] TestSuite.php <All|Misc|moduleName|TestClassName> [options]\n"                 .
61                     "\n"                                                                                                   .
77                     "    php TestSuiteSelenium.php accounts (Run the tests in the Accounts module.)\n"                     .
78                     "    php TestSuiteSelenium.php RedBeanModelTest   (Run the test suite RedBeanModelTest.html.)\n"       .
79                     "\n"                                                                                                   .
TestSuite.php https://bitbucket.org/ddonthula/zurmocb | PHP | 750 lines
1<?php
2    /*********************************************************************************
28
29    require_once('../PhpUnitServiceUtil.php');
30    require_once 'File/Iterator.php';
34    {
35        require_once($basePath . '/protected/config/debugTest.php');
36    }
38    {
39        copy($basePath . '/protected/config/debugDIST.php', $basePath . '/protected/config/debugTest.php');
40        die('Please configure functional tests in config file ' . $basePath . '/protected/config/debugTest.php');
59            $usage = "\n"                                                                                                   .
60                     "  Usage: php [options] TestSuite.php <All|Misc|moduleName|TestClassName> [options]\n"                 .
61                     "\n"                                                                                                   .
77                     "    php TestSuiteSelenium.php accounts (Run the tests in the Accounts module.)\n"                     .
78                     "    php TestSuiteSelenium.php RedBeanModelTest   (Run the test suite RedBeanModelTest.html.)\n"       .
79                     "\n"                                                                                                   .
TestSuite.php https://bitbucket.org/deoye/zurmocrmform | PHP | 750 lines
1<?php
2    /*********************************************************************************
28
29    require_once('../PhpUnitServiceUtil.php');
30    require_once 'File/Iterator.php';
34    {
35        require_once($basePath . '/protected/config/debugTest.php');
36    }
38    {
39        copy($basePath . '/protected/config/debugDIST.php', $basePath . '/protected/config/debugTest.php');
40        die('Please configure functional tests in config file ' . $basePath . '/protected/config/debugTest.php');
59            $usage = "\n"                                                                                                   .
60                     "  Usage: php [options] TestSuite.php <All|Misc|moduleName|TestClassName> [options]\n"                 .
61                     "\n"                                                                                                   .
77                     "    php TestSuiteSelenium.php accounts (Run the tests in the Accounts module.)\n"                     .
78                     "    php TestSuiteSelenium.php RedBeanModelTest   (Run the test suite RedBeanModelTest.html.)\n"       .
79                     "\n"                                                                                                   .
TestSuite.php https://bitbucket.org/ddonthula/zurmofeb | PHP | 751 lines
1<?php
2    /*********************************************************************************
28
29    require_once('../PhpUnitServiceUtil.php');
30    require_once 'File/Iterator.php';
34    {
35        require_once($basePath . '/protected/config/debugTest.php');
36    }
38    {
39        copy($basePath . '/protected/config/debugDIST.php', $basePath . '/protected/config/debugTest.php');
40        die('Please configure functional tests in config file ' . $basePath . '/protected/config/debugTest.php');
59            $usage = "\n"                                                                                                   .
60                     "  Usage: php [options] TestSuite.php <All|Misc|moduleName|TestClassName> [options]\n"                 .
61                     "\n"                                                                                                   .
77                     "    php TestSuiteSelenium.php accounts (Run the tests in the Accounts module.)\n"                     .
78                     "    php TestSuiteSelenium.php RedBeanModelTest   (Run the test suite RedBeanModelTest.html.)\n"       .
79                     "\n"                                                                                                   .
TestSuite.php https://bitbucket.org/ddonthula/zurmoimports | PHP | 750 lines
1<?php
2    /*********************************************************************************
28
29    require_once('../PhpUnitServiceUtil.php');
30    require_once 'File/Iterator.php';
34    {
35        require_once($basePath . '/protected/config/debugTest.php');
36    }
38    {
39        copy($basePath . '/protected/config/debugDIST.php', $basePath . '/protected/config/debugTest.php');
40        die('Please configure functional tests in config file ' . $basePath . '/protected/config/debugTest.php');
59            $usage = "\n"                                                                                                   .
60                     "  Usage: php [options] TestSuite.php <All|Misc|moduleName|TestClassName> [options]\n"                 .
61                     "\n"                                                                                                   .
77                     "    php TestSuiteSelenium.php accounts (Run the tests in the Accounts module.)\n"                     .
78                     "    php TestSuiteSelenium.php RedBeanModelTest   (Run the test suite RedBeanModelTest.html.)\n"       .
79                     "\n"                                                                                                   .
SetupController.php https://github.com/duggan/frontend.git | PHP | 783 lines
1<?php
2/**
76      'imageLibs' => $imageLibs, 'imageLibrary' => $imageLibrary, 'appId' => $appId, 'step' => $step, 'email' => $email, 'qs' => $qs, 'errors' => $warnings, 'skipConfig' => $skipConfig));
77    getTheme()->display('template.php', array('body' => $body, 'page' => 'setup'));
78  }
104
105    $template = sprintf('%s/setupDropbox.php', getConfig()->get('paths')->templates);
106    $body = getTemplate()->get($template, array('dropboxKey' => $dropboxKey, 'dropboxSecret' => $dropboxSecret, 'dropboxFolder' => $dropboxFolder, 'qs' => $qs));
106    $body = getTemplate()->get($template, array('dropboxKey' => $dropboxKey, 'dropboxSecret' => $dropboxSecret, 'dropboxFolder' => $dropboxFolder, 'qs' => $qs));
107    getTheme()->display('template.php', array('body' => $body, 'page' => 'setup'));
108  }
122      $dropboxSecret = Utility::decrypt(getSession()->get('flowDropboxSecret'), $secret);
123      $oauth = new Dropbox_OAuth_PHP($dropboxKey, $dropboxSecret);
124      $oauth->setToken($dropboxToken);
686      if(empty($imageLibs))
687        $warnings['no_image_lib'] = 'No suitable image library exists.<ul><li>Make sure that one of the following are installed: <em><a href="http://php.net/imagick">Imagick</a></em>, <em><a href="http://php.net/gmagick">Gmagick</a></em>, or <em><a href="http://php.net/gd">GD</a></em>.</li></ul>';
688    }
fetchscript.php https://github.com/cavila/Astica.git | PHP | 268 lines
1<?php
2/**
11* 
12* @version $Id: fetchscript.php 196 2011-06-14 08:00:04Z soeren $
13* @package eXtplorer
14* @copyright Copyright (C) 2006-2007 Soeren Eberhardt. All rights reserved.
15* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
16* VirtueMart is free software. This version may have been modified pursuant
34	if ($gzip) {
35		$phpver 	= phpversion();
36		$useragent 	= isset( $_SERVER['HTTP_USER_AGENT'] ) ? $_SERVER['HTTP_USER_AGENT'] : '';
192
193	if( !file_exists( $file ) || (!stristr( $dir, $base_dir ) && !stristr( $dir, "/usr/share/javascript") && !stristr( $dir, "/usr/share/yui")) ) {
194		if( $countFiles == 1 ) {
215	$file = $dir . '/' . basename( $file );
216	if( !file_exists( $file ) || (!stristr( $dir, $base_dir ) && !stristr( $dir, "/usr/share/javascript") && !stristr( $dir, "/usr/share/yui")) || !is_readable( $file )) {
217		continue;
functions.php https://github.com/westeast/xwdede.git | PHP | 5,626 lines
1<?php
2define('InEmpireCMSHfun',TRUE);
31	{
32		$curl=$class_r[$r[$i]][islast]?"ListNews.php?classid=".$r[$i]:"ListAllInfo.php?tbname=".$class_r[$r[$i]][tbname]."&classid=".$r[$i];
33		$string.="&nbsp;>&nbsp;<a href=\"".$addurl."$curl\">".$class_r[$r[$i]][classname]."</a>";
181function DelListEnews(){
182	$file=ECMS_PATH."e/data/fc/ListEnews.php";
183	DelFiletext($file);
751	$expage='[!--empirenews.page--]';//分页符
752	if(!stristr($newstext,$expage)||!stristr($newstext,'<img '))
753	{
5047'install'=>".$r[install].",
5048'phpmode'=>".$r[phpmode].",
5049'plsize'=>".$r[plsize].",
5083'adminloginkey'=>".$r[adminloginkey].",
5084'php_outtime'=>".$r[php_outtime].",
5085'listpagefun'=>'".addslashes($r[listpagefun])."',
SessionManagerTest.php https://github.com/eiwaen/zf2.git | PHP | 555 lines
266        foreach ($headers as $header) {
267            if (stristr($header, 'Set-Cookie:') && stristr($header, $sName)) {
268                $found  = true;
408        foreach ($headers as $header) {
409            if (stristr($header, 'Set-Cookie:') && stristr($header, $sName)) {
410                $found  = true;
433        foreach ($headers as $header) {
434            if (stristr($header, 'Set-Cookie:') && stristr($header, $sName) && !stristr($header, '=deleted')) {
435                $found  = true;
466        foreach ($headers as $header) {
467            if (stristr($header, 'Set-Cookie:') && stristr($header, $sName) && !stristr($header, '=deleted')) {
468                $found  = true;
498        foreach ($headers as $header) {
499            if (stristr($header, 'Set-Cookie:') && stristr($header, $sName) && !stristr($header, '=deleted')) {
500                $found  = true;
Config.class.php https://github.com/Linaida/Projet_mabox.git | PHP | 1,911 lines
166     *
167     * @see http://www.phpbuilder.net/columns/tim20000821.php
168     *
340        if (defined('PHP_OS')) {
341            if (stristr(PHP_OS, 'win') && !stristr(PHP_OS, 'darwin')) {
342                // Is it some version of Windows
383        }
384        $this->set('PMA_PHP_STR_VERSION', phpversion());
385    }
637        } else {
638            $link = 'https://api.github.com/repos/phpmyadmin/phpmyadmin/git/commits/'
639                . $hash;
914    {
915        // index.php should load these settings, so that phpmyadmin.css.php
916        // will have everything avaiable in session cache
Config.class.php https://github.com/cdau/YWEE.git | PHP | 1,911 lines
166     *
167     * @see http://www.phpbuilder.net/columns/tim20000821.php
168     *
340        if (defined('PHP_OS')) {
341            if (stristr(PHP_OS, 'win') && !stristr(PHP_OS, 'darwin')) {
342                // Is it some version of Windows
383        }
384        $this->set('PMA_PHP_STR_VERSION', phpversion());
385    }
637        } else {
638            $link = 'https://api.github.com/repos/phpmyadmin/phpmyadmin/git/commits/'
639                . $hash;
914    {
915        // index.php should load these settings, so that phpmyadmin.css.php
916        // will have everything avaiable in session cache
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21