PageRenderTime 1286ms queryTime 68ms sortTime 91ms getByIdsTime 872ms findMatchingLines 138ms

63+ results for 'php stristr repo:sidi09/aryans' (1286 ms)

Not the results you expected?
Curl.php https://github.com/dmolsen/MIT-Mobile-Web.git | PHP | 392 lines
                    
27/** Zend_Http_Client_Adapter_Interface */
                    
28require_once 'Zend/Http/Client/Adapter/Interface.php';
                    
29
                    
31 * An adapter class for Zend_Http_Client based on the curl extension.
                    
32 * Curl requires libcurl. See for full requirements the PHP manual: http://php.net/curl
                    
33 *
                    
103        if (!extension_loaded('curl')) {
                    
104            require_once 'Zend/Http/Client/Adapter/Exception.php';
                    
105            throw new Zend_Http_Client_Adapter_Exception('cURL extension has to be loaded to use this Zend_Http_Client adapter.');
                    
185
                    
186            require_once 'Zend/Http/Client/Adapter/Exception.php';
                    
187            throw new Zend_Http_Client_Adapter_Exception('Unable to Connect to ' .  $host . ':' . $port);
                    
305         * Make sure POSTFIELDS is set after $curlMethod is set:
                    
306         * @link http://de2.php.net/manual/en/function.curl-setopt.php#81161
                    
307         */
                    
                
func.php http://snowcms.googlecode.com/svn/trunk/ | PHP | 272 lines
                    
1<?php
                    
2////////////////////////////////////////////////////////////////////////////
                    
66			'stripos' => create_function('$haystack, $needle, $offset = 0', '
                    
67										 // This function doesn\'t exist until PHP 5.2.0 >=
                    
68										 if(function_exists(\'mb_stripos\'))
                    
72											 return mb_strpos(mb_strtolower($haystack), mb_strtolower($needle), $offset);'),
                    
73			'stristr' => create_function('$haystack, $needle, $part = false', '
                    
74										 // Same as mb_stripos, this doesn\'t exist until 5.2.0 as well.
                    
74										 // Same as mb_stripos, this doesn\'t exist until 5.2.0 as well.
                    
75										 if(function_exists(\'mb_stristr\'))
                    
76											 return mb_stristr($haystack, $needle, $part);
                    
110			'stripos' => 'stripos',
                    
111			'stristr' => 'stristr',
                    
112			'strlen' => 'strlen',
                    
                
mostlyce.php http://miacms.googlecode.com/svn/trunk/ | PHP | 336 lines
                    
1<?php
                    
2/**
                    
12global $mosConfig_live_site, $jspath, $mosConfig_absolute_path, $adminside;
                    
13include($mosConfig_absolute_path."mambots/editors/mostlyce/jscripts/tiny_mce/mostlyce_config.php");
                    
14
                    
21if (isset($_SERVER['HTTPS']) &&  $_SERVER['HTTPS'] == "on") { 
                    
22	$jspath = "https:" . stristr ( $mosConfig_live_site, "//" );
                    
23} else {
                    
23} else {
                    
24	$jspath = "http:" . stristr ( $mosConfig_live_site, "//" );
                    
25}
                    
50	global $adminside, $mosConfig_secret, $mosConfig_cachetime;
                    
51	include($mosConfig_absolute_path."mambots/editors/mostlyce/jscripts/tiny_mce/mostlyce_config.php");
                    
52
                    
260		function fileBrowserCallBack(field_name, url, type, win) {
                    
261		var connector = "$jspath/mambots/editors/mostlyce/jscripts/tiny_mce/filemanager/browser.php?Connector=connectors/php/connector.php";
                    
262		var enableAutoTypeSelection = false;
                    
                
State.php git://pkgs.fedoraproject.org/horde | PHP | 417 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     *
                    
                
index.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 250 lines
                    
12session_start();
                    
13require_once "includes/config.php";
                    
14$strSetupDir = (empty($ThUserData['domain'])) ? "" : $ThUserData['domain'];
                    
16$strSetupDir = (is_dir("setup/{$strSetupDir}")) ? $strSetupDir . '/' : "";
                    
17$strSettingScript = "setup" . $strSetupDir . "setting.php";
                    
18include_once $strSettingScript;
                    
18include_once $strSettingScript;
                    
19//include_once 'ebpls5501.php';
                    
20require_once "lib/ebpls.lib.php";
                    
20require_once "lib/ebpls.lib.php";
                    
21include'includes/variables.php';
                    
22include_once("lib/multidbconnection.php");                                                                                                
                    
52
                    
53$ses = isset($_COOKIE['PHPSESSID'])?$_COOKIE['PHPSESSID']:'';  //2008.05.06
                    
54
                    
                
comment-template.php http://core.svn.wordpress.org/ | PHP | 363 lines
                    
1<?php
                    
2/*
                    
225	global $id;
                    
226	$tb_url = get_option('siteurl') . '/wp-trackback.php?p=' . $id;
                    
227
                    
241	global $id;
                    
242	if (!stristr($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator')) {
                    
243	echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                    
273
                    
274function comments_template( $file = '/comments.php' ) {
                    
275	global $wp_query, $withcomments, $post, $wpdb, $id, $comment, $user_login, $user_ID, $user_identity;
                    
299	else
                    
300		require( ABSPATH . 'wp-content/themes/default/comments.php');
                    
301}
                    
                
createNewProject.php http://marcel-as3-framework.googlecode.com/svn/trunk/ | PHP | 326 lines
                    
221	{
                    
222		if ($entry == "." || $entry == "content" || $entry == ".." || stristr($entry, ".svn") || stristr($entry, "_svn") || $entry == $scriptName)
                    
223		{
                    
284		<form action="" method="POST">
                    
285		New Project path: <input name="destFolderContainer" style="width:300px;" value="<?php echo str_replace('\\', '/', realpath('../')); ?>/client_YYYYMMDD_project">
                    
286		<br><br>
                    
291		<br>
                    
292		<?php
                    
293		for ($i = 0; $i < 10; $i++) {
                    
294		?>
                    
295		<input id="ui_id_<?php echo $i;?>" name="ui_id_<?php echo $i;?>" value="name_ui" onkeyup="updateUIList();">
                    
296		<span id="span_<?php echo $i;?>">clientproj.</span><input name="ui_class_<?php echo $i;?>" value="uis.UI">
                    
297		<input type="checkbox" name="ui_<?php echo $i;?>_form_cb" id="ui_<?php echo $i;?>_form_cb" /><label for="ui_<?php echo $i;?>_form_cb"> contains form</label>
                    
298		<input type="checkbox" name="ui_<?php echo $i;?>_video_cb" id="ui_<?php echo $i;?>_video_cb" /><label for="ui_<?php echo $i;?>_video_cb"> contains video</label>
                    
299		<br/>
                    
                
panasonic.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 293 lines
                    
1<?php
                    
2
                    
4*
                    
5* Filename:     panasonic.php
                    
6*
                    
88        // Check if the Make Field contains the word Panasonic
                    
89        if ( stristr( $Make_Field, "Panasonic" ) === FALSE )
                    
90        {
                    
                
Posix.php git://github.com/zendframework/zf2.git | PHP | 408 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 {
                    
                
Elb.php http://scalr.googlecode.com/svn/ | PHP | 175 lines
                    
1<?php
                    
2
                    
31			    {
                    
32			    	if (stristr($sk, "lb.role.listener"))
                    
33			    	{
                    
                
Rds.php http://scalr.googlecode.com/svn/ | PHP | 378 lines
                    
1<?php
                    
2	class Modules_Platforms_Rds extends Modules_Platforms_Aws implements IPlatformModule
                    
131		        {
                    
132		        	if (stristr($e->getMessage(), "not found"))
                    
133		        		$status = 'not-found';
                    
                
Config.php git://github.com/BrunoDeBarros/git-deploy-php.git | PHP | 129 lines
                    
1<?php
                    
2
                    
23        if (isset($opts['log'])) {
                    
24            define('WRITE_TO_LOG', $opts['revert'] ? $opts['revert'] : 'git_deploy_php_log.txt');
                    
25        }
                    
57            foreach ($servers as $uri => $options) {
                    
58                if (stristr($uri, "://") !== false) {
                    
59                    $options = array_merge($options, parse_url($uri));
                    
                
netload.in_premium.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 129 lines
                    
1<?php
                    
2##########################################
                    
32		<td nowrap colspan=0>&nbsp;Description		
                    
33		<td colspan=3>&nbsp;<input name=message value='<?php print $mega_desc; ?>' style="width: 428px;" />&nbsp;			
                    
34	</tr>
                    
37</form>
                    
38<?php
                    
39}
                    
49<div id=login width=100% align=center>Login to Netload.in</div>
                    
50<?php
                    
51		$mem = true;
                    
52		$Url = parse_url("http://netload.in/index.php");
                    
53		$page = geturl($Url["host"], $Url["port"] ? $Url["port"] : 80, "/index.php", "http://netload.in/index.php", 0, 0, 0, $_GET["proxy"],$pauth);
                    
54		preg_match_all('/Set-Cookie: (.*);/U',$page,$temp);
                    
61  $post['txtlogin'] = '';
                    
62  $page = geturl($Url["host"], $Url["port"] ? $Url["port"] : 80, "/index.php", "http://netload.in/index.php", $cook, $post, 0, $_GET["proxy"],$pauth);
                    
63		is_page ( $page );
                    
                
filejungle_com.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 136 lines
                    
1<?php
                    
2if (!defined('RAPIDLEECH')) {
                    
34        is_present($page, 'This file is no longer available.');
                    
35        if (!stristr($page, 'Location:')) {
                    
36            $page = $this->GetPage($link, $cookie, array('download' => 'premium'), $link);
                    
39        if (empty($dlink)) html_error('Error: Premium download link not found, plugin need to be updated!');
                    
40        $FileName = urldecode(basename(parse_url($dlink, PHP_URL_PATH)));
                    
41        $this->RedirectDownload($dlink, $FileName, $cookie);
                    
57
                    
58        $page = $this->GetPage($posturl . "login.php", 0, $post, $posturl);
                    
59        is_present($page, "The length of user name should be larger than or equal to 6");
                    
65
                    
66        $page = $this->GetPage($posturl . 'dashboard.php', $cookie, 0, $posturl);
                    
67        is_present($page, "FREE<span>", "Account Free! What do you expect from that?");
                    
78            $link = urldecode($_POST['link']);
                    
79            $check = $this->GetPage('http://www.filejungle.com/checkReCaptcha.php', $cookie, $post, $link . "\r\nX-Requested-With: XMLHttpRequest");
                    
80        } else {
                    
                
shoutbox_panel.php https://gitlab.com/php-fusion/PHP-Fusion.git | PHP | 200 lines
                    
1<?php
                    
2/*-------------------------------------------------------+
                    
2/*-------------------------------------------------------+
                    
3| PHP-Fusion Content Management System
                    
4| Copyright (C) PHP-Fusion Inc
                    
4| Copyright (C) PHP-Fusion Inc
                    
5| http://www.php-fusion.co.uk/
                    
6+--------------------------------------------------------+
                    
6+--------------------------------------------------------+
                    
7| Filename: shoutbox_panel.php
                    
8| Author: Nick Jones (Digitanium)
                    
20}
                    
21include_once INFUSIONS."shoutbox_panel/infusion_db.php";
                    
22include_once INCLUDES."infusions_include.php";
                    
23// Check if a locale file is available that match the selected locale.
                    
24if (file_exists(INFUSIONS."shoutbox_panel/locale/".LANGUAGE.".php")) {
                    
25	// Load the locale file matching selection.
                    
                
Doctype.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2/**
                    
17 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @version    $Id: Placeholder.php 7078 2007-12-11 14:29:33Z matthew $
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
22/** Zend_Registry */
                    
23require_once 'Zend/Registry.php';
                    
24
                    
24
                    
25/** Zend_View_Helper_Abstract.php */
                    
26require_once 'Zend/View/Helper/Abstract.php';
                    
124                    if (substr($doctype, 0, 9) != '<!DOCTYPE') {
                    
125                        require_once 'Zend/View/Exception.php';
                    
126                        throw new Zend_View_Exception('The specified doctype is malformed');
                    
127                    }
                    
128                    if (stristr($doctype, 'xhtml')) {
                    
129                        $type = self::CUSTOM_XHTML;
                    
                
htmlfixer.class.php https://github.com/nysenate/Bluebird-CRM.git | PHP | 455 lines
                    
1<?php
                    
2// -------------------------------------------------
                    
63		$q = "\"";// thanks to emmanuel@evobilis.com
                    
64		if (!stristr($s,"=")) return $s;
                    
65		$out = $s;
                    
100			if (stristr($ar[$i],"=")) $ar[$i] = $this->fixQuotes($ar[$i]);	// thanks to emmanuel@evobilis.com
                    
101			//if (stristr($ar[$i],"=") && !stristr($ar[$i],"=\"")) $ar[$i] = $this->fixQuotes($ar[$i]);
                    
102			$nt.=$ar[$i]." ";
                    
109	private function extractChars($tag1,$tag2,$tutto) { /*extract a block between $tag1 and $tag2*/
                    
110		if (!stristr($tutto, $tag1)) return '';
                    
111		$s=stristr($tutto,$tag1);
                    
112		$s=substr( $s,strlen($tag1));
                    
113		if (!stristr($s,$tag2)) return '';
                    
114		$s1=stristr($s,$tag2);
                    
125		$c = 0;
                    
126		while(stristr($s,"style=\"")) {
                    
127			$temp = $this->extractChars("style=\"","\"",$s);
                    
                
remotefile.php http://xtraupload.googlecode.com/svn/trunk/ | PHP | 344 lines
                    
1<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * A turn-key open source web 2.0 PHP file uploading package requiring PHP v5
                    
6 *
                    
112	{
                    
113		$parsedurl = parse_url($url, PHP_URL_SCHEME);
                    
114		
                    
228			{
                    
229				if($test = stristr($string, "\r\n\r\n"))
                    
230				{
                    
                
instance_eip.php http://scalr.googlecode.com/svn/ | PHP | 164 lines
                    
1<?
                    
2	require_once('src/prepend.inc.php');
                    
3
                    
13	    $errmsg = "Farm not found";
                    
14	    UI::Redirect("farms_view.php");
                    
15	}
                    
33    if ($post_cancel)
                    
34    	UI::Redirect("instances_view.php?farmid={$farminfo['id']}");
                    
35    
                    
59				$okmsg = "Elastic IP is now unassigned from instance {$instance_info['instance_id']}. New IP will be assigned to it shortly.";
                    
60				UI::Redirect("instances_view.php?farmid={$farminfo['id']}");
                    
61    		}
                    
108						{
                    
109							if (!stristr($e->getMessage(), "does not belong to you") || $assign_retries == 3)
                    
110								throw new Exception($e->getMessage());
                    
                
aws_rds_param_group_edit.php http://scalr.googlecode.com/svn/ | PHP | 147 lines
                    
1<?php
                    
2	require("src/prepend.inc.php"); 
                    
4	if ($_SESSION["uid"] == 0)
                    
5	   UI::Redirect("index.php");
                    
6
                    
9	    $errmsg = "Please select parameter group from list";
                    
10		UI::Redirect("aws_rds_parameter_groups.php");
                    
11	}
                    
35			$paramValue = (array)$paramValue;
                    
36			if (stristr($paramValue['AllowedValues'], ",") && $paramValue['DataType'] != 'boolean')
                    
37			{
                    
51		$errmsg = $e->getMessage();
                    
52		UI::Redirect("aws_rds_parameter_groups.php");
                    
53	}		
                    
132				$okmsg = "DB parameter group successfully updated";	
                    
133			UI::Redirect("aws_rds_param_group_edit.php?name={$req_name}");	
                    
134		}
                    
                
kyocera.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 242 lines
                    
1<?php
                    
2
                    
4*
                    
5* Filename:     kyocera.php
                    
6*
                    
81        // Check if the Make Field contains the word Contax or Kyocera
                    
82        if ( ( stristr( $Make_Field, "Contax" ) === FALSE ) &&
                    
83             ( stristr( $Make_Field, "Kyocera" ) === FALSE ) )
                    
                
clanmgr.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 275 lines
                    
1<?php
                    
2
                    
8  
                    
9  if (($_GET['clanid'] == $auth['clanid'] and $auth['clanadmin']) or $auth['type'] > 1) $ret = '<a href="index.php?mod=clanmgr&action=clanmgr&step=50&clanid='. $_GET['clanid'] .'&userid='. $line['userid'] .'">'. $ret .'</a>';
                    
10  
                    
28	{
                    
29		$func->error(t('Bevor du einen neuen Clan anlegen kannst, musst du aus deinem aktuellen Clan austreten.'), "index.php?mod=clanmgr");
                    
30		return false;
                    
46  	if($db->qry("UPDATE %prefix%user SET clanid = %int%, clanadmin = 1 WHERE userid =%int%", $id, $auth["userid"]))
                    
47			$func->confirmation(t('Der Clan wurde erfolgreich angelegt. Als Ersteller hast du die Rolle Admin in diesem Clan.'), "index.php?mod=clanmgr");
                    
48  }
                    
58  default:
                    
59    include_once('modules/mastersearch2/class_mastersearch2.php');
                    
60    $ms2 = new mastersearch2('clanmgr');
                    
74
                    
75    $ms2->AddIconField('details', 'index.php?mod=clanmgr&step=2&clanid=', t('Clan-Details'));
                    
76    if ($auth['type'] >= 2) $ms2->AddIconField('change_pw', 'index.php?mod=clanmgr&step=10&clanid=', t('Passwort ändern'));
                    
                
String.php http://manialive.googlecode.com/svn/trunk/ | PHP | 693 lines
                    
1<?php
                    
2
                    
4 * @file
                    
5 * TeamSpeak 3 PHP Framework
                    
6 *
                    
6 *
                    
7 * $Id: String.php 9/26/2011 7:06:29 scp@orilla $
                    
8 *
                    
197    {
                    
198      return (stristr($this->string, $pattern) !== FALSE) ? TRUE : FALSE;
                    
199    }
                    
554  /**
                    
555   * Magical function that allows you to call PHP's built-in string functions on the String object.
                    
556   *
                    
                
rss.php git://github.com/s9y/Serendipity.git | PHP | 320 lines
                    
1<?php
                    
2# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
                    
7@define('IN_RSS', true);
                    
8include('serendipity_config.inc.php');
                    
9include(S9Y_INCLUDE_PATH . 'include/functions_rss.inc.php');
                    
42
                    
43if (!empty($_SERVER['HTTP_USER_AGENT']) && stristr($_SERVER['HTTP_USER_AGENT'], 'feedburner')) {
                    
44    $_GET['nocache'] = true;
                    
93if (isset($modified_since) &&
                    
94        (stristr($_SERVER['HTTP_USER_AGENT'], 'planet') !== FALSE || $serendipity['enforce_RFC2616'])) {
                    
95    // People shall get a usual HTTP response according to RFC2616. See serendipity_config.inc.php for details
                    
                
template.php git://github.com/cosmocode/contagged.git | PHP | 307 lines
                    
1<?php
                    
2
                    
23  }else{
                    
24     $smarty->assign('home','index.php');
                    
25  }
                    
31  if(isset($FIELDS['country'])){
                    
32      include dirname(__FILE__).'/iso3166.php';
                    
33      $smarty->assign('iso3166',$iso3166);
                    
73  if($out['dn']){
                    
74      if(stristr($out['dn'],$conf['publicbook'])){
                    
75          $out['type'] = 'public';
                    
                
class.ScalrAPICore.php http://scalr.googlecode.com/svn/ | PHP | 265 lines
                    
1<?php
                    
2
                    
160	    	    }
                    
161	    	    elseif (stristr($allowedhost, "*"))
                    
162	    	    {
                    
                
class.TickerMessage.inc.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 114 lines
                    
1<?php
                    
2include_once 'class.TickerBase.inc.php';
                    
28
                    
29// php 5 "strpbrk($strinf, 'i')" verwenden
                    
30
                    
54			/* define beginning of string */
                    
55			if ($start_string_length == 0 || ($substring = strstr($this->text, $start_string)) == FALSE) { // for case insensitive use stristr()
                    
56				$startcut = (int) 0;
                    
                
grooveshark-proxy.php http://umspx.googlecode.com/svn/trunk/ | PHP | 102 lines
                    
1<?PHP
                    
2
                    
5		(C) 2010 sombragris.
                    
6		http://forum.wdlxtv.com/viewtopic.php?f=53&t=2802
                    
7    
                    
17
                    
18include_once('grooveshark-helper.php');
                    
19
                    
52	$content = 'streamKey=' . urlencode($stream['streamKey']);
                    
53	$out = "POST /stream.php HTTP/1.1\r\n" .
                    
54	       "Host: " . $stream['ip'] . "\r\n" .
                    
54	       "Host: " . $stream['ip'] . "\r\n" .
                    
55	       "Cookie: PHPSESSID=" . (string)$cache->herader->session . "\r\n" .
                    
56	       "Referer: http://listen.grooveshark.com/JSQueue.swf?20101203.19\r\n" .
                    
67		$line = fgets( $fp);
                    
68		if((stristr($line, 'Content-Type')) || (stristr($line, 'Content-Length'))) {
                    
69			header($line);
                    
                
mdl.tbsend.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 175 lines
                    
1<?php
                    
2include_once('shopObject.php');
                    
167            fclose($fp);
                    
168            $responseText = trim(stristr($responseText,"\r\n\r\n"),"\r\n");
                    
169            
                    
                
ConfigTest.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 1351 lines
                    
98
                    
99        $contents = '<?php' . PHP_EOL
                    
100                    . '$cfg[\'ProtectBinary\'] = true;';
                    
440                $this->assertFalse($this->object->get('PMA_IS_WINDOWS'));
                    
441            } elseif (stristr(PHP_OS, 'win')) {
                    
442                $this->assertTrue($this->object->get('PMA_IS_WINDOWS'));
                    
442                $this->assertTrue($this->object->get('PMA_IS_WINDOWS'));
                    
443            } elseif (stristr(PHP_OS, 'OS/2')) {
                    
444                $this->assertTrue($this->object->get('PMA_IS_WINDOWS'));
                    
444                $this->assertTrue($this->object->get('PMA_IS_WINDOWS'));
                    
445            } elseif (stristr(PHP_OS, 'Linux')) {
                    
446                $this->assertFalse($this->object->get('PMA_IS_WINDOWS'));
                    
447            } else {
                    
448                $this->markTestIncomplete('Not known PHP_OS: ' . PHP_OS);
                    
449            }
                    
                
Tracker.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 958 lines
                    
1<?php
                    
2/**
                    
7
                    
8namespace PhpMyAdmin;
                    
9
                    
9
                    
10use PhpMyAdmin\Plugins\Export\ExportSql;
                    
11use PhpMyAdmin\SqlParser\Parser;
                    
11use PhpMyAdmin\SqlParser\Parser;
                    
12use PhpMyAdmin\SqlParser\Statements\AlterStatement;
                    
13use PhpMyAdmin\SqlParser\Statements\CreateStatement;
                    
13use PhpMyAdmin\SqlParser\Statements\CreateStatement;
                    
14use PhpMyAdmin\SqlParser\Statements\DeleteStatement;
                    
15use PhpMyAdmin\SqlParser\Statements\DropStatement;
                    
15use PhpMyAdmin\SqlParser\Statements\DropStatement;
                    
16use PhpMyAdmin\SqlParser\Statements\InsertStatement;
                    
17use PhpMyAdmin\SqlParser\Statements\RenameStatement;
                    
                
_Login.php http://antilophpe.googlecode.com/svn/ | PHP | 146 lines
                    
1<?php
                    
2include_once("../config/config.inc.php");
                    
2include_once("../config/config.inc.php");
                    
3include_once("../include/Design/Design.class.php");
                    
4include_once("../include/Date/Date.class.php");
                    
16
                    
17if (stristr($_SERVER['HTTP_USER_AGENT'], "Mozilla") && stristr($_SERVER['HTTP_USER_AGENT'], "compatible")){
                    
18  // do nothing
                    
53    <div id="login_div" class="form_div">';
                    
54if (stristr($_SERVER['HTTP_USER_AGENT'], "Mozilla") && stristr($_SERVER['HTTP_USER_AGENT'], "compatible")){
                    
55  echo '
                    
75      
                    
76if (stristr($_SERVER['HTTP_USER_AGENT'], "Mozilla") && stristr($_SERVER['HTTP_USER_AGENT'], "compatible")){
                    
77  echo '
                    
117// echo $_SERVER['HTTP_USER_AGENT'];
                    
118if (stristr($_SERVER['HTTP_USER_AGENT'], "Mozilla") && stristr($_SERVER['HTTP_USER_AGENT'], "compatible")){
                    
119  echo '
                    
                
func.inc.php https://github.com/rennhak/zabbix.git | PHP | 636 lines
                    
1<?php
                    
2/*
                    
20?>
                    
21<?php
                    
22/************* DYNAMIC REFRESH *************/
                    
173 *	Called from:
                    
174 *         a) in 'include/page_header.php'
                    
175 *         b) from 'redirect()'
                    
380	switch($last){
                    
381		// The 'G' modifier is available since PHP 5.1.0
                    
382		case 'g':
                    
556
                    
557function zbx_stristr($haystack,$needle){
                    
558	$haystack_B = strtoupper($haystack);
                    
                
ext_mbstring.h git://github.com/facebook/hiphop-php.git | C Header | 225 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com)  |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
Trackback.php git://github.com/imagecms/ImageCMS.git | PHP | 549 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
271
                    
272		if (stristr($this->response, '<error>0</error>') === FALSE)
                    
273		{
                    
547
                    
548/* End of file Trackback.php */
                    
549/* Location: ./system/libraries/Trackback.php */
                    
                
adodb-ado_mssql.inc.php https://github.com/EOL/eol_php_code.git | PHP | 154 lines
                    
1<?php
                    
2/* 
                    
13  
                    
14  Warning: Some versions of PHP (esp PHP4) leak memory when ADO/COM is used. 
                    
15  Please check http://bugs.php.net/ for more info.
                    
21if (!defined('_ADODB_ADO_LAYER')) {
                    
22	if (PHP_VERSION >= 5) include(ADODB_DIR."/drivers/adodb-ado5.inc.php");
                    
23	else include(ADODB_DIR."/drivers/adodb-ado.inc.php");
                    
63		}
                    
64		if (!stristr($transaction_mode,'isolation')) $transaction_mode = 'ISOLATION LEVEL '.$transaction_mode;
                    
65		$this->Execute("SET TRANSACTION ".$transaction_mode);
                    
                
sec_group_edit.php http://scalr.googlecode.com/svn/ | PHP | 327 lines
                    
1<? 
                    
2	require("src/prepend.inc.php"); 
                    
3	
                    
6		$errmsg = _("You have no permissions for viewing requested page");
                    
7		UI::Redirect("index.php");
                    
8	}
                    
12	   
                    
13	if (!$req_name || (!stristr($req_name, CONFIG::$SECGROUP_PREFIX) && !$_SESSION['sg_show_all']))
                    
14	{
                    
15	    $errmsg = "Please select security group from list";
                    
16	    UI::Redirect("sec_groups_view.php");
                    
17	}
                    
74		$errmsg = $e->getMessage();
                    
75		UI::Redirect("sec_groups_view.php");
                    
76	}
                    
                
fake.php https://code.google.com/p/php-blackops-rcon/ | PHP | 546 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2
                    
25 * @subpackage    lib
                    
26 * @license        http://www.opensource.org/licenses/bsd-license.php    New BSD License
                    
27 */
                    
485        // Linebreak?
                    
486        if(stristr($message, '[linebreak]') !== FALSE)
                    
487        {
                    
                
Pentax.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 354 lines
                    
1<?php
                    
2
                    
4*
                    
5* Filename:     pentax.php
                    
6*
                    
56
                    
57include_once 'casio.php';
                    
58
                    
103        // Check if the Make Field contains the word Pentax or Asahi
                    
104        if ( ( stristr( $Make_Field, "Pentax" ) === FALSE ) &&
                    
105             ( stristr( $Make_Field, "Asahi" ) === FALSE ) )
                    
                
HtmlController.php https://bitbucket.org/hfab/webservice.git | PHP | 165 lines
                    
1<?php namespace App\Http\Controllers;
                    
2
                    
117    foreach ($tabimg as $v) {
                    
118      $r = stristr($v, 'http://');
                    
119      if($r === false){
                    
137    foreach ($tablinks as $l) {
                    
138      $l = stristr($l, 'http://');
                    
139      if($l === false){
                    
                
mysqli_driver.php http://php-personal-budget.googlecode.com/svn/trunk/ | PHP | 638 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 *
                    
18/**
                    
19 * MySQLi Database Adapter Class - MySQLi only works with PHP 5
                    
20 *
                    
412	{
                    
413		if (stristr($table, '.'))
                    
414		{
                    
465		
                    
466			if (stristr($item, " `{$exception}` ") !== FALSE)
                    
467			{
                    
                
postgre_driver.php http://php-personal-budget.googlecode.com/svn/trunk/ | PHP | 633 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 *
                    
408	{
                    
409		if (stristr($table, '.'))
                    
410		{
                    
461		
                    
462			if (stristr($item, " \"{$exception}\" ") !== FALSE)
                    
463			{
                    
                
post.php https://github.com/kaz6120/Loggix.git | PHP | 186 lines
                    
1<?php
                    
2/**
                    
14$pathToIndex = '../..';
                    
15require_once $pathToIndex . '/lib/Loggix/Module/Comment.php';
                    
16
                    
83    if ($checkRow > 1) {
                    
84        header('Location: ' . $pathToIndex . '/index.php?id=' . $referId . '#comments');
                    
85        exit;
                    
91    if ((!isset($_SERVER['HTTP_REFERER'])) &&
                    
92        (!stristr($_SERVER['HTTP_REFERER'], 'comment/post.php'))
                    
93       ) {
                    
93       ) {
                    
94        header('Location: ' . $pathToIndex . '/index.php?id=' . $referId . '#comments');
                    
95        exit;
                    
108       ) {
                    
109        header('Location: ' . $pathToIndex . '/index.php?id=' . $referId . '#comments');
                    
110    } else {
                    
                
Settings.php git://github.com/ci-bonfire/Bonfire.git | PHP | 210 lines
                    
1<?php defined('BASEPATH') || exit('No direct script access allowed');
                    
2
                    
201        // Make sure that the shortcuts don't have spaces.
                    
202        if (stristr($shortcut, " ") !== false) {
                    
203            $this->form_validation->set_message('_validate_shortcuts', 'lang:ui_shortcut_error');
                    
                
filefat_com.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 130 lines
                    
1<?php
                    
2if (!defined('RAPIDLEECH')) {
                    
79        }
                    
80        if (!stristr($page, 'Location:')) {
                    
81            html_error("Error, Download link not found!");
                    
                
class.ElasticIPsEventObserver.php http://scalr.googlecode.com/svn/ | PHP | 360 lines
                    
1<?php
                    
2	class ElasticIPsEventObserver extends EventObserver
                    
58					{						
                    
59						if (!stristr($e->getMessage(), "does not belong to you"))
                    
60						{
                    
217						{
                    
218							if (!stristr($e->getMessage(), "does not belong to you") || $assign_retries == 3)
                    
219								throw new Exception($e->getMessage());
                    
                
rapidshare_com.php http://rapidleech36b.googlecode.com/svn/trunk/ | PHP | 236 lines
                    
1<?php
                    
2
                    
82
                    
83		if (stristr($page, "ERROR: You need to wait ")) {
                    
84			$seconds = trim(cut_str($page, "ERROR: You need to wait ", " seconds until"));
                    
144		$page = $this->GetPage("https://rapidshare.com/files/{$this->fileid}/{$this->filename}", $cookie, 0, 0, ($sendauth) ? base64_encode("$user:$pass") : '');
                    
145		if (!stristr($page, "Location:")) html_error("Cannot use premium account", 0);
                    
146
                    
155		$page = $this->GetPage("https://rapidshare.com/files/{$this->fileid}/{$this->filename}", $cookie);
                    
156		if (!stristr($page, "Location:")) html_error("Cannot use premium account", 0);
                    
157
                    
233//[10-JUL-11]  Check_Limit() function isn't needed now, removed & Thinking about delete the old fixes info (Too long for read. :D ). - Th3-822
                    
234//[15-OCT-11] JSCountdown was added in DownloadClass.php... Removed declaration from plugin && Some edits in free dl countdown. - Th3-822
                    
235
                    
                
egoshare_com.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 90 lines
                    
1<?php
                    
2
                    
33	
                    
34	$loc = "{$_SERVER['PHP_SELF']}?filename=" . urlencode ( $FileName ) . 
                    
35		"&host=" . $Url ["host"] . 
                    
54	is_page($page);
                    
55	if (stristr($page,'DL_FileNotFound')) {
                    
56		html_error("File not found",0);
                    
60	$act_url = $act_url[1];
                    
61	$img = 'http://www.egoshare.com/captcha.php';
                    
62	$Url = parse_url($img);
                    
74
                    
75	print 	"<form method=\"post\" action=\"$PHP_SELF\">$nn";
                    
76	print	"<b>Please enter code:</b><br>$nn";
                    
                
php.js git://github.com/forkcms/forkcms.git | JavaScript | 141 lines
                    
32    atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"),
                    
33    builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once"),
                    
34    multiLineStrings: true,
                    
63    var htmlMode = CodeMirror.getMode(config, "text/html");
                    
64    var phpMode = CodeMirror.getMode(config, phpConfig);
                    
65
                    
91        return style;
                    
92      } else if (isPHP && state.php.tokenize == null && stream.match("?>")) {
                    
93        state.curMode = htmlMode;
                    
112        var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html),
                    
113            php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur;
                    
114        if (state.curMode == htmlMode) cur = htmlNew;
                    
138  CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true});
                    
139  CodeMirror.defineMIME("text/x-php", phpConfig);
                    
140});
                    
                
pear.bat http://railoapacheportable.googlecode.com/svn/trunk/ | Batch | 115 lines
                    
32IF "%PHP_PEAR_BIN_DIR%"=="" SET "PHP_PEAR_BIN_DIR=C:\xampp_RailoPortable2\php"
                    
33IF "%PHP_PEAR_PHP_BIN%"=="" SET "PHP_PEAR_PHP_BIN=C:\xampp_RailoPortable2\php\php.exe"
                    
34GOTO :INSTALLED
                    
62IF NOT EXIST %PHP_PEAR_INSTALL_DIR%\pearcmd.php (
                    
63IF EXIST %PHP_PEAR_INSTALL_DIR%\scripts\pearcmd.php COPY %PHP_PEAR_INSTALL_DIR%\scripts\pearcmd.php %PHP_PEAR_INSTALL_DIR%\pearcmd.php
                    
64IF EXIST pearcmd.php COPY pearcmd.php %PHP_PEAR_INSTALL_DIR%\pearcmd.php
                    
64IF EXIST pearcmd.php COPY pearcmd.php %PHP_PEAR_INSTALL_DIR%\pearcmd.php
                    
65IF EXIST %~dp0\scripts\pearcmd.php COPY %~dp0\scripts\pearcmd.php %PHP_PEAR_INSTALL_DIR%\pearcmd.php
                    
66)
                    
79IF NOT EXIST "%PHP_PEAR_BIN_DIR%" GOTO PEAR_BIN_ERROR
                    
80IF NOT EXIST "%PHP_PEAR_PHP_BIN%" GOTO PEAR_PHPBIN_ERROR
                    
81REM launch pearcmd
                    
112:RUN
                    
113"%PHP_PEAR_PHP_BIN%" -C -d output_buffering=1 -d safe_mode=0 -d open_basedir="" -d auto_prepend_file="" -d auto_append_file="" -d variables_order=EGPCS -d register_argc_argv="On" -d include_path="%PHP_PEAR_INSTALL_DIR%" -f "%PHP_PEAR_INSTALL_DIR%\pearcmd.php" -- %1 %2 %3 %4 %5 %6 %7 %8 %9
                    
114:END
                    
                
client_roles_list.php http://scalr.googlecode.com/svn/ | PHP | 122 lines
                    
1<?php
                    
2	$response = array();
                    
9		$enable_json = true;
                    
10		include("../../src/prepend.inc.php");
                    
11		
                    
58			}
                    
59			$sql .= !stristr($sql, "WHERE") ? " WHERE " : " AND (";
                    
60			$sql .= join(" OR ", $likes);
                    
                
aws_ec2_spotrequest_add.php http://scalr.googlecode.com/svn/ | PHP | 112 lines
                    
1<?php
                    
2
                    
2
                    
3	require("src/prepend.inc.php"); 
                    
4	
                    
7		$errmsg = _("You have no permissions for viewing requested page");
                    
8		UI::Redirect("index.php");
                    
9	}
                    
33    {
                    
34    	if (stristr($zone->zoneState,'available'))
                    
35    		array_push($display["avail_zones"], (string)$zone->zoneName);
                    
54   		unset($r);
                    
55		UI::Redirect("aws_ec2_amis_view.php");
                    
56   	}
                    
61		$errmsg = "Please select the ami first";
                    
62		UI::Redirect("aws_ec2_amis_view.php");
                    
63	}	
                    
                
usuarios.php https://gestion001.svn.codeplex.com/svn | PHP | 110 lines
                    
56    <body onLoad="load_functions();" marginwidth="5px" marginheight="4px" leftmargin="0" topmargin="4px" bgcolor="#f0f0f0">
                    
57<?php include_once ("inc_top_adm.php");?>
                    
58<table width="98%" align="center" class="tabla">
                    
62  <tr align="right">
                    
63    <td colspan="2" class="tr2" >&nbsp;<?php echo ($startRow_rs_usuarios_administrativos + 1) ?> a <?php echo min($startRow_rs_usuarios_administrativos + $maxRows_rs_usuarios_administrativos, $totalRows_rs_usuarios_administrativos) ?> de <?php echo $totalRows_rs_usuarios_administrativos ?> </td>
                    
64  </tr>
                    
71    <tr>
                    
72      <td class="tr1"><?php echo $row_rs_usuarios_administrativos['nombre1']; ?>&nbsp;<?php echo $row_rs_usuarios_administrativos['nombre2']; ?>&nbsp;<?php echo $row_rs_usuarios_administrativos['apellido1']; ?>&nbsp;<?php echo $row_rs_usuarios_administrativos['apellido2']; ?>&nbsp;(<?php echo $row_rs_usuarios_administrativos['Usuario']; ?>)</td>
                    
73      <td width="20%" class="tr1"><a href="usuarios_editar.php?idUsuario=<?php echo $row_rs_usuarios_administrativos['idUsuario']; ?>">Editar</a> -
                    
73      <td width="20%" class="tr1"><a href="usuarios_editar.php?idUsuario=<?php echo $row_rs_usuarios_administrativos['idUsuario']; ?>">Editar</a> -
                    
74          <a href="javascript:abrirlink('borrar','delete_main.php?tabla=Usuario&nombre_campo=idUsuario&idUsuario=<?php echo $row_rs_usuarios_administrativos['idUsuario']; ?>','<?php echo str_replace(" ",'',md5(microtime()))?>');">Borrar</a></td>
                    
75    </tr>
                    
106</table>
                    
107<?php include_once ("inc_bottom_adm.php");?>
                    
108</body>
                    
                
submit.php http://addondb.googlecode.com/svn/trunk/ | PHP | 240 lines
                    
1<?php
                    
2/*-------------------------------------------------------+
                    
2/*-------------------------------------------------------+
                    
3| PHP-Fusion Content Management System
                    
4| Copyright (C) 2002 - 2010 Nick Jones
                    
4| Copyright (C) 2002 - 2010 Nick Jones
                    
5| http://www.php-fusion.co.uk/
                    
6+--------------------------------------------------------+
                    
6+--------------------------------------------------------+
                    
7| Filename: submit_addon.php
                    
8| Author: PHP-Fusion Addons Team
                    
17+--------------------------------------------------------*/
                    
18require_once "../../maincore.php";
                    
19require_once THEMES."templates/header.php";
                    
20
                    
21require_once INFUSIONS."addondb/inc/inc.functions.php";
                    
22require_once ADDON."infusion_db.php";
                    
                
farms_add.php http://scalr.googlecode.com/svn/ | PHP | 216 lines
                    
1<? 
                    
2	require("src/prepend.inc.php"); 
                    
3	
                    
11        if (!$req_farmid)   
                    
12            UI::Redirect("farms_view.php");
                    
13        else 
                    
70    {
                    
71    	if (stristr($zone->zoneState,'available')) //TODO:
                    
72    		array_push($display["avail_zones"], (string)$zone->zoneName);
                    
93        if ($_SESSION['uid'] != 0 && $_SESSION['uid'] != $display["farminfo"]["clientid"])
                    
94            UI::Redirect("farms_view.php");
                    
95        
                    
98            $errmsg = _("Farm not found");
                    
99            UI::Redirect("farms_view.php");
                    
100        }
                    
                
processes_list.php http://scalr.googlecode.com/svn/ | PHP | 150 lines
                    
1<?php
                    
2	$enable_json = true;
                    
8	{
                    
9		include("../../src/prepend.inc.php");
                    
10	
                    
43			{
                    
44				if (stristr($k, "HOST-RESOURCES-MIB::hrSWRunIndex"))
                    
45				{
                    
47				}
                    
48				elseif (stristr($k, "HOST-RESOURCES-MIB::hrSWRunName"))
                    
49				{
                    
52				}
                    
53				elseif (stristr($k, "HOST-RESOURCES-MIB::hrSWRunPath"))
                    
54				{
                    
57				}
                    
58				elseif (stristr($k, "HOST-RESOURCES-MIB::hrSWRunParameters"))
                    
59				{
                    
                
Doctype.php http://grupal.googlecode.com/svn/trunk/ | PHP | 243 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Doctype.php 25100 2012-11-07 20:26:37Z rob $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Registry */
                    
24require_once 'Zend/Registry.php';
                    
25
                    
25
                    
26/** Zend_View_Helper_Abstract.php */
                    
27require_once 'Zend/View/Helper/Abstract.php';
                    
134                    if (substr($doctype, 0, 9) != '<!DOCTYPE') {
                    
135                        require_once 'Zend/View/Exception.php';
                    
136                        $e = new Zend_View_Exception('The specified doctype is malformed');
                    
139                    }
                    
140                    if (stristr($doctype, 'xhtml')) {
                    
141                        $type = self::CUSTOM_XHTML;
                    
                
statchange.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 276 lines
                    
1<?php
                    
2include_once("modules/foodcenter/class_product.php");
                    
2include_once("modules/foodcenter/class_product.php");
                    
3include_once("modules/foodcenter/class_accounting.php");
                    
4$product_list = new product_list();
                    
27				$account = new accounting($prodrow['userid']);
                    
28				if(stristr($prodrow['opts'],"/")){
                    
29					$values = explode("/",$prodrow['opts']);
                    
71
                    
72    include_once('modules/mastersearch2/class_mastersearch2.php');
                    
73    $ms2 = new mastersearch2('news');
                    
117
                    
118    $ms2->AddIconField('details', 'index.php?mod=foodcenter&action=statchange&step=2&id=', t('Details'));
                    
119	
                    
126	
                    
127	  $ms2->AddMultiSelectAction($fc_ordered_status_quest[0], 'index.php?mod=foodcenter&action=statchange&step=2&status=6', 1);
                    
128	  $ms2->AddMultiSelectAction($fc_ordered_status_quest[1], 'index.php?mod=foodcenter&action=statchange&step=2&status=5', 1);
                    
                
4shared_com.php http://rapidleech36b.googlecode.com/svn/trunk/ | PHP | 166 lines
                    
1<?php
                    
2if (!defined('RAPIDLEECH')) {
                    
15
                    
16		if (stristr($link, ".com/get/")) {
                    
17			$link = str_replace('.com/get/', '.com/file/', $link);
                    
37			if (preg_match('/(?:\?|&)dirPwdVerified=(\w+)/i', $this->link, $pwd)) $DL[1] .= "&dirPwdVerified=" . $pwd[1];
                    
38			$FileName = urldecode(basename(parse_url($DL[1], PHP_URL_PATH)));
                    
39			$this->RedirectDownload($DL[1], $FileName, $this->cookie);
                    
54
                    
55		$FileName = urldecode(basename(parse_url($dllink, PHP_URL_PATH)));
                    
56
                    
73	private function CheckForPass($predl=false) {
                    
74		global $PHP_SELF, $L;
                    
75		if (isset($_GET["step"]) && $_GET["step"] == "1") {
                    
80			is_present($this->page, "Please enter a password to access this file", "The password you have entered is not valid.");
                    
81		} elseif (stristr($this->page, 'Please enter a password to access this file')) {
                    
82			echo "\n" . '<center><form name="dl_password" action="' . $PHP_SELF . '" method="post" >' . "\n";
                    
                
InfinitasGateway.php git://github.com/infinitas/infinitas.git | PHP | 364 lines
                    
1<?php
                    
2
                    
287		$data = current($data);
                    
288		if (stristr($name, 'url') !== false) {
                    
289			return $this->_addToOrder($name, InfinitasRouter::url($data));
                    
                
addtocart_form.tpl.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 83 lines
                    
20?>
                    
21    <form action="<?php echo $mm_action_url ?>index.php" method="post" name="addtocart" id="<?php echo uniqid('addtocart_') ?>" class="addtocart_form" <?php if( $this->get_cfg( 'useAjaxCartActions', 1 ) && !$notify ) { echo 'onsubmit="handleAddToCart( this.id );return false;"'; } ?>>
                    
22
                    
26
                    
27if (USE_AS_CATALOGUE != '1' && $product_price != "" && !stristr( $product_price, $VM_LANG->_('PHPSHOP_PRODUCT_CALL') )) {
                    
28	?>
                    
43    ?>    
                    
44    <input type="submit" class="<?php echo $button_cls ?>" value="<?php echo $button_lbl ?>" title="<?php echo $button_lbl ?>" />
                    
45    </div>
                    
45    </div>
                    
46    <?php  } ?>    
                    
47    <input type="hidden" name="flypage" value="shop.<?php echo $flypage ?>" />
                    
48	<input type="hidden" name="page" value="shop.cart" />
                    
49    <input type="hidden" name="manufacturer_id" value="<?php echo $manufacturer_id ?>" />
                    
50    <input type="hidden" name="category_id" value="<?php echo $category_id ?>" />
                    
                
settings_form.php https://github.com/nadavkav/RTL-BIDI-Hebrew-Moodle-Plugins.git | PHP | 106 lines
                    
1<?php // $Id: settings_form.php,v 1.2.2.2 2008/06/20 13:36:46 mchurch Exp $
                    
2/**
                    
4*
                    
5* @version $Id: settings_form.php,v 1.2.2.2 2008/06/20 13:36:46 mchurch Exp $
                    
6* @author Mike Churchward
                    
10
                    
11require_once ($CFG->dirroot.'/course/moodleform_mod.php');
                    
12// JR removed this require_once to solve course forced language pb in settings_form.php 
                    
12// JR removed this require_once to solve course forced language pb in settings_form.php 
                    
13//require_once($CFG->dirroot.'/mod/questionnaire/lib.php');
                    
14
                    
47        while ($file=$dir->read()) {
                    
48            if (stristr($file,".css")) {
                    
49                $pos = strrpos($file, ".");
                    
                
scheduler_tasks_list.php http://scalr.googlecode.com/svn/ | PHP | 119 lines
                    
1<?php
                    
2
                    
9		$enable_json = true;
                    
10		include("../../src/prepend.inc.php");		
                    
11
                    
20			}
                    
21			$sql .= !stristr($sql, "WHERE") ? " WHERE " : " AND (";
                    
22			$sql .= join(" OR ", $likes);
                    
                
 

Source

Language