PageRenderTime 102ms queryFilters 1ms Sphinxql 212ms GetByIds 623ms meta 0ms repositoryFilters 0ms languageFilters 1ms sourceFilters 100ms

8,318 results for 'php stristr repo:astawiarski/openemr' (102 ms)

Source

Language

Repository

general.lib.php https://github.com/jinzora/jinzora3.git | PHP | 2,705 lines
1<?php if (!defined(JZ_SECURE_ACCESS)) die ('Security breach detected.');
2	/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *    
145			<script language="javascript">
146				t.innerHTML = '<?php echo word("Downloading"). ": ". $display->returnShortName($item['title'],45); ?>';									
147				-->
148			</SCRIPT>
149			<?php 							
150			flushdisplay();
1125	
1126		if (false !== stristr($_SERVER['PHP_SELF'],"mediabroadcast.php")) {
1127		  if (isset($arr['image'])) {
1478	    $link = substr($link,0,strrpos($link,'/')).'/index.php?';
1479	    $link = str_replace("popup.php","index.php",$link);
1480	  }
1616    if ($entry == "." || $entry == ".." || $entry == "master.php") { continue;}
1617    if (!stristr($entry,"-setup") and !stristr($entry,".html")){
1618      if (strrpos($entry,'-') !== false) {
xajax.inc.php https://bitbucket.org/wildanm/orangehrm | PHP | 980 lines
1<?php
2///////////////////////////////////////////////////////////////////////////////
9// xajax is an open source PHP class library for easily creating powerful
10// PHP-driven, web-based AJAX Applications. Using xajax, you can asynchronously
11// call PHP functions and update the content of your your webpage without
47
48require_once("xajaxResponse.inc.php");
49
60// the xajax class generates the xajax javascript for your page including the
61// javascript wrappers for the PHP functions that you want to call from your page.
62// It also handles processing and executing the command messages in the xml responses
547	// $sJsURI is the relative address of the folder where xajax has been installed.
548	//   For instance, if your PHP file is "http://www.myserver.com/myfolder/mypage.php"
549	//   and xajax was installed in "http://www.myserver.com/anotherfolder", then
871			{
872				if (stristr($this->aObjArray[$this->iPos],"<q>") || stristr($this->aObjArray[$this->iPos],"</q>"))
873				{
phpMyEdit.class.php http://epicnms.googlecode.com/svn/trunk/ | PHP | 3,381 lines
5 *
6 * phpMyEdit.class.php - main table editor class definition file
7 * ____________________________________________________________
21
22/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.204 2007-09-16 12:57:07 nepto Exp $ */
23
188	function col_has_values($k) { return isset($this->fdd[$k]['values']) || isset($this->fdd[$k]['values2']); }
189	function col_has_php($k)    { return isset($this->fdd[$k]['php']); }
190	function col_has_URL($k)    { return isset($this->fdd[$k]['URL'])
1694		}
1695		return phpMyEdit::get_cgi_var(phpMyEdit::get_default_cgi_prefix('sys').$name, $default_value);
1696	} /* }}} */
1702		}
1703		return phpMyEdit::get_cgi_var(phpMyEdit::get_default_cgi_prefix('data').$name, $default_value);
1704	} /* }}} */
MetalibRecord.php http://xerxes-portal.googlecode.com/svn/trunk/ | PHP | 920 lines
10 * @version $Id: MetalibRecord.php 2054 2012-05-01 21:34:24Z dwalker.calstate@gmail.com $
11 * @todo ->__toString() madness below due to php 5.1 object-string casting problem
12 * @package Xerxes
27 * @license http://www.gnu.org/licenses/
28 * @version $Id: MetalibRecord.php 2054 2012-05-01 21:34:24Z dwalker.calstate@gmail.com $
29 * @todo ->__toString() madness below due to php 5.1 object-string casting problem, remove 
29 * @todo ->__toString() madness below due to php 5.1 object-string casting problem, remove 
30 *       when redhat provides php 5.2 package, since that is keeping people from upgrading
31 *  * @package Xerxes
329				stristr ( $this->source, "SCOPUS4" ) ||
330				stristr ( $this->source, "GOOGLE_SCH" ) || 
331				stristr ( $this->source, "AMAZON" ) || 
796			// generate a URL, in this mode. Sadly we can't just throw
797			// an exception, PHP eats it before we get it. I hate PHP. 
798			// Put a special token in there. 
xajax.inc.php http://php-ppcms.googlecode.com/svn/trunk/ | PHP | 1,239 lines
1<?php
2/**
8 *
9 * xajax is an open source PHP class library for easily creating powerful
10 * PHP-driven, web-based Ajax Applications. Using xajax, you can asynchronously
10 * PHP-driven, web-based Ajax Applications. Using xajax, you can asynchronously
11 * call PHP functions and update the content of your your webpage without
12 * reloading the page.
39   | Online documentation for this class is available on the xajax wiki at:   |
40   | http://wiki.xajaxproject.org/Documentation:xajax.inc.php                 |
41   ----------------------------------------------------------------------------
52
53require_once(dirname(__FILE__)."/xajaxResponse.inc.php");
54
1116			{
1117				if (stristr($this->aObjArray[$this->iPos],"<q>") || stristr($this->aObjArray[$this->iPos],"</q>"))
1118				{
abstraction.php git://pkgs.fedoraproject.org/php-getid3 | PHP | 2,597 lines
1218        // Use class_select_disabled if no class or style is specified in attr and field readonly.
1219        if ($this->class_selects_disabled  &&  stristr(" $attr", " disabled")  && !stristr(" $attr", " class=")  &&  !stristr(" $attr", " style=")) {
1220            $attr .= " class='$this->class_selects_disabled'";
1223        // Use class_select_readonly if no class or style is specified in attr and field readonly.
1224        if ($this->class_selects_readonly  &&  stristr(" $attr", " readonly")  && !stristr(" $attr", " class=")  &&  !stristr(" $attr", " style=")) {
1225            $attr .= " class='$this->class_selects_readonly'";
1400        // Use class_fields_readonly if no class or style is specified in attr and field readonly.
1401        if ($this->class_fields_readonly  &&  stristr(" $attr", " readonly")  && !stristr(" $attr", " class=")  &&  !stristr(" $attr", " style=")) {
1402            $attr .= " class='$this->class_fields_readonly'";
1526        // Use class_fields_disabled if no class or style is specified in attr and field readonly.
1527        if ($this->class_fields_disabled  &&  stristr(" $attr", " disabled")  && !stristr(" $attr", " class=")  &&  !stristr(" $attr", " style=")) {
1528            $attr .= " class='$this->class_fields_disabled'";
1531        // Use class_fields_readonly if no class or style is specified in attr and field readonly.
1532        if ($this->class_fields_readonly  &&  stristr(" $attr", " readonly")  && !stristr(" $attr", " class=")  &&  !stristr(" $attr", " style=")) {
1533            $attr .= " class='$this->class_fields_readonly'";
abstraction.php git://pkgs.fedoraproject.org/php-getid3 | PHP | 2,615 lines
1226        // Use class_select_disabled if no class or style is specified in attr and field readonly.
1227        if ($this->class_selects_disabled  &&  stristr(" $attr", " disabled")  && !stristr(" $attr", " class=")  &&  !stristr(" $attr", " style=")) {
1228            $attr .= " class='$this->class_selects_disabled'";
1231        // Use class_select_readonly if no class or style is specified in attr and field readonly.
1232        if ($this->class_selects_readonly  &&  stristr(" $attr", " readonly")  && !stristr(" $attr", " class=")  &&  !stristr(" $attr", " style=")) {
1233            $attr .= " class='$this->class_selects_readonly'";
1408        // Use class_fields_readonly if no class or style is specified in attr and field readonly.
1409        if ($this->class_fields_readonly  &&  stristr(" $attr", " readonly")  && !stristr(" $attr", " class=")  &&  !stristr(" $attr", " style=")) {
1410            $attr .= " class='$this->class_fields_readonly'";
1534        // Use class_fields_disabled if no class or style is specified in attr and field readonly.
1535        if ($this->class_fields_disabled  &&  stristr(" $attr", " disabled")  && !stristr(" $attr", " class=")  &&  !stristr(" $attr", " style=")) {
1536            $attr .= " class='$this->class_fields_disabled'";
1539        // Use class_fields_readonly if no class or style is specified in attr and field readonly.
1540        if ($this->class_fields_readonly  &&  stristr(" $attr", " readonly")  && !stristr(" $attr", " class=")  &&  !stristr(" $attr", " style=")) {
1541            $attr .= " class='$this->class_fields_readonly'";
xajax.inc.php https://bitbucket.org/iarp/knowledgebase.git | PHP | 1,239 lines
1<?php
2/**
8 *
9 * xajax is an open source PHP class library for easily creating powerful
10 * PHP-driven, web-based Ajax Applications. Using xajax, you can asynchronously
10 * PHP-driven, web-based Ajax Applications. Using xajax, you can asynchronously
11 * call PHP functions and update the content of your your webpage without
12 * reloading the page.
39   | Online documentation for this class is available on the xajax wiki at:   |
40   | http://wiki.xajaxproject.org/Documentation:xajax.inc.php                 |
41   ----------------------------------------------------------------------------
52
53require_once(dirname(__FILE__)."/xajaxResponse.inc.php");
54
1116			{
1117				if (stristr($this->aObjArray[$this->iPos],"<q>") || stristr($this->aObjArray[$this->iPos],"</q>"))
1118				{
rss2html.php https://github.com/cryogenx/CX-Filelists.git | PHP | 1,278 lines
49//
50// date() function documented http://www.php.net/manual/en/function.date.php
51$LongDateFormat = "F jS, Y";    // ie, "Jan 21st, 2004"
60// below code.  Just uncomment the following line and change to the correct
61// zonename.  A full list is available here, http://www.php.net/manual/en/timezones.php
62// You town.city probably isn't listed, so look for a neighboring major city
374// Revision 2.21  2006/03/05 15:15:11  housley
375// Rename rss2html_CachingExtension.php to FeedForAll_Scripts_CachingExtension.php
376//
1247
1248    echo "<p>Prefered PHP Include:<br><nobr style=\"font-weight: bolder; color: red;\">&lt;?php<br>$answerAlt\ninclude(&quot;".basename($_SERVER["PHP_SELF"])."&quot;);<br>?&gt;</nobr></p>\n";
1249
1249
1250    echo "<p>PHP Include (Due to security concerns many ISP have configured their servers to prevent this from working):<br><nobr style=\"font-weight: bolder; color: red;\">&lt;?php<br>include(&quot;$answer&quot;);<br>?&gt;</nobr></p>\n";
1251
browser.php https://github.com/samzoom/redux-framework.git | PHP | 1,196 lines
1<?php
2    /**
13     *              User agents sampled from: http://www.useragentstring.com/
14     *              Based on original work from Gary White (http://apptools.com/phptools/browser/
15     *              CHANGELOG:
33     *              + Almost allof Gary's original code has been replaced
34     *              + Large PHPUNIT testing environment created to validate new releases and additions
35     *              + Added FreeBSD Platform
48     *              2009-11-08:
49     *              + PHP 5.3 Support
50     *              + Added support for BlackBerry OS and BlackBerry browser
60     *              2009-08-18:
61     *              + Updated to support PHP 5.3 - removed all deprecated function calls
62     *              + Updated to remove all double quotes (") -- converted to single quotes (')
488                if ( stripos( $this->_agent, 'blackberry' ) !== false ) {
489                    $aresult  = explode( "/", stristr( $this->_agent, "BlackBerry" ) );
490                    $aversion = explode( ' ', $aresult[1] );
class.t3lib_install.php https://github.com/andreaswolf/typo3-tceforms.git | PHP | 1,180 lines
1<?php
2/***************************************************************
68/**
69 * Class to setup values in localconf.php and verify the TYPO3 DB tables/fields
70 *
81	var $dbUpdateCheckboxPrefix = 'TYPO3_INSTALL[database_update]'; // Prefix for checkbox fields when updating database.
82	var $localconf_addLinesOnly = 0; // If this is set, modifications to localconf.php is done by adding new lines to the array only. If unset, existing values are recognized and changed.
83	var $localconf_editPointToken = 'INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!'; // If set and addLinesOnly is disabled, lines will be change only if they are after this token (on a single line!) in the file
83	var $localconf_editPointToken = 'INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!'; // If set and addLinesOnly is disabled, lines will be change only if they are after this token (on a single line!) in the file
84	var $allowUpdateLocalConf = 0; // If true, this class will allow the user to update the localconf.php file. Is set true in the init.php file.
85	var $backPath = '../'; // Backpath (used for icons etc.)
407		elseif (!@copy($writeToLocalconf_dat['tmpfile'], $writeToLocalconf_dat['file'])) {
408			$msg = 'typo3conf/localconf.php could not be replaced by typo3conf/localconf.php' . $tmpExt . ' - maybe a write access problem?';
409		}
1137						$ico .= '<img src="' . $this->backPath . 'gfx/icon_warning.gif" width="18" height="16" align="top" alt="" /><strong>(APP) </strong>';
1138					} elseif (stristr($string, ' ttx_') || stristr($string, ' tx_')) {
1139						$ico .= '<img src="' . $this->backPath . 'gfx/icon_warning.gif" width="18" height="16" align="top" alt="" /><strong>(EXT) </strong>';
clean.inc.php https://github.com/torrage/Torrage.git | PHP | 341 lines
1<?php
2
35			// Updated tracker url's  -  eztv trackers to tracker.istole.it:80
36			if( stristr( $tracker, 'eztv' ) )
37			{
57			$l = $p = '';
58			if( ( !stristr( $tracker, 'dht://' ) ) && ( stristr( $tracker, '/an' ) ) )
59			{
63				$p = stripos( $tracker, '/an', 15 );
64				if( stristr( substr( $tracker, $p ), '.php' ) )
65					$have_php = 1;
153			{
154				if( ( !stristr( $tracker, 'dht://' ) ) && ( !( stristr( $tracker, '/announce' ) ) || ( stristr( substr( $tracker, 8 ), '/tracker' ) ) ) )
155				{
171			// url having www. but no /announce
172			if( ( !stristr( $tracker, 'dht://' ) ) && ( ( stristr( $tracker, 'www.' ) ) && ( !stristr( $tracker, '/announce' ) ) ) )
173			{
essential.php https://github.com/joshuawdavidson/planwatch.git | PHP | 741 lines
1<?php
2
3/*
4ESSENTIAL.PHP -- part of the planwatch library
5
12TODO:(v5) create installation scripts that run when you point at
13	the dir we're in and create siteconfig.php, .htaccess, directories
14	as appropriate.
52include_once('xmlrpc.inc');
53include_once('output.php');
54profile('includes_always','end');
58//------------------------------------------------------------------------------
59exec("ls $_SERVER[FILE_ROOT]/scripts/standard_library/*.php",$include_list);
60foreach($include_list as $file)
74
75// if you want standard php error reporting, uncomment this
76//error_reporting(E_ALL & ~(E_NOTICE));
string.php https://github.com/eddieajau/joomla-platform.git | PHP | 908 lines
323			// See if we have successfully set locale to UTF-8
324			if (!stristr($locale, 'UTF-8') && stristr($locale, '_') && preg_match('~\.(\d+)$~', $locale, $m))
325			{
453	 *
454	 * @see     http://www.php.net/stristr
455	 * @since   11.1
458	{
459		jimport('phputf8.stristr');
460		return utf8_stristr($str, $search);
861	 * @see     valid
862	 * @see     http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php#54805
863	 * @since   11.1
884	 *
885	 * @see     http://us3.php.net/manual/en/function.parse-url.php
886	 * @since   11.1
string.php https://bitbucket.org/elin/joomla-platform | PHP | 718 lines
217			// See if we have successfully set locale to UTF-8
218			if(!stristr($locale, 'UTF-8') && stristr($locale, '_') && preg_match('~\.(\d+)$~', $locale, $m)) {
219				$encoding = 'CP' . $m[1];
325	 * @return string the sub string
326	 * @see http://www.php.net/stristr
327	*/
329	{
330		jimport('phputf8.stristr');
331		return utf8_stristr($str, $search);
672	 * @see valid
673	 * @see http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php#54805
674	 * @param string UTF-8 string to check
691	 * Does a UTF-8 safe version of PHP parse_url function
692	 * @see http://us3.php.net/manual/en/function.parse-url.php
693	 *
string.php https://bitbucket.org/elin/joomla-platform-ll | PHP | 699 lines
209			// See if we have successfully set locale to UTF-8
210			if(!stristr($locale, 'UTF-8') && stristr($locale, '_') && preg_match('~\.(\d+)$~', $locale, $m)) {
211				$encoding = 'CP' . $m[1];
314	 * @return    string   the sub string
315	 * @see http://www.php.net/stristr
316	*/
318	{
319		jimport('phputf8.stristr');
320		return utf8_stristr($str, $search);
654	 * @see valid
655	 * @see http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php#54805
656	 * @param     string UTF-8 string to check
674	 * Does a UTF-8 safe version of PHP parse_url function
675	 * @see http://us3.php.net/manual/en/function.parse-url.php
676	 *
string.php git://github.com/joomla/joomla-platform.git | PHP | 944 lines
324			// See if we have successfully set locale to UTF-8
325			if (!stristr($locale, 'UTF-8') && stristr($locale, '_') && preg_match('~\.(\d+)$~', $locale, $m))
326			{
461	{
462		jimport('phputf8.stristr');
463
706	 *
707	 * @link    https://bugs.php.net/bug.php?id=48147
708	 *
889	 * @see     valid
890	 * @see     http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php#54805
891	 * @since   11.1
915	 *
916	 * @see     http://us3.php.net/manual/en/function.parse-url.php
917	 * @since   11.1
phpMyEdit.class.php http://gevion.googlecode.com/svn/trunk/ | PHP | 3,396 lines
1<?php
2
5 *
6 * phpMyEdit.class.php - main table editor class definition file
7 * ____________________________________________________________
10 * Copyright (c) 2001-2002 Jim Kraai <jkraai@users.sourceforge.net>
11 * Versions 5.0 and higher developed by Ondrej Jombik <nepto@php.net>
12 * Copyright (c) 2002-2006 Platon Group, http://platon.sk/
18 * Download the latest version from
19 * http://platon.sk/projects/phpMyEdit/
20 */
21
22/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.204 2007-09-16 12:57:07 nepto Exp $ */
23
188    function col_has_values($k) { return isset($this->fdd[$k]['values']) || isset($this->fdd[$k]['values2']); }
189    function col_has_php($k)    { return isset($this->fdd[$k]['php']); }
190    function col_has_URL($k)    { return isset($this->fdd[$k]['URL'])
xajax.inc.php git://pkgs.fedoraproject.org/sahana | PHP | 857 lines
1<?php
2///////////////////////////////////////////////////////////////////////////////
9// xajax is an open source PHP class library for easily creating powerful
10// PHP-driven, web-based AJAX Applications. Using xajax, you can asynchronously
11// call PHP functions and update the content of your your webpage without
38
39require_once("xajaxResponse.inc.php");
40
51// the xajax class generates the xajax javascript for your page including the 
52// javascript wrappers for the PHP functions that you want to call from your page.
53// It also handles processing and executing the command messages in the xml responses
503	// $sJsURI is the relative address of the folder where xajax has been installed.
504	//   For instance, if your PHP file is "http://www.myserver.com/myfolder/mypage.php"
505	//   and xajax was installed in "http://www.myserver.com/anotherfolder", then
795			{
796				if (stristr($this->aObjArray[$this->iPos],"<q>") || stristr($this->aObjArray[$this->iPos],"</q>"))
797				{
ps_main.php https://github.com/linkatic/Cultunet.git | PHP | 1,339 lines
480	if( file_exists( $mosConfig_absolute_path . '/libraries/phpmailer/phpmailer.php') ) {
481		$phpmailer_path = $mosConfig_absolute_path . '/libraries/phpmailer/phpmailer.php';
482	}elseif( file_exists( $mosConfig_absolute_path . '/includes/phpmailer/class.phpmailer.php')) {
482	}elseif( file_exists( $mosConfig_absolute_path . '/includes/phpmailer/class.phpmailer.php')) {
483		$phpmailer_path = $mosConfig_absolute_path . '/includes/phpmailer/class.phpmailer.php';
484		$phpmailer_classname = 'mosphpmailer';
489	}
490	$phpmailer_path = dirname( $phpmailer_path );
491	$mail->PluginDir = $phpmailer_path .'/';
701 * This should overcome memory problems
702 * http://www.php.net/manual/en/function.readfile.php#54295
703 *
933		if( !in_array( $GLOBALS['product_currency'], $acceptedCurrencies) 
934				&& (stristr( $page, 'checkout.') || stristr( $page, 'account.') || stristr( $page, 'shop.cart')) ) {
935			// Fallback to global vendor currency (as set in the store form)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21