76+ results for 'php stristr repo:Fishgate/privatecollectionswp' (1271 ms)
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 54comment-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';netload.in_premium.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 129 lines
1<?php 2########################################## 32 <td nowrap colspan=0> Description 33 <td colspan=3> <input name=message value='<?php print $mega_desc; ?>' style="width: 428px;" /> 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 {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;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 detailstemplate.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_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 '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 */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 ) )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 {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 235egoshare_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:ENDclient_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" > <?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']; ?> <?php echo $row_rs_usuarios_administrativos['nombre2']; ?> <?php echo $row_rs_usuarios_administrativos['apellido1']; ?> <?php echo $row_rs_usuarios_administrativos['apellido2']; ?> (<?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";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 ?>" />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);docsearch.php git://github.com/ci-bonfire/Bonfire.git | PHP | 291 lines
1<?php defined('BASEPATH') || exit('No direct script access allowed'); 2 35 /** @var string Valid file extensions we can search in. */ 36 protected $allowed_file_types = 'html|htm|php|php4|php5|txt|md'; 37 137 // Do we have a match in here somewhere? 138 $found = stristr($text, $term) || stristr($text, $term_html); 139Console.php git://github.com/zendframework/zf2.git | PHP | 205 lines
1<?php 2/** 54 $className = $forceAdapter; 55 } elseif (stristr($forceAdapter, '\\')) { 56 $className = __NAMESPACE__ . '\\' . ltrim($forceAdapter, '\\'); 83 $className = $forceCharset; 84 } elseif (stristr($forceAdapter, '\\')) { 85 $className = __NAMESPACE__ . '\\' . ltrim($forceCharset, '\\'); 114 * 115 * @see http://stackoverflow.com/questions/738823/possible-values-for-php-os 116 * @return bool 120 return 121 (defined('PHP_OS') && (substr_compare(PHP_OS, 'win', 0, 3, true) === 0)) || 122 (getenv('OS') != false && substr_compare(getenv('OS'), 'windows', 0, 7, true)) 138 * 139 * By default, returns value of PHP_SAPI global constant. If $isConsole is 140 * set, and a boolean value, that value will be returned.Mssql.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 300 lines
1<?php 2 20 * @license New BSD License 21 * @version $Id: Mssql.php 124 2010-03-08 08:55:28Z gutierrezandresfelipe $ 22 */ 34 * @license New BSD License 35 * @link http://www.php.net/manual/es/ref.mysql.php 36 * @access Public 115 } 116 $orderby = stristr($sql, 'ORDER BY'); 117 if($orderby!==false){ 280 /** 281 * Indica las extensiones PHP requeridas para utilizar el adaptador 282 * 284 */ 285 public static function getPHPExtensionRequired(){ 286 return 'pdo_odbc';DriverPeer.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 341 lines
1<?php 2 186 187 //$needle='/drivers/web/index.php/en/driver/search'; 188 //$req = str_replace($_SERVER['SCRIPT_NAME'].$act, '', stristr(ParseINF::selfURL(), $needle)); 188 //$req = str_replace($_SERVER['SCRIPT_NAME'].$act, '', stristr(ParseINF::selfURL(), $needle)); 189 //$req_old = str_replace($needle, '', stristr(ParseINF::selfURL(), $needle)); 190lcfirst.php git://github.com/facebook/hiphop-php.git | PHP | 159 lines
1<?php 2/* Make a string's first character uppercase */ 57 public function __call($m, $v) { 58 if (stristr($m, 'set')) { 59 $action = lcfirst(substr($m, 3));database.php http://rapyd-framework.googlecode.com/svn/trunk/ | PHP | 325 lines
1<?php 2 305 { 306 if (stristr($table, '.')) 307 {admin.import.bf2web.php https://code.google.com/p/bf2stats/ | PHP | 390 lines
1<?php 2// Import EA BF2Web Gamespy Data 17 $playerinfoBase = getPageContents($playerinfoURL1); 18 if(!stristr(implode("\n",$playerinfoBase),"O\nH\tasof\n")) { 19 die("Player with PID {$pid} doesn't exist on the stat server !"); 319 foreach($data as $line) { 320 if($i>5 && stristr($line,"s")) { 321 $parts = explode(chr(9), str_replace("\n","",$line));Paginator.class.php http://flumpshop.googlecode.com/svn/trunk/ | PHP | 81 lines
1<?php 2class Paginator { 8 9 if (stristr($urlprefix,"?")) $join = "&"; else $join = "?"; 10 $return = "<div class='ui-state-default' style='text-align: center;'>";farms_add.php http://scalr.googlecode.com/svn/ | PHP | 278 lines
1<? 2 require("src/prepend.inc.php"); 3 $display['load_extjs'] = true; 12 if (!$req_farmid) 13 UI::Redirect("farms_view.php"); 14 else 76 { 77 if (stristr($zone->zoneState,'available')) 78 array_push($display["avail_zones"], (string)$zone->zoneName); 110 if ($_SESSION['uid'] != 0 && $_SESSION['uid'] != $display["farminfo"]["clientid"]) 111 UI::Redirect("farms_view.php"); 112 115 $errmsg = _("Farm not found"); 116 UI::Redirect("farms_view.php"); 117 }common.php http://tastemakers.googlecode.com/svn/trunk/ | PHP | 450 lines
93/* case insensitive explode 94 * from: http://theserverpages.com/php/manual/en/function.explode.php#37563 95 */ 129 $artists = explodei(' w/ ', $artists); 130 else if(stristr($artists, ' and ')) 131 $artists = explodei(' and ', $artists); 184 // only works in php 5.3.0+ 185 if (stristr($interview_title, 'a q&a', true)) { 186 $artist = stristr($interview_title, 'a q&a', true); 193 // just removes the "q&" in "q&a with" 194 if (stristr($interview_title, 'a with')) 195 return extract_artist_name($interview_title, 'a with'); 197 // assumes format [name]: A Q&A - uses "a q" of "a q&a" to avoid ampersand issue 198 // only works in php 5.3.0+ 199 if (stristr($interview_title, 'a q', true)) {Eip.php http://scalr.googlecode.com/svn/ | PHP | 316 lines
1<?php 2 class Modules_Platforms_Ec2_Observers_Eip extends EventObserver 56 { 57 if (!stristr($e->getMessage(), "does not belong to you")) 58 { 222 { 223 if (!stristr($e->getMessage(), "does not belong to you") || $assign_retries == 3) 224 throw new Exception($e->getMessage()); 299 { 300 if (!stristr($e->getMessage(), "does not belong to you") || $assign_retries == 3) 301 throw new Exception($e->getMessage());aws_ec2_pricehistory_list.php http://scalr.googlecode.com/svn/ | PHP | 141 lines
1<?php 2 $response = array(); 9 $enable_json = true; 10 include("../../src/prepend.inc.php"); 11 51 // serach by description 52 $win = stristr($item,"windows"); 53 $linux = stristr($item,"linux"); 53 $linux = stristr($item,"linux"); 54 $unix = stristr($item,"unix"); 55 if($win)function.inc.php http://jcuecafe.googlecode.com/svn/ | PHP | 145 lines
1<?php 2 18 $s = (count($items) > 1) ? 's':''; 19 return '<p>You have <a href="showMyCart.php">'.count($items).' item'.$s.' in your shopping cart</a></p>'; 20 } 40 } 41 $output[] = '<form action="makepayment.php">'; 42 $output[] = '<table border=1 align=center>'; 50 $output[] = '<tr>'; 51 $output[] = '<td align=center><a href="showMyCart.php?action=delete&id='.$id.'" class="r">Remove</a></td>'; 52 $output[] = '<td align=center>'.$Item_Name.'</td>'; 75 foreach ($_POST as $key=>$value) { 76 if (stristr($key,'qty')) { 77 $id = str_replace('qty','',$key);process.php git://github.com/ericmuyser/mmo.git | PHP | 548 lines
1<?php 2 6 { 7 $php_command = "php5"; 8 $busy = false; 11 12 $this->proc = proc_open($php_command . " -q " . $file, $descriptor, $this->pipes); 13 118 $this->parent_pid = posix_getpid(); 119 $this->stdin = fopen("php://stdin", "r"); 120 214 // if this isn't linux don't check it 215 if(!stristr(PHP_OS, "linux")) 216 return true;filefaster_com.php http://rapidleech36b.googlecode.com/svn/trunk/ | PHP | 70 lines
1<?php 2if (!defined('RAPIDLEECH')) { 57 $page = $this->GetPage($link, 0, $post, $link); 58 if (!stristr($page, "Location:")) { 59 html_error("Sorry, download link couldn't be found. Contact the author n give the link which u have this error!");modifyipformmul.php git://pkgs.fedoraproject.org/ipplan | PHP | 153 lines
1<?php 2 21require_once("../ipplanlib.php"); 22require_once("/usr/share/php/adodb/adodb.inc.php"); 23require_once("../class.dbflib.php"); 24require_once("../layout/class.layout"); 25require_once("../auth.php"); 26 55 56// save md5str for check in displaysubnet.php to see if info has 57// been modified since start of edit 64insert($w,block("<small>")); 65if (isset($_SERVER['HTTP_REFERER']) and stristr($_SERVER['HTTP_REFERER'], "displaysubnet.php")) { 66 insert($w,anchor($_SERVER['HTTP_REFERER'], my_("Back to subnet"))); 73 "method"=>"post", 74 "action"=>"displaysubnet.php"))); 75ViewHelper.php git://github.com/michael-romer/zf-boilerplate.git | PHP | 256 lines
1<?php 2/** 21/** Zend_Form_Decorator_Abstract */ 22require_once 'Zend/Form/Decorator/Abstract.php'; 23 41 * @license http://framework.zend.com/license/new-bsd New BSD License 42 * @version $Id: ViewHelper.php 23775 2011-03-01 17:25:24Z ralph $ 43 */ 196 if ($element instanceof $type) { 197 if (stristr($type, 'button')) { 198 $element->content = $element->getLabel(); 224 if (null === $view) { 225 require_once 'Zend/Form/Decorator/Exception.php'; 226 throw new Zend_Form_Decorator_Exception('ViewHelper decorator cannot render without a registered view object');real_debrid_com.php http://rapidleech36b.googlecode.com/svn/trunk/ | PHP | 84 lines
1<?php 2if (!defined('RAPIDLEECH')) { 14 $check = $ck[1]; 15 if (stristr($check, "|")) { 16 $arr = explode('|', $check); 36 $cookie = $this->Login($cookie); 37 $page = $this->GetPage($this->posturl . "ajax/unrestrict.php?link={$this->url}&password={$this->password}&remote=0&time=" . round(microtime(true) * 1000) . "", $cookie, 0, $this->posturl . "downloaders\r\nX-Requested-With: XMLHttpRequest"); 38 if (preg_match('@\{"([^"]+)":(\d+),"([^"]+)":"([^"]+)"\}?(,"([^"]+)":"([^"]+)","([^"]+)":"([^"]+)",)?@', $page, $match)) { 62 if (empty($user) || empty($pass)) html_error("Username or password is empty, you need to insert your login detail!"); 63 $page = $this->GetPage($this->posturl . "ajax/login.php?user=" . urlencode($user) . "&pass=" . urlencode($pass) . "", "lang=en", 0, $this->posturl . "\r\nX-Requested-With: XMLHttpRequest"); 64 $cookie = GetCookies($page) . "; lang=en";ClassFilePathSniff.php https://code.google.com/p/ontowiki/ | PHP | 113 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 18 * 19 * Tests that the filepath correspond to the classname for php Files in 20 * the application/classes Folder 21 * 22 * @category PHP 23 * @package PHP_CodeSniffer 50 * 51 * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. 52 * @param int $stackPtr The position of the current token in the 56 */ 57 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 58 {class.TickerMessage.inc.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 278 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 25*/ 26include_once 'class.TickerBase.inc.php'; 27 177 /* define beginning of string */ 178 if ($start_string_length == 0 || ($substring = strstr($this->text, $start_string)) == FALSE) { // for case insensitive use stristr() 179 $startcut = (int) 0;cramit_in.php http://rapidleech36b.googlecode.com/svn/trunk/ | PHP | 169 lines
1<?php 2if (!defined('RAPIDLEECH')) { 54 if (strpos($page, "Enter the code below:") || strpos($page, "Wrong captcha")) { 55 global $PHP_SELF; 56 $form = cut_str($page, '<Form name="F1" method="POST"', '</Form>'); 58 $data = array_merge($this->DefaultParamArr($link), array_combine($match[1], $match[2])); 59 echo "\n<center><form name='dl' action='$PHP_SELF' method='post' ><br />\n"; 60 foreach ($data as $name => $value) { 62 } 63 if (stristr($form, "Password :") || strpos($page, "Wrong password")) { 64 echo '<h4>Enter password here: <input type="text" name="password" size="10" /></h4><br />'; 77 $dlink = trim($dl[1]); 78 $filename = basename(parse_url($dlink, PHP_URL_PATH)); 79 $this->RedirectDownload($dlink, $filename, 0, 0, $link); 101 if (!preg_match('@http:\/\/cramit\.in\/file_download\/[^|\r|\n|"?]+@i', $this->page, $rd)) { //non direct download also password link have the same layout... 102 global $PHP_SELF; 103 $form = cut_str($this->page, '<Form name="F1" method="POST"', '</Form>');addtocart_list_multi.tpl.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 117 lines
11 <div class="vmCartChildHeading<?php echo $cls_suffix ?>"> 12 <span style="float: left;width: <?php echo $desc_width ?>;"><?php echo $VM_LANG->_('PHPSHOP_PRODUCT_DESC_TITLE') ?></span > 13 <?php //Ouput Each Attribute Heading 19 <span style="float: right;width: 10%;"><?php echo $VM_LANG->_('PHPSHOP_CART_QUANTITY') ?></span> 20 <span style="float: right;width: 12%;"><?php echo $VM_LANG->_('PHPSHOP_PRODUCT_INVENTORY_PRICE') ?></span> 21 </div><br/> 41 <div class="vmCartChild<?php echo $cls_suffix." ".$product['bgcolor'].$cls_suffix ?>"> 42 <form action="<?php echo $mm_action_url ?>index.php" method="post" name="addtocart" id="addtocart<?php echo $product['product_id'] ?>" class="addtocart_form" <?php if( $this->get_cfg( 'useAjaxCartActions', 1 ) && !$notify ) { echo 'onsubmit="handleAddToCart( this.id );return false;"'; } ?>> 43 <div class="vmCartChildElement<?php echo $cls_suffix ?>"> 66 <span class="vmChildDetail<?php echo $cls_suffix ?>" style="float: right;text-align: right;margin-top: 0px;"> 67 <input type="submit" class="<?php echo $button_cls ?>" value="<?php echo $button_lbl ?>" title="<?php echo $button_lbl ?>" /></span> 68 <?php } 70 if (USE_AS_CATALOGUE != '1' ) { ?> 71 <span class="vmChildDetail<?php echo $cls_suffix ?>" style="float: right;text-align: right;margin-top: 0px;"><?php echo $product['quantity_box'] ?></span> 72 <?php }hotfile_com.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 216 lines
1<?php 2 20 is_present($page, "<td>File is removed", "Error: File is removed due to copyright claim."); 21 if (stristr($page, "\r\nContent-Length: 0\r\n")) { 22 is_notpresent($page, "\r\nLocation:", "Error: Invalid link. Please check the download link."); 71 72 $lfound = (stristr($page, "hotfile.com/get/") ? true : false); 73 $cfound = (stristr($page, "api.recaptcha.net/challenge?k=") ? true : false); 84 85 $lfound = (stristr($page, "hotfile.com/get/") ? true : false); 86 $cfound = (stristr($page, "api.recaptcha.net/challenge?k=") ? true : false); 156 157 if (stristr($page, "\r\nContent-Length: 0\r\n")) { 158 is_notpresent($page, "\r\nLocation:", "Error: Direct link not found."); 186 187 $postURL = "http://hotfile.com/login.php"; 188 $post["returnto"] = "/";DataList.php git://github.com/silverstripe/sapphire.git | PHP | 1136 lines
1<?php 2 328 if(is_string($sort) && $sort){ 329 if(stristr($sort, ' asc') || stristr($sort, ' desc')) { 330 $query->sort($sort);JStringTest.php git://github.com/joomla/joomla-platform.git | PHP | 897 lines
1<?php 2/** 9 10require_once 'TestHelpers/JString-helper-dataset.php'; 11 13 * Test class for JString. 14 * Generated by PHPUnit on 2009-10-26 at 22:29:34. 15 * 19 */ 20class JStringTest extends PHPUnit_Framework_TestCase 21{ 178 */ 179 public function getStristrData() 180 { 180 { 181 return JStringTest_DataSet::$stristrTests; 182 }