100+ results results for 'php strtolower repo:CerberusStyle/magirc' (197 ms)
1<?php 2class kfmDirectory extends kfmObject{ 54 if(($ban[0]=='/' || $ban[0]=='@')&&preg_match($ban,$file))return false; 55 elseif($ban==strtolower(trim($file)))return false; 56 } 60 if(preg_match($allow, $file))return true; 61 }else if($allow==strtolower($file)) return true; 62 }Common.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 519 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 8 * 9 * LICENSE: This source file is subject to version 3.01 of the PHP license 10 * that is available through the world-wide-web at the following URI: 11 * http://www.php.net/license/3_01.txt If you did not receive a copy of 12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 18 * @copyright 2001-2009 The PHP Group 19 * @license http://www.php.net/license/3_01.txt PHP License 3.01 20 * @version CVS: $Id: Common.php 137 2009-11-09 13:24:37Z vanpouckesven $ 176 { 177 $key = strtolower($key); 178 } 195 { 196 $arrAttr[strtolower(trim($name))] = strtolower(trim($name)); 197 }mkdist.php git://pkgs.fedoraproject.org/php | PHP | 549 lines
15 16$dist_dir = $build_dir . "/php-" . phpversion(); 17$test_dir = $build_dir . "/php-test-pack-" . phpversion(); 238 "php.ini-development" => "php.ini-development", 239 "php.ini-production" => "php.ini-production", 240 "win32/install.txt" => "install.txt", 240 "win32/install.txt" => "install.txt", 241 "win32/pws-php5cgi.reg" => "pws-php5cgi.reg", 242 "win32/pws-php5isapi.reg" => "pws-php5isapi.reg", 461} 462copy('run-tests.php', $test_dir . '/run-test.php'); 463 495 496 /* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar) 497 * broken out of the tarballs */SfObjectBuilder.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 393 lines
2 3require_once 'propel/engine/builder/om/php5/PHP5ObjectBuilder.php'; 4 31 // remove all inline includes: object classes include the peers 32 $objectCode = preg_replace("/include_once\s*.*Base.*Peer\.php.*\s*/", "", $objectCode); 33 } 165 { 166 if (("true" === strtolower($col->getAttribute('isCulture')))) 167 { 167 { 168 $culture = $col->getPhpName(); 169 $culture_peername = PeerBuilder::getColumnName($col, $className); 371 { 372 $behavior_file_name = 'Base'.$this->getTable()->getPhpName().'Behaviors'; 373 $behavior_file_path = ClassTools::getFilePath($this->getStubObjectBuilder()->getPackage().'.om', $behavior_file_name);PlatformRepository.php git://github.com/composer/composer.git | PHP | 365 lines
96 97 $php = new CompletePackage('php', $version, $prettyVersion); 98 $php->setDescription('The PHP interpreter'); 107 if (defined('PHP_ZTS') && PHP_ZTS) { 108 $phpzts = new CompletePackage('php-zts', $version, $prettyVersion); 109 $phpzts->setDescription('The PHP interpreter, with Zend Thread Safety'); 114 $php64 = new CompletePackage('php-64bit', $version, $prettyVersion); 115 $php64->setDescription('The PHP interpreter, 64bit'); 116 $this->addPackage($php64); 122 $phpIpv6 = new CompletePackage('php-ipv6', $version, $prettyVersion); 123 $phpIpv6->setDescription('The PHP interpreter, with IPv6 support'); 124 $this->addPackage($phpIpv6); 302 // Skip if PHP is overridden and we are adding a php-* package 303 if (isset($this->overrides['php']) && 0 === strpos($package->getName(), 'php-')) { 304 $overrider = $this->addOverriddenPackage($this->overrides['php'], $package->getPrettyName());Excel2007.php https://PHPExcel.svn.codeplex.com/svn | PHP | 398 lines
61/** PHPExcel_Writer_Excel2007_Theme */ 62require_once 'PHPExcel/Writer/Excel2007/Theme.php'; 63 81 * @package PHPExcel_Writer 82 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 83 */ 165 // Set property PHPExcel 166 $this->setPHPExcel($pPHPExcel); 167 } else { 314 * 315 * @param PHPExcel $pPHPExcel PHPExcel object 316 * @throws Exception 318 public function setPHPExcel($pPHPExcel = null) { 319 if ($pPHPExcel instanceof PHPExcel) { 320 $this->_spreadSheet = $pPHPExcel;Common.php git://github.com/davidcoallier/Services_Capsule.git | PHP | 296 lines
1<?php 2/** 35 * 36 * PHP version 5 37 * 41 * @copyright echolibre ltd. 2009-2010 42 * @license http://www.opensource.org/licenses/bsd-license.php The BSD License 43 * @link http://github.com/davidcoallier/Services_Capsule 52 * @author David Coallier <david@echolibre.com> 53 * @license http://www.opensource.org/licenses/bsd-license.php The BSD License 54 * @link http://github.com/davidcoallier/Services_Capsule 114 { 115 $section = ucwords(strtolower($section)); 116 126 127 $currentModule = ucfirst(strtolower($this->moduleName)); 128anekdotru.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 393 lines
1<?php 2// 12 13include("config.php"); 14 65 // get extension of the source file 66 $fileType = strtolower(substr($mimetype, strlen($mimetype)-3)); 67 212 213 $fileType = strtolower(substr($sourcefile, strlen($sourcefile)-3)); 214 311 312 switch(strtolower($path["extension"])){ 313 case "pjpeg": 349 350 //echo "\n ..strtolower(path[extension]):".strtolower($path["extension"]); 351 switch(strtolower($path["extension"])){class.baseobject.php https://code.google.com/p/movabletype/ | PHP | 388 lines
1<?php 2# Movable Type (r) Open Source (C) 2001-2010 Six Apart, Ltd. 5# 6# $Id: class.baseobject.php 5325 2010-02-23 10:44:56Z takayama $ 7 10 */ 11require_once('adodb.inc.php'); 12require_once('adodb-active-record.inc.php'); 12require_once('adodb-active-record.inc.php'); 13require_once('adodb-exceptions.inc.php'); 14 124 $type = $joins[$key]['type']; 125 $join .= ' ' . strtolower($type) . ' JOIN ' . $table . ' ON ' . $cond; 126 } 201 } 202 $cls = strtolower(get_class($this)); 203 $meta_info = BaseObject::get_meta_info($cls);Language.php git://github.com/thorsten/phpMyFAQ.git | PHP | 377 lines
17 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 18 * @link http://www.phpmyfaq.de 19 * @since 2009-05-14 35 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 36 * @link http://www.phpmyfaq.de 37 * @since 2009-05-14 132 133 // Get language from: _POST, _GET, _COOKIE, phpMyFAQ configuration and the automatic language detection 134 $_lang['post'] = PMF_Filter::filterInput(INPUT_POST, 'language', FILTER_SANITIZE_STRING); 283 if ($fileLanguageValue) { 284 $output .= "\t<option value=\"language_" . strtolower($lang) . ".php\""; 285 } else { 293 if ($fileLanguageValue) { 294 $output .= "\t<option value=\"language_" . strtolower($key) . ".php\""; 295 } else {db_oracle.inc git://pkgs.fedoraproject.org/ser | PHP | 434 lines
1<?php 2/* 2/* 3 * Oracle accessor based on Session Management for PHP3 4 * 14 var $Remote = 1; 15 /* Due to a strange error with Oracle 8.0.5, Apache and PHP3.0.6 16 you don't need to set the ENV - on my system Apache 111 112 /* No empty queries, please, since PHP4 chokes on them. */ 113 if ($Query_String == "") 177 for($ix=0;$ix<ora_numcols($this->Query_ID);$ix++) { 178 $col=strtolower(ora_columnname($this->Query_ID,$ix)); 179 $value=ora_getcolumn($this->Query_ID,$ix); 190 ## Perhaps I make a own implementation, but my 191 ## opinion is, that this should be done by PHP3 192 function seek($pos) {SP_Uri.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 280 lines
1<?php 2 18 19 @include(APPBASE.'Config/routes.php'); 20 $this->routes = ( ! isset($ROUTE) OR ! is_array($ROUTE)) ? array() : $ROUTE; 22 23 $this->default_controller = ( ! isset($this->routes['default_controller']) OR $this->routes['default_controller'] == '') ? FALSE : strtolower($this->routes['default_controller']); 24 30 31 if(!file_exists(APPBASE.'Controllers/'.$this->default_controller.'.php')){ 32 showError(__T('Unable to load your default controller. Please make sure the controller specified in your Routes.php file is valid.')); 171 $strlen = strlen(_getScriptPath()); 172 $totallen = strlen($_SERVER['PHP_SELF']); 173 return substr($_SERVER['PHP_SELF'],$strlen,$totallen);DatabasePeopleRetriever.php git://github.com/modolabs/Kurogo-Mobile-Web.git | PHP | 280 lines
1<?php 2 265 public function getId() { 266 return $this->getField(strtolower($this->fieldMap['userid'])); 267 } 271 if (strlen($value)>0) { 272 $this->setField(strtolower($field), $value); 273 }Container.php git://github.com/eryx/php-framework-benchmark.git | PHP | 459 lines
1<?php 2 188 189 $id = strtolower($id); 190 212 { 213 $id = strtolower($id); 214 236 { 237 $id = strtolower($id); 238 456 { 457 return strtolower(preg_replace(array('/([A-Z]+)([A-Z][a-z])/', '/([a-z\d])([A-Z])/'), array('\\1_\\2', '\\1_\\2'), strtr($id, '_', '.'))); 458 }StorageEngine.class.php git://github.com/jyr/MNPP.git | PHP | 425 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 6 * @version $Id$ 7 * @package phpMyAdmin 8 */ 24 * base Storage Engine Class 25 * @package phpMyAdmin 26 */ 41 */ 42 var $comment = 'If you read this text inside phpMyAdmin, something went wrong...'; 43 74 * @uses PMA_StorageEngine::getStorageEngines() 75 * @uses strtolower() 76 * @uses htmlspecialchars() 237 } elseif (! $like 238 && strpos(strtolower($row['Variable_name']), strtolower($this->engine)) !== 0) { 239 continue;server.php http://arronwork.googlecode.com/svn/trunk/ | PHP | 429 lines
1#!/usr/bin/env php 2<?php 5$SOAR_DIR="../../../../.."; 6include "$SOAR_DIR/common/php/soar/soar.inc"; 7 108 109 $request=strtolower($request); 110 foreach(self::$cmd_map as $arr) 137 } 138 $cmd=strtolower($cmd); 139 //printf("cmd(%s)\n", $cmd);Profiler.php http://grupal.googlecode.com/svn/trunk/ | PHP | 474 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Profiler.php 25126 2012-11-16 15:16:11Z rob $ 21 */ 260 if (null === $queryType) { 261 switch (strtolower(substr(ltrim($queryText), 0, 6))) { 262 case 'insert': 282 */ 283 require_once 'Zend/Db/Profiler/Query.php'; 284 $this->_queryProfiles[] = new Zend_Db_Profiler_Query($queryText, $queryType); 310 */ 311 require_once 'Zend/Db/Profiler/Exception.php'; 312 throw new Zend_Db_Profiler_Exception("Profiler has no query with handle '$queryId'."); 321 */ 322 require_once 'Zend/Db/Profiler/Exception.php'; 323 throw new Zend_Db_Profiler_Exception("Query with profiler handle '$queryId' has already ended.");mkdist.php http://php52-backports.googlecode.com/svn/trunk/ | PHP | 421 lines
14 15$dist_dir = $build_dir . "/php-" . phpversion(); 16$pecl_dir = $build_dir . "/pecl-" . phpversion(); 206 $phppdb = str_replace(".dll", ".pdb", $phpdll); 207 copy("$build_dir/$phppdb", "$dist_dir/dev/$phppdb"); 208} 221 "NEWS" => "news.txt", 222 "php.ini-dist" => "php.ini-dist", 223 "php.ini-recommended" => "php.ini-recommended", 234$general_files = array( 235 "php.gif" => "php.gif", 236); 367 368 /* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar) 369 * broken out of the tarballs */ProveedorDataGridGen.class.php http://logisticsouth.googlecode.com/svn/trunk/ | PHP | 362 lines
1<?php 2 /** 155 $strName = QConvertNotation::WordsFromCamelCase($objNode->_PropertyName); 156 if (strtolower(substr($strName, strlen($strName) - 3)) == ' id') 157 $strName = substr($strName, 0, strlen($strName) - 3);dataform.php http://rapyd-framework.googlecode.com/svn/trunk/ | PHP | 476 lines
1<?php 2 89 //load and instance field 90 $field_file = strtolower($field["type"]); 91 $field_class = $field_file . '_field'; 128 * set css style 129 * @todo search online for a better way to work with html/css for example using a dom-api like phpquery 130 * @param string $styletimer.class.php http://domuslink.googlecode.com/svn/trunk/ | PHP | 498 lines
1<?php 2/* 2/* 3 * domus.Link :: PHP Web-based frontend for Heyu (X10 Home Automation) 4 * Copyright (c) 2007, Istvan Hubay Cebrian (istvan.cebrian@domus.link.co.pt) 20 */ 21require_once(CLASS_FILE_LOCATION."scheduleelement.class.php"); 22require_once(CLASS_FILE_LOCATION."heyusched.const.php"); 45 $this->timerOptions = array(); 46 if(strtolower(trim($this->getType())) == TIMER_D) { 47 $this->parseTimerLine($this->getElementLine()); 301 // Need to determine if we have a time (hh:mm), dawn/dusk with opt +/-mins, now with opt +mins, and security flag 302 $checkTime = rtrim(ltrim(strtolower($args[0]))); 303 451 function parseOptions($theType, $theTime) { 452 $theType = strtolower(rtrim(ltrim($theType))); 453 $theTime = rtrim(ltrim($theTime));SectionCorp.php https://code.google.com/p/yapeal/ | PHP | 364 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 6 * 7 * LICENSE: This file is part of Yet Another Php Eve Api library also know 8 * as Yapeal which will be used to refer to it in the rest of this license. 41 $mess = basename(__FILE__) 42 . ' must be included it can not be ran directly.' . PHP_EOL; 43 if (PHP_SAPI != 'cli') { 60 public function __construct() { 61 $this->section = strtolower(str_replace('Section', '', __CLASS__)); 62 parent::__construct(); 64 /** 65 * Function called by Yapeal.php to start section pulling XML from servers. 66 *sfValidatorFromDescription.class.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 388 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: sfValidatorFromDescription.class.php 9048 2008-05-19 09:11:23Z FabianLange $ 18 */ 36 /** 37 * Returns a PHP representation for the validator. 38 * 38 * 39 * This PHP representation can be evaled to return the object validator. 40 * 42 * 43 * @return string The PHP representation for the validator 44 */ 44 */ 45 public function asPhp() 46 {Mbstring.php git://github.com/nicolas-grekas/Patchwork-UTF8.git | PHP | 337 lines
1<?php // vi: set fenc=utf-8 ts=4 sw=4 et: 2/* 10 11namespace Patchwork\PHP\Override; 12 13/** 14 * Partial mbstring implementation in PHP, iconv based, UTF-8 centric. 15 * 25 * - mb_strrpos - Find position of last occurrence of a string in a string 26 * - mb_strtolower - Make a string lowercase 27 * - mb_strtoupper - Make a string uppercase 65{ 66 const MB_CASE_FOLD = PHP_INT_MAX; 67 231 232 static function mb_strtolower($s, $encoding = INF) 233 {db.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 438 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ?????????? (Build on ThinkPHP) 4// +---------------------------------------------------------------------- 405 406 $clean = preg_replace("/[^a-z0-9_\-\(\)#\*\/\"]+/is", "", strtolower($clean)); 407armory_data.php http://wowroster.googlecode.com/svn/trunk/ | PHP | 290 lines
1<?php 2/** 9 * @license http://www.gnu.org/licenses/gpl.html Licensed under the GNU General Public License v3. 10 * @version SVN: $Id: armory_data.php 2394 2012-02-15 22:05:03Z ulminia@gmail.com $ 11 * @link http://www.wowroster.net 96 'class_id' => $classid, 97 'background' => strtolower($treedata['backgroundFile']), 98 'icon' => $treedata['icon'], 194 'class_id' => $i, 195 'background' => strtolower($treedata['backgroundFile']), 196 'icon' => $treedata['icon'],class.csstidy_print.php https://bitbucket.org/chamilo/chamilo/ | PHP | 350 lines
1<?php 2/** 23 * 24 * @license http://opensource.org/licenses/gpl-license.php GNU Public License 25 * @package csstidy 168 case SEL_START: 169 if($this->parser->get_cfg('lowercase_s')) $token[1] = strtolower($token[1]); 170 $out .= ($token[1]{0} !== '@') ? $template[2].$this->_htmlsp($token[1], $plain) : $template[0].$this->_htmlsp($token[1], $plain); 175 if($this->parser->get_cfg('case_properties') == 2) $token[1] = strtoupper($token[1]); 176 if($this->parser->get_cfg('case_properties') == 1) $token[1] = strtolower($token[1]); 177 $out .= $template[4] . $this->_htmlsp($token[1], $plain) . ':' . $template[5];Template.php git://github.com/jeromeschneider/Baikal.git | PHP | 451 lines
1<?php 2 288 * implementation detail that has been introduced to optimize variable 289 * access for versions of PHP before 5.4. This is not a way to override 290 * the way to get a variable value. 403 404 $lcItem = strtolower($item); 405 if (isset(self::$cache[$class]['methods'][$lcItem])) {search.php git://pkgs.fedoraproject.org/axis2c | PHP | 386 lines
17 <li> 18 <form action="search.php" method="get"> 19 <table cellspacing="0" cellpadding="0" border="0"> 22 23<?php 24 78 // Fast string hashing 79 //$lword = strtolower($word); 80 //$l = strlen($lword); 327{ 328 if(strcmp('4.1.0', phpversion()) > 0) 329 { 329 { 330 die("Error: PHP version 4.1.0 or above required!"); 331 }Key.php https://code.google.com/p/s3db/ | PHP | 316 lines
11 * that is available through the world-wide-web at the following URI: 12 * http://www.php.net/license/3_0.txt. If you did not receive a copy of 13 * the PHP License and are unable to obtain it through the web, please 13 * the PHP License and are unable to obtain it through the web, please 14 * send a note to license@php.net so we can mail you a copy immediately. 15 * 19 * @copyright 2005, 2006 Alexander Valyalkin 20 * @license http://www.php.net/license/3_0.txt PHP License 3.0 21 * @version 1.2.0b 89 * @copyright 2005, 2006 Alexander Valyalkin 90 * @license http://www.php.net/license/3_0.txt PHP License 3.0 91 * @link http://pear.php.net/package/Crypt_RSA 311 { 312 return (is_object($key) && strtolower(get_class($key)) === strtolower(__CLASS__)); 313 }func.php http://snowcms.googlecode.com/svn/trunk/ | PHP | 272 lines
71 // Simple to emulate, really. 72 return mb_strpos(mb_strtolower($haystack), mb_strtolower($needle), $offset);'), 73 'stristr' => create_function('$haystack, $needle, $part = false', ' 78 // Pretty easy to emulate too. 79 return mb_strstr(mb_strtolower($haystack), mb_strtolower($needle), $part);'), 80 'strlen' => 'mb_strlen', 86 else 87 return mb_strrchr(mb_strtolower($haystack), mb_strtolower($needle), $part);'), 88 'strripos' => create_function('$haystack, $needle, $offset = 0', ' 91 else 92 return mb_strrpos(mb_strtolower($haystack), mb_strtolower($needle), $offset);'), 93 'strrpos' => 'mb_strrpos', 94 'strstr' => 'mb_strstr', 95 'strtolower' => 'mb_strtolower', 96 'strtoupper' => 'mb_strtoupper',logs.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 336 lines
1<?php 2 24$sql = "SELECT SQL_CALC_FOUND_ROWS * FROM `" . $db_config['prefix'] . "_logs` WHERE `id`!=0"; 25$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op; 26 42 nv_insert_logs( NV_LANG_DATA, $module_name, sprintf ( $lang_module['filter_check_log'], $op ), $admin_info['username'] . " - " . $admin_info['userid'], 0 ); 43 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op ); 44 exit(); 124$lang_order_2 = array( 125 "lang" => strtolower ( $lang_module['log_lang'] ), // 126 "module" => strtolower ( $lang_module['moduleName'] ), // 126 "module" => strtolower ( $lang_module['moduleName'] ), // 127 "time" => strtolower ( $lang_module['log_time'] ) // 128); 141 $order[$key]['data'] = array( 142 "class" => "order" . strtolower ( $order[$key]['order'] ), // 143 "url" => $base_url . "&order_" . $key . "=" . $opposite_order[$order[$key]['order']], //cache.php http://skygames.googlecode.com/svn/trunk/ | PHP | 520 lines
1<?php 2/* SVN FILE: $Id: cache.php 7847 2008-11-08 02:54:07Z renan.saddam $ */ 3/** 4 * Caching for CakePHP. 5 * 6 * 7 * PHP versions 4 and 5 8 * 8 * 9 * CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) 10 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 16 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 17 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 18 * @package cake 83 if (!class_exists($name . 'Engine')) { 84 require LIBS . DS . 'cache' . DS . strtolower($name) . '.php'; 85 }InstantClientScript.php git://github.com/jakubkulhan/shopaholic.git | PHP | 327 lines
1<?php 2 10 * 11 * For more information please see http://nettephp.com 12 * 13 * @copyright Copyright (c) 2004, 2009 David Grudl 14 * @license http://nettephp.com/license Nette license 15 * @link http://nettephp.com 17 * @package Nette\Forms 18 * @version $Id: InstantClientScript.php 201 2009-01-28 05:56:46Z david@grudl.com $ 19 */ 22 23require_once dirname(__FILE__) . '/../../Object.php'; 24 236 { 237 $operation = strtolower($operation); 238 switch (TRUE) {_qform_edit_base.tpl http://logisticsouth.googlecode.com/svn/trunk/ | Smarty Template | 156 lines
1<template OverwriteFlag="true" DocrootFlag="false" DirectorySuffix="" TargetDirectory="<%= __FORMBASE_CLASSES__ %>" TargetFileName="<%= $objTable->ClassName %>EditFormBase.class.php"/> 2<?php 12 * NOTE: This file is overwritten on any code regenerations. If you want to make 13 * permanent changes, it is STRONGLY RECOMMENDED to move both <%= QConvertNotation::UnderscoreFromCamelCase($objTable->ClassName) %>_edit.php AND 14 * <%= QConvertNotation::UnderscoreFromCamelCase($objTable->ClassName) %>_edit.tpl.php out of this Form Drafts directory. 151 protected function RedirectToListPage() { 152 QApplication::Redirect(__VIRTUAL_DIRECTORY__ . __FORM_DRAFTS__ . '/<%= strtolower($objTable->Name) %>_list.php'); 153 }mysql.class.php http://xklog.googlecode.com/svn/ | PHP | 394 lines
1<?php 2 244 'default' => $val['Default'], 245 'primary' => (strtolower($val['Key']) == 'pri'), 246 'autoinc' => (strtolower($val['Extra']) == 'auto_increment'),Client.php git://github.com/kohana/core.git | PHP | 428 lines
1<?php defined('SYSPATH') OR die('No direct script access.'); 2/** 207 208 $this->_follow_headers = array_map('strtolower', $follow_headers); 209 238 * 239 * Accepts an array with HTTP response headers as keys and a PHP callback 240 * function as values. These callbacks will be triggered if a response containsfronts_common.php http://php-ppcms.googlecode.com/svn/trunk/ | PHP | 254 lines
33//do not use the function util_xxx 34if( strlen($request_uri) > 0 && (substr($request_uri, 0, strlen('index.php')) != 'index.php') ) { 35 $link_result = util_parse_link($request_uri); 65$action = trim(strtolower(util_get_param($_REQUEST, 'action'))); 66$type = trim(strtolower(util_get_param($_REQUEST, 'type'))); 67$operation = trim(strtolower(util_get_param($_REQUEST, 'op'))); 96 // 97 include_once(CONFIG_PATH . CONFIG_DIR_CLASSES . 'module/product/product.category.class.php'); 98 $mObj = new ProductCategoryBase(); 107 // 108 include_once(CONFIG_PATH . CONFIG_DIR_CLASSES . 'module/gallery/gallery.category.class.php'); 109 $mObj = new GalleryCategoryBase(); 249//crons 250//include_once(CONFIG_PATH . CONFIG_DIR_CLASSES . 'core.cron.class.php'); 251//$cronObj = new CoreCronBase();image.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 492 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ?????????? (Build on ThinkPHP) 4// +---------------------------------------------------------------------- 8/** 9 * image.class.php 10 * 120 { 121 return addslashes(strtolower(substr(strrchr($file_name, '.'), 1, 10))); 122 } 163 164 $image_info['type'] = strtolower(substr(image_type_to_extension($image_info[2]),1)); 165 $infos[$target] = $image_info;nganluong.class.php http://nukeviet-shop.googlecode.com/svn/trunk/ | PHP | 198 lines
1<?php 2 12 13require_once ( NV_ROOTDIR . "/includes/class/nusoap.php" ); 14 36 $arr_param = array( 37 'merchant_site_code' => strval( $this->merchant_site_code ), 'return_url' => strtolower( urlencode( $return_url ) ), 'receiver' => strval( $receiver ), 'transaction_info' => strval( $transaction_info ), 'order_code' => strval( $order_code ), 'price' => strval( $price ) 38 );class.npu_uploader.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 188 lines
1<?php 2 3// Get NextGEN Gallery Functions 4require_once (NGGALLERY_ABSPATH."/admin/functions.php"); 5 43 $temp_file = $_FILES[$key]['tmp_name']; 44 $filepart = pathinfo ( strtolower($_FILES[$key]['name']) ); 45 // Required Until PHP 5.2.0 127 $temp_file = $_FILES[$key]['tmp_name']; 128 $filepart = pathinfo ( strtolower($_FILES[$key]['name']) ); 129 // Required Until PHP 5.2.0adodb.inc.php http://pacercms.googlecode.com/svn/trunk/ | PHP | 386 lines
1<?php 2 3/** 4 * ADOdb Lite is a PHP class to encapsulate multiple database APIs and is compatible with 5 * a subset of the ADODB Command Syntax. 39 40 @include( ADODB_DIR . '/adodb.config.php' ); 41 51 52 $dbtype = strtolower($dbtype); 53 include_once ADODB_DIR . '/adodbSQL_drivers/' . $dbtype . '/' . $dbtype . '_driver.inc'; 56 { 57 $module_list = explode(":", strtolower($modules)); 58 $generic_modules = array(); 98 $data = isset($array[1]) ? $array[1] : 1; 99 switch(strtolower($array[0])) { 100 case 'persist':prefilter.mt_to_smarty.php git://github.com/openmelody/melody.git | PHP | 331 lines
96 if (strtolower($m[1]) == 'config') { 97 $attrs[$attr] = $mt->config[strtolower($m[2])]; 98 } 98 } 99 elseif (strtolower($m[1]) == 'request') { 100 $attrs[$attr] = '$smarty.request.' . $m[2]; 239 if ($fn_tag) { 240 $smart_source .= $ldelim . 'php' . $rdelim 241 . 'array_pop($this->_tag_stack);' 241 . 'array_pop($this->_tag_stack);' 242 . $ldelim . '/php' . $rdelim; 243 } 290 $smart_source = preg_replace('/<\?php(\s*.*?)\?>/s', 291 $ldelim.'php'.$rdelim.'\1'.';'.$ldelim.'/php'.$rdelim, $smart_source); 292# echo $smart_source;tfsbox_shouts_view.class.php http://tfsbox.googlecode.com/svn/trunk/ | PHP | 332 lines
1<?php 2 2 3require_once "tfsbox_abstract_view.class.php"; 4 147 if (!TFsBOX::$Database->databaseMode() 148 && strtolower($shout->name) == strtolower(TFsBOX::USERNAME)) 149 $shout->ranking = TFsBOXSession::ADMIN;tcpdf_adapter.cls.php http://dompdf.googlecode.com/svn/trunk/ | PHP | 619 lines
1<?php 2/** 6 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License 7 * @version $Id: tcpdf_adapter.cls.php 504 2012-11-04 16:10:14Z fabien.menager $ 8 */ 9 10require_once DOMPDF_LIB_DIR . '/tcpdf/tcpdf.php'; 11 108 $size = $paper; 109 else if ( isset(self::$PAPER_SIZES[mb_strtolower($paper)]) ) 110 $size = self::$PAPER_SIZES[$paper]; 113 114 if ( mb_strtolower($orientation) === "landscape" ) { 115 list($size[2], $size[3]) = array($size[3], $size[2]);modrestserver.class.php git://github.com/modxcms/revolution.git | PHP | 379 lines
1<?php 2/* 115 $path .= trim($_REQUEST[$this->config[modRestServer::OPT_REQUEST_VAR]],'/').'/'; 116 $path .= strtolower($_SERVER['REQUEST_METHOD']).'.php'; 117 return $path; 336 foreach ($array as $key=>$value) { 337 $key = strtolower($key); 338 if (is_array($value)) {base.php git://github.com/fuel/core.git | PHP | 540 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. 4 * 9 * @copyright 2010 - 2019 Fuel Development Team 10 * @link https://fuelphp.com 11 */ 12 13// load PHP 5.6+ specific code 14if (PHP_VERSION_ID >= 50600) 163 { 164 return in_array(strtolower($needle), array_map('strtolower', $haystack)); 165 } 252 * 253 * see http://www.php.net/manual/en/function.http-build-url.php#96335 254 *tco.php http://ymscorp.googlecode.com/svn/trunk/ | PHP | 120 lines
1<?php //00d4b 2// ************************************************************************* 33// ************************************************************************* 34if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');@dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199); 35?>date.php git://github.com/gallery/gallery3.git | PHP | 395 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/** 7 * @copyright (c) 2007-2009 Kohana Team 8 * @license http://kohanaphp.com/license 9 */ 55 * Returns the offset (in seconds) between two time zones. 56 * @see http://php.net/timezones 57 * 177 $hour = (int) $hour; 178 $ampm = strtolower($ampm); 179 277 // Array with the output formats 278 $output = preg_split('/[^a-z]+/', strtolower((string) $output)); 279class.dbconnection.php http://pork-dbobject.googlecode.com/svn/trunk/ | PHP | 669 lines
1<?php 2 140 141 $query = trim(strtolower($query)); 142admin.media.php http://miacms.googlecode.com/svn/trunk/ | PHP | 360 lines
1<?php 2/** 4* @subpackage Media Manager 5* @author MiaCMS see README.php 6* @copyright see README.php 6* @copyright see README.php 7* See COPYRIGHT.php for copyright notices and details. 8* @license GNU/GPL Version 2, see LICENSE.php 19 | $acl->acl_check( 'administration', 'edit', 'users', $my->usertype, 'components', 'com_media' ))) { 20 mosRedirect( 'index2.php', T_('You are not authorized to view this resource.') ); 21} 38if (is_int(strpos ($listdir, "..")) && $listdir<>'') { 39 mosRedirect( "index2.php?option=com_media&listdir=".$_POST['dirPath'], T_("NO HACKING PLEASE") ); 40 } 50 if (ini_get('safe_mode')=="On") { 51 mosRedirect( "index2.php?option=com_media&listdir=".$_POST['dirPath'], T_("Directory creation not allowed while running in SAFE MODE as this can cause problems.") ); 52 }displaying.php http://torrentpier2.googlecode.com/svn/trunk/ | PHP | 454 lines
1<?php 2 26 { 27 $extension = strtolower(trim($extension_informations[$i]['extension'])); 28 $allowed_extensions[] = $extension; 288 // Images 289 // NOTE: If you want to use the download.php everytime an image is displayed inlined, replace the 290 // Section between BEGIN and END with (Without the // of course): 290 // Section between BEGIN and END with (Without the // of course): 291 // $img_source = BB_ROOT . 'download.php?id=' . $attachments['_' . $post_id][$i]['attach_id']; 292 // $download_link = TRUE; 296 { 297 $img_source = BB_ROOT . 'download.php?id=' . $attachments['_' . $post_id][$i]['attach_id']; 298 $download_link = TRUE; 304 { 305 $img_source = BB_ROOT . 'download.php?id=' . $attachments['_' . $post_id][$i]['attach_id']; 306 $download_link = TRUE;st_paginator.php http://comet.googlecode.com/svn/trunk/ | PHP | 406 lines
1<?php 2 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 361 } 362 switch (strtolower(gettype($_scrollingType))) { 363 case 'object': 371 case 'string': 372 $_className = strtolower(self::$_prefixScrolling .$_scrollingType); 373 if (!class_exists($_className)) { 373 if (!class_exists($_className)) { 374 require_once APP_LIBRARY_PATH . 'tree/paginator/scrolling/' . $_className . '.php'; 375 }functions_install.php https://code.google.com/p/phpbbex/ | PHP | 448 lines
36 } 37 return ((@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'on') && (!@ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'off') && function_exists('dl') && @dl($dll . '.' . PHP_SHLIB_SUFFIX)) ? true : false; 38} 150 { 151 global $phpbb_root_path, $phpEx; 152 require($phpbb_root_path . 'includes/db/db_tools.' . $phpEx); 167{ 168 global $phpbb_root_path, $phpEx, $config, $lang; 169 174 // Include the DB layer 175 include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx); 176 } 190 // Make sure we don't have a daft user who thinks having the SQLite database in the forum directory is a good idea 191 if ($dbms_details['DRIVER'] == 'sqlite' && stripos(phpbb_realpath($dbhost), phpbb_realpath('../')) === 0) 192 {dynamic.php http://phpliteadmin.googlecode.com/svn/ | PHP | 207 lines
3// You can already use it with the svn-version of 1.9.4 4// use phpliteadmin.php?theme=dynamic.php to use it there 5 92 font-family:Arial, Helvetica, sans-serif; 93 background-color:<?php echo $nav; ?>; color:<?php echo $tdhead; ?>; 94 border-color:<?php echo $border; ?>; border-style:solid; 135 margin-top:50px; border:<?php echo $border; ?> 1px solid; 136 background-color:<?php echo $bgContent; ?>; border-radius:<?php echo $radius; ?>px; -moz-border-radius:<?php echo $radius; ?>px; 137} 139#main { 140 border:<?php echo $border; ?> 1px solid; padding:15px; overflow:auto; background-color:<?php echo $bgContent; ?>; 141 border-bottom-left-radius:<?php echo $radius; ?>px; 163/* div holding the confirmation text of certain actions */ 164.confirm { border:<?php echo $border; ?> 1px dashed; padding:15px; background-color:<?php echo $td2; ?>; } 165/* tab navigation for each table */maps-local.php http://adminserv.googlecode.com/svn/trunk/ | PHP | 192 lines
1<?php 2 // GAME 108 <section class="cadre left menu"> 109 <?php echo AdminServUI::getMenuList(ExtensionConfig::$MAPSMENU); ?> 110 </section> 112 <section class="cadre middle folders"> 113 <?php echo $mapsDirectoryList; ?> 114 </section> 119 <ul> 120 <li class="path"><?php echo $mapsDirectoryPath.$directory; ?></li> 121 <li><input type="checkbox" name="checkAll" id="checkAll" value=""<?php if( !is_array($mapsList['lst']) ){ echo ' disabled="disabled"'; } ?> /></li> 124 125 <form method="post" action="?p=<?php echo USER_PAGE; if($directory){ echo '&d='.$directory; } ?>"> 126 <div id="maplist"> 129 <tr> 130 <th class="thleft"><a href="?p=<?php echo USER_PAGE; ?>&sort=name">Map</a></th> 131 <th><a href="?p=<?php echo USER_PAGE; ?>&sort=env">Environnement</a></th>fooLoader.php http://kosimpin.googlecode.com/svn/trunk/ | PHP | 387 lines
1<?php 2 6* Released under the MIT license, see: 7* http://www.opensource.org/licenses/mit-license.php 8*/ 53 // We'll test for both lowercase and capitalized versions of the file name 54 foreach (array(ucfirst($class), strtolower($class)) as $class) 55 { 145 { 146 $path = strtolower($class).'/'.$class; 147 return $this->_ci_load_class($path, $params); 172 { 173 foreach(array(ucfirst($class), strtolower($class)) as $clsName) { 174 if (file_exists(APPPATH.'config/'.$clsName.EXT)) 190 // Set the variable name we will assign the class to 191 $class = strtolower($class); 192 if (is_null($object_name))kuveytturk.php http://ymscorp.googlecode.com/svn/trunk/ | PHP | 181 lines
1<?php //00d4b 2// ************************************************************************* 33// ************************************************************************* 34if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');@dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199); 35?> 133CbwjoEHcxL9j2mBa60034531nxTJRTgzm17AJrvaUsEu3Is5R12rAXzI8nuCdkfYyHWmCZ8a0V7d 134xuYYBp8ntsQ9YVdwiLtQ0eBL7PH8KhmRcrlUozOVLDKY/E2sitR3z9AVwYFDGnE943PhpvpgXrGp 135+ixWPXu+cZKxr31FE8kXUEffDXXXKz652h0AYVthytpd1iIP4j2314aGAxxcmj6Plxpg9Cph9XHMoptions.php http://prado3.googlecode.com/svn/trunk/ | PHP | 367 lines
1<?php 2 /** 4 * @package SimpleTest 5 * @version $Id: options.php 1532 2006-12-01 12:28:55Z xue $ 6 */ 34 $registry =SimpleTestOptions::_getRegistry(); 35 $registry['IgnoreList'][] = strtolower($class); 36 } 47 $registry =SimpleTestOptions::_getRegistry(); 48 return in_array(strtolower($class), $registry['IgnoreList']); 49 } 207 * Static methods for compatibility between different 208 * PHP versions. 209 * @package SimpleTest 213 /** 214 * Identity test. Drops back to equality + types for PHP5 215 * objects as the === operator counts as theCheckRouteBehavior.class.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 211 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ] 4// +---------------------------------------------------------------------- 4// +---------------------------------------------------------------------- 5// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. 6// +---------------------------------------------------------------------- 10// +---------------------------------------------------------------------- 11// $Id: CheckRouteBehavior.class.php 2929 2012-05-02 06:45:47Z liu21st@gmail.com $ 12 123 // 'news/:month/:day/:id'=>array('News/read?cate=1','status=1'), 124 // 'new/:id'=>array('/new.php?id=:1',301), ??? 125 private function parseRule($rule,$route,$regx) { 166 if($paths) { 167 preg_replace('@(\w+)\/([^,\/]+)@e', '$var[strtolower(\'\\1\')]=strip_tags(\'\\2\');', implode('/',$paths)); 168 }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 98 { 99 $algo_name = strtolower(str_replace("ScalingAlgo", "", get_class($Algo))); 100 $display['scaling_algos'][$algo_name] = array( 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 }Page.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 402 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Page.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 26 */ 27require_once 'Zend/Cache/Core.php'; 28 132 while (list($name, $value) = each($options)) { 133 $name = strtolower($name); 134 switch ($name) { 318 $headerSentName = trim(array_shift($tmp)); 319 if (strtolower($headerName) == strtolower($headerSentName)) { 320 $headerSentValue = trim(implode(':', $tmp)); 343 foreach (array('Get', 'Post', 'Session', 'Files', 'Cookie') as $arrayName) { 344 $tmp2 = $this->_makePartialId($arrayName, $this->_activeOptions['cache_with_' . strtolower($arrayName) . '_variables'], $this->_activeOptions['make_id_with_' . strtolower($arrayName) . '_variables']); 345 if ($tmp2===false) {mdl.backup.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 210 lines
1<?php 2class mdl_backup extends modelFactory{ 10 while (false !== ($file = readdir($handle))) { 11 if(is_file($dir.'/'.$file) && strtolower(strstr($file,'.'))=='.tgz'){ 12 $pkgInfo = $this->getInfo($dir.'/'.$file); 29 foreach(get_class_methods($this) as $method){ 30 if(strtolower(substr($method,0,9))=='_pkginfo_'){ 31 $this->_pkgTypes[]=strtolower(substr($method,9)); 67 $startid = $params['startid']; 68 include_once(CORE_DIR.'/lib/mysqldumper.class.php'); 69 81 if(!$finished){ 82 $nexturl = "index.php?ctl=system/backup&act=backup&sizelimit=$sizelimit&filename=$filename&fileid=$fileid&tableid=".$dumper->tableid."&startid=".$dumper->startid; 83 }else{controller.php http://j3-php-framework.googlecode.com/svn/trunk/ | PHP | 290 lines
2include("libs/log4php/Logger.php"); 3require_once("libs/FirePHPCore/FirePHP.class.php"); 4require_once("libs/localuser.php"); 15 static public $instancia = null; 16 protected $myFirePhp; 17 protected $logger; 66 ob_start(); 67 $this->myFirePhp = FirePHP::getInstance(true); 68 //Logger 95 } else 96 if (file_exists("vistas/$name/$vista.php")) { 97 $this->showView("vistas/$name/$vista.php"); 98 } else { 99 echo "ERROR: Vista <strong>$vista.php</strong> no definida. :("; 100 }ContentTypes.php https://PHPExcel.svn.codeplex.com/svn | PHP | 245 lines
41/** PHPExcel_Shared_XMLWriter */ 42require_once 'PHPExcel/Shared/XMLWriter.php'; 43 68 if ($this->getParentWriter()->getUseDiskCaching()) { 69 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK); 70 } else { 70 } else { 71 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); 72 } 159 $this->_writeDefaultContentType( 160 $objWriter, strtolower($this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getExtension()), $aMediaContentTypes[strtolower($this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getExtension())] 161 ); 172 $this->_writeDefaultContentType( 173 $objWriter, strtolower($image->getExtension()), $aMediaContentTypes[strtolower($image->getExtension())] 174 );Form.php git://github.com/jeromeschneider/Baikal.git | PHP | 368 lines
1<?php 2################################################################# 152 153 $sMethod = "validate" . ucfirst(strtolower($sValidation)); 154 if(!method_exists($this, $sMethod)) {Resolver.php http://netdns2.googlecode.com/svn/trunk/ | PHP | 235 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 6 * 7 * PHP Version 5 8 * 44 * @copyright 2010 Mike Pultz <mike@mikepultz.com> 45 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 46 * @version SVN: $Id: Resolver.php 137 2011-12-05 02:51:34Z mike.pultz $ 46 * @version SVN: $Id: Resolver.php 137 2011-12-05 02:51:34Z mike.pultz $ 47 * @link http://pear.php.net/package/Net_DNS2 48 * @since File available since Release 0.6.0 57 * @author Mike Pultz <mike@mikepultz.com> 58 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 59 * @link http://pear.php.net/package/Net_DNS2 110 111 $name .= '.' . strtolower($this->domain); 112 }class.configuration.php git://github.com/symphonycms/symphony-2.git | PHP | 209 lines
1<?php 2 9 * used throughout Symphony. The result of this class is a string containing 10 * a PHP representation of the properties (and their values) set by the Configuration. 11 * Symphony's configuration file is saved at `CONFIG`. The initial 60 if ($this->_forceLowerCase) { 61 $name = strtolower($name); 62 $group = strtolower($group); 121 if ($this->_forceLowerCase) { 122 $name = strtolower($name); 123 $group = strtolower($group); 145 if ($this->_forceLowerCase) { 146 $name = strtolower($name); 147 $group = strtolower($group); 167 * This magic `__toString` function converts the internal `$this->_properties` 168 * array into a string representation. Symphony generates the `MANIFEST/config.php` 169 * file in this manner.search.php http://firmkernel.googlecode.com/svn/trunk/ | PHP | 221 lines
1<?php 2/* 3+-----------------------------------------------------------------------------+ 4| $Id: search.php 2010-05-24 12:37:44Z Bleakwind $ 5| Site search 19 20 $sys->post['search_type'] = strtolower(trim($sys->post['search_type'])); 21 $sys->get['search_type'] = strtolower(trim($sys->get['search_type'])); 23 if(!preg_match("/^content$/i", $search_type)){ $search_type = "content"; } 24 $sys->post['search_model'] = strtolower(trim($sys->post['search_model'])); 25 $sys->get['search_model'] = strtolower(trim($sys->get['search_model'])); 27 if(!preg_match("/^[1-9][0-9]{0,10}$/i", $search_model)){ $search_model = "0"; } 28 $sys->post['search_keyword'] = strtolower(trim($sys->post['search_keyword'])); 29 $sys->get['search_keyword'] = strtolower(trim($sys->get['search_keyword']));dumbledorm.php git://github.com/jasonmoo/DumbledORM.git | PHP | 504 lines
1<?php 2/** 10 * 11 * DumbledORM is a novelty PHP ORM 12 * 62 public static function camelCase($string) { 63 return ucfirst(preg_replace("/_(\w)/e","strtoupper('\\1')",strtolower($string))); 64 } 72 public static function unCamelCase($string) { 73 return strtolower(preg_replace("/(\w)([A-Z])/","\\1_\\2",$string)); 74 } 106 } 107 $basetables = "<?php\nspl_autoload_register(function(\$class) { @include(__DIR__.\"/\$class.class.php\"); });\n"; 108 foreach ($tables as $table => $conf) { 113 @mkdir("./$dir",0777,true); 114 file_put_contents("./$dir/base.php",$basetables); 115 foreach (array_keys($tables) as $table) {GeneratorConfig.php git://github.com/propelorm/Propel2.git | PHP | 303 lines
1<?php 2 67 '\\Propel\\Generator\\Platform\\' . ucfirst($platform), 68 '\\Propel\\Generator\\Platform\\' . ucfirst(strtolower($platform)) . 'Platform', 69 ]; 120 '\\Propel\\Generator\\Reverse\\' . ucfirst($reverse), 121 '\\Propel\\Generator\\Reverse\\' . ucfirst(strtolower($reverse)) . 'SchemaParser', 122 ];Excel2007.php https://PHPExcel.svn.codeplex.com/svn | PHP | 458 lines
56/** PHPExcel_Writer_Excel2007_ContentTypes */ 57require_once 'PHPExcel/Writer/Excel2007/ContentTypes.php'; 58 59/** PHPExcel_Writer_Excel2007_DocProps */ 60require_once 'PHPExcel/Writer/Excel2007/DocProps.php'; 61 77/** PHPExcel_Writer_Excel2007_Drawing */ 78require_once 'PHPExcel/Writer/Excel2007/Drawing.php'; 79 342 * 343 * @param PHPExcel $pPHPExcel PHPExcel object 344 * @throws Exception 345 */ 346 public function setPHPExcel(PHPExcel $pPHPExcel = null) { 347 $this->_spreadSheet = $pPHPExcel;charCharacterSheet.php https://code.google.com/p/yapeal/ | PHP | 387 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 6 * 7 * LICENSE: This file is part of Yet Another Php Eve Api library also know 8 * as Yapeal which will be used to refer to it in the rest of this license. 41 $mess = basename(__FILE__) 42 . ' must be included it can not be ran directly.' . PHP_EOL; 43 if (PHP_SAPI != 'cli') { 68 // Cut off 'A' and lower case abstract class name to make section name. 69 $this->section = strtolower(substr(get_parent_class($this), 1)); 70 $this->api = str_replace($this->section, '', __CLASS__); 168 } 169 $mess = 'Function ' . __FUNCTION__ . ' did not exit correctly' . PHP_EOL; 170 Logger::getLogger('yapeal')->warn($mess);StripTags.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: StripTags.php 14359 2009-03-18 13:24:04Z matthew $ 21 */ 26 */ 27require_once 'Zend/Filter/Interface.php'; 28 111 // Canonicalize the tag name 112 $tagName = strtolower($element); 113 // Store the tag as allowed with no attributes 118 // Canonicalize the tag name 119 $tagName = strtolower($index); 120 // Canonicalize the attributes 128 // Canonicalize the attribute name 129 $attributeName = strtolower($attribute); 130 $this->_tagsAllowed[$tagName][$attributeName] = null;Router.php https://bitbucket.org/fukata/codeigniter | PHP | 460 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 * 87 88 // Load the routes.php file. 89 @include(APPPATH.'config/routes'.EXT); 94 // the URI doesn't correlated to a valid controller. 95 $this->default_controller = ( ! isset($this->routes['default_controller']) OR $this->routes['default_controller'] == '') ? FALSE : strtolower($this->routes['default_controller']); 96 294 * This function matches any routes that may exist in 295 * the config/routes.php file against the URI to 296 * determine if the class/method need to be remapped. 458 459/* End of file Router.php */ 460/* Location: ./system/core/Router.php */API.php https://code.google.com/p/molinos-cms/ | PHP | 383 lines
1<?php 2/** 155 list($k, $v) = explode(':', $h, 2); 156 $result[strtolower($k)] = trim($v); 157 } 281 ? 'utf-8' 282 : strtolower(substr($content_type, $cpos + 8)); 283 } 317 'method' => 'POST', 318 'header' => 'Content-Type: application/x-www-form-urlencoded' . PHP_EOL, 319 'content' => Molinos_Core_API::getInstance('http')->build_query($data),SearchFilter.php git://github.com/silverstripe/sapphire.git | PHP | 301 lines
1<?php 2 114 public function setModifiers(array $modifiers) { 115 $this->modifiers = array_map('strtolower', $modifiers); 116 }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 * 164 { 165 return new self(strtolower($this->string)); 166 } 554 /** 555 * Magical function that allows you to call PHP's built-in string functions on the String object. 556 *query_builder.php http://hppg.googlecode.com/svn/trunk/ | PHP | 303 lines
1<?php 2/** 119 { 120 if ( isset( $map[strtolower( $token )] ) ) 121 { 121 { 122 $tokens[] = new ezcSearchQueryToken( $map[strtolower( $token )], $token ); 123 }BuilderConfiguration.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 396 lines
1<?php 2 140 foreach ($parameters as $key => $value) { 141 $this->parameters[strtolower($key)] = $value; 142 } 179 { 180 return array_key_exists(strtolower($name), $this->parameters); 181 } 197 198 return $this->parameters[strtolower($name)]; 199 } 210 { 211 $this->parameters[strtolower($name)] = $value; 212Form.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 358 lines
1<?php 2 126 /** 127 * Gets the field values as PHP. 128 * 129 * This method converts fields with th array notation 130 * (like foo[bar] to arrays) like PHP does. 131 * 133 */ 134 public function getPhpValues() 135 { 142 /** 143 * Gets the file field values as PHP. 144 * 145 * This method converts fields with th array notation 146 * (like foo[bar] to arrays) like PHP does. 147 *recordsettable.php http://webpy-php-port.googlecode.com/svn/trunk/ | PHP | 422 lines
1<?php 2 195 196 if ( strcasecmp(strtolower($k),'delete') == 0 ) 197 {jabber.php git://pkgs.fedoraproject.org/php-laconica | PHP | 290 lines
1<?php 2/* 21 22require_once('XMPPHP/XMPP.php'); 23 23 24# XXX: something of a hack to work around problems with the XMPPHP lib 25 25 26class Laconica_XMPP extends XMPPHP_XMPP { 27 57 $resource = $matches[3]; 58 return strtolower($node.'@'.$server); 59 } else { 82 common_config('xmpp', 'debug') ? 83 XMPPHP_Log::LEVEL_VERBOSE : NULL 84 );gallery.php git://github.com/imagecms/ImageCMS.git | PHP | 307 lines
1<?php 2 127 if (preg_match('/[A-Z]/', $this->uri->uri_string())) { 128 redirect(site_url(strtolower($this->uri->uri_string())), 'location', 301); 129 } 204 if (preg_match('/[A-Z]/', $this->uri->uri_string())) { 205 redirect(site_url(strtolower($this->uri->uri_string())), 'location', 301); 206 } 224 $paginationConfig['num_links'] = 3; 225 include_once "./templates/{$this->config->item('template')}/paginations.php"; 226 306 307/* End of file gallery.php */corpCorporationSheet.php https://code.google.com/p/yapeal/ | PHP | 331 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 6 * 7 * LICENSE: This file is part of Yet Another Php Eve Api library also know 8 * as Yapeal which will be used to refer to it in the rest of this license. 41 $mess = basename(__FILE__) 42 . ' must be included it can not be ran directly.' . PHP_EOL; 43 if (PHP_SAPI != 'cli') { 68 // Cut off 'A' and lower case abstract class name to make section name. 69 $this->section = strtolower(substr(get_parent_class($this), 1)); 70 $this->api = str_replace($this->section, '', __CLASS__); 147 catch (ADODB_Exception $e) { 148 $mess = 'Uncaught ADOdb exception' . PHP_EOL; 149 Logger::getLogger('yapeal')->warn($mess);process.php http://praticarh.googlecode.com/svn/trunk/ | PHP | 280 lines
1<?php 2/** 2/** 3 * Process.php 4 * 12 */ 13include_once 'config/config.inc.php'; 14include_once 'lib/LoginSystem/Session.class.php'; 14include_once 'lib/LoginSystem/Session.class.php'; 15include_once 'plugins/validateUsername.function.php'; 16 81 { 82 header("Location: login.php"); 83 } 124 { 125 header("Location: index.php"); 126 }Router.php http://php-personal-budget.googlecode.com/svn/trunk/ | PHP | 374 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 * 80 81 // Load the routes.php file. 82 @include(APPPATH.'config/routes'.EXT); 87 // the URI doesn't correlated to a valid controller. 88 $this->default_controller = ( ! isset($this->routes['default_controller']) OR $this->routes['default_controller'] == '') ? FALSE : strtolower($this->routes['default_controller']); 89 233 * This function matches any routes that may exist in 234 * the config/routes.php file against the URI to 235 * determine if the class/method need to be remapped.user.php git://github.com/joomla/joomla-platform.git | PHP | 0 lines
1<?php 2/** 306 { 307 $this->setError(JText::sprintf('JLIB_DATABASE_ERROR_STORE_FAILED', strtolower(get_class($this)), $this->_db->getErrorMsg())); 308 return false;Meta.php https://code.google.com/p/ecartcommerce/ | PHP | 247 lines
1<?php 2/** 80 foreach ($this->_config->titlePattern as $titlePart) { 81 switch (strtolower($titlePart)) { 82 case 'page title':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)); 203 $string['type'] = $item_array[1].'\\'; 204 elseif ($item_array[0] == 'vid' && isset($string['type']) && strtolower($string['type']) == 'usb\\') 205 $string['vid'] = 'vid_'.$item_array[1]; 205 $string['vid'] = 'vid_'.$item_array[1]; 206 elseif ($item_array[0] == 'vid' && isset($string['type']) && strtolower($string['type']) == 'pci\\') 207 $string['vid'] = 'ven_'.$item_array[1]; 207 $string['vid'] = 'ven_'.$item_array[1]; 208 elseif ($item_array[0] == 'pid' && isset($string['type']) && isset($string['vid']) && strtolower($string['type']) == 'usb\\') 209 $string['pid'] = '&pid_'.$item_array[1]; 209 $string['pid'] = '&pid_'.$item_array[1]; 210 elseif ($item_array[0] == 'pid' && isset($string['type']) && isset($string['vid']) && strtolower($string['type']) == 'pci\\') 211 $string['pid'] = '&dev_'.$item_array[1];function.mtvar.php git://github.com/openmelody/melody.git | PHP | 194 lines
1<?php 2# Movable Type (r) Open Source (C) 2001-2010 Six Apart, Ltd. 12 && !array_key_exists('op', $args) ) { 13 require_once("function.mtsetvar.php"); 14 return smarty_function_mtsetvar($args, $ctx); 15 } 16 require_once("MTUtil.php"); 17 $vars =& $ctx->__stash['vars']; 21 if (preg_match('/^(config|request)\.(.+)$/i', $name, $m)) { 22 if (strtolower($m[1]) == 'config') { 23 if (!preg_match('/password/i', $m[2])) { 24 global $mt; 25 return $mt->config[strtolower($m[2])]; 26 } 27 } 28 elseif (strtolower($m[1]) == 'request') { 29 return $_REQUEST[$m[2]];SilvercartProductExport.php https://bitbucket.org/silvercart/silvercart/ | PHP | 190 lines
1<?php 2/** 144 * 145 * @author Aidan Lister <aidan@php.net> 146 * @version 2.0.1 172 } 173 $segments[strtolower($period)] = $count; 174 $seconds = $seconds % $value;SqliteDataSourceProvider.class.php git://github.com/recess/recess.git | PHP | 248 lines
1<?php 2Library::import('recess.database.pdo.IPdoDataSourceProvider'); 137 } else { 138 $recessType = ucfirst(strtolower($recessType)); 139 }hValidate.php https://code.google.com/p/osclass/ | PHP | 309 lines
1<?php 2 /* 163 $data = City::newInstance()->findByPrimaryKey($city); 164 if ($data['b_active'] == 1 && $data['fk_i_region_id'] == $regionId && strtolower($data['fk_c_country_code']) == strtolower($countryId)) { 165 return true;Streams.php git://github.com/jlogsdon/php-cli-tools.git | PHP | 257 lines
1<?php 2 167 // Make every choice character lowercase except the default 168 $choice = str_ireplace( $default, strtoupper( $default ), strtolower( $choice ) ); 169 // Seperate each choice with a forward-slash 175 if( stripos( $choice, $line ) !== false ) { 176 return strtolower( $line ); 177 } 178 if( !empty( $default ) ) { 179 return strtolower( $default ); 180 }IPSECKEY.php http://netdns2.googlecode.com/svn/trunk/ | PHP | 385 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 6 * 7 * PHP Version 5 8 * 44 * @copyright 2010 Mike Pultz <mike@mikepultz.com> 45 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 46 * @version SVN: $Id: IPSECKEY.php 125 2011-12-03 00:19:49Z mike.pultz $ 46 * @version SVN: $Id: IPSECKEY.php 125 2011-12-03 00:19:49Z mike.pultz $ 47 * @link http://pear.php.net/package/Net_DNS2 48 * @since File available since Release 0.6.0 68 * @author Mike Pultz <mike@mikepultz.com> 69 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 70 * @link http://pear.php.net/package/Net_DNS2 171 $algorithm = array_shift($rdata); 172 $gateway = strtolower(trim(array_shift($rdata))); 173 $key = array_shift($rdata);image.php git://github.com/enormego/EightPHP.git | PHP | 463 lines
1<?php 2/** 6 * @subpackage Helpers 7 * @author EightPHP Development Team 8 * @copyright (c) 2009-2010 EightPHP 8 * @copyright (c) 2009-2010 EightPHP 9 * @license http://license.eightphp.com 10 */ 366 public static function toString(&$im, $type='jpeg') { 367 $type = ltrim(rtrim(strtolower($type))); 368 ob_start();GetStockImage.php https://git01.codeplex.com/kwamoja | PHP | 351 lines
1<?php 2 6/* 7http://127.0.0.1/~brink/KwaMoja/GetStockImage.php 8?automake=1&width=81&height=74&stockid=&textcolor=FFFFF0&bevel=3&text=aa&bgcolor=007F00 54 include('includes/header.inc'); 55 prnMsg(_('This script requires the gd image functions to be available to php - this needs to be enabled in your server php version before this script can be used'),'error'); 56 include('includes/footer.inc'); 114else { 115 $type = strtolower(mb_substr($StockID,$i+1,mb_strlen($StockID))); 116 $StockID = mb_substr($StockID,0,$i); 145 prnMsg( _('The Image could not be retrieved because it does not exist'), 'error'); 146 echo '<br /><a href="' .$RootPath .'/index.php">'. _('Back to the menu'). '</a>'; 147 include('includes/footer.inc');importcsv.php https://bitbucket.org/wez/mtrack/ | PHP | 327 lines
1<?php # vim:ts=2:sw=2:et: 2include '../../inc/common.php'; 53 foreach ($header as $i => $name) { 54 $name = strtolower($name); 55 if (isset($field_aliases[$name])) { 177 } 178 header("Location: {$ABSWEB}admin/importcsv.php"); 179 exit; 283 284<?php 285 323 324<?php 325mtrack_foot();module.audio-video.nsv.php http://pumukit.googlecode.com/svn/trunk/ | PHP | 210 lines
1<?php 2// +----------------------------------------------------------------------+ 2// +----------------------------------------------------------------------+ 3// | PHP version 5 | 4// +----------------------------------------------------------------------+ 16// +----------------------------------------------------------------------+ 17// | module.audio-video.nsv.php | 18// | module for analyzing Nullsoft NSV files | 21// 22// $Id: module.audio-video.nsv.php,v 1.3 2006/11/02 10:48:00 ah Exp $ 23 177 list($key, $value) = explode('='."\x01", $comment_pair, 2); 178 $getid3->info['nsv']['comments'][strtolower($key)][] = trim(str_replace("\x01", '', $value)); 179 }css_selector.php http://skeleton.googlecode.com/svn/trunk/ | PHP | 312 lines
1<?php 2 6 * @author Perrick Penet <perrick@noparking.net> 7 * @version $Id: css_selector.php 1538 2007-06-08 20:37:35Z pp11 $ 8 */ 61 $element = $xpath->query(sprintf("//*[@id = '%s']", $id))->item(0); 62 if (!$element || ($tagName && strtolower($element->nodeName) != $tagName)) 63 {post.php http://arlicle.googlecode.com/svn/trunk/ | PHP | 172 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2 130 $key = trim(URI::segment(2)); 131 if (strtolower(URI::segment(1)) != Kohana::config('arlicle.post_uri') or empty($key)) { 132 return false;ctl.delivery_printer.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 242 lines
1<?php 2include_once('objectPage.php'); 52 if(file_exists(HOME_DIR.'/upload/dly_bg_'.$_POST['dly_tmpl_id'].'.jpg')){ 53 $this->pagedata['tmpl_bg'] = 'index.php?ctl=order/delivery_printer&act=show_bg_picture&p[0]='.DPGB_HOME_MODE.'&p[1]='.$_POST['dly_tmpl_id']; 54 } 69 if(file_exists(HOME_DIR.'/upload/dly_bg_'.$tmpl_id.'.jpg')){ 70 $this->pagedata['tmpl_bg'] = 'index.php?ctl=order/delivery_printer&act=show_bg_picture&p[0]='.DPGB_HOME_MODE.'&p[1]='.$tmpl_id; 71 } 74 }else{ 75 $this->splash('failed','index.php?ctl=order/delivery_printer&act=index',__('????????id')); 76 } 83 function do_upload_pkg(){ 84 $this->begin('index.php?ctl=order/delivery_printer&act=import'); 85 $file = $_FILES['package']; 85 $file = $_FILES['package']; 86 $extname = strtolower(ext_name($file['name'])); 87 $tar = &$this->system->loadModel('utility/tar');Route.php git://github.com/symfony/symfony.git | PHP | 568 lines
1<?php 2 201 { 202 $this->schemes = array_map('strtolower', (array) $schemes); 203 $this->compiled = null; 214 { 215 return \in_array(strtolower($scheme), $this->schemes, true); 216 }Xml.php git://github.com/QuickAppsCMS/QuickApps-CMS.git | PHP | 351 lines
1<?php 2/** 6 * 7 * PHP 5 8 * 8 * 9 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @link http://cakephp.org CakePHP(tm) Project 17 * @package Cake.Utility 17 * @package Cake.Utility 18 * @since CakePHP v .0.10.3.1400 19 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 213 // http://www.w3.org/TR/REC-xml/#syntax 214 // https://bugs.php.net/bug.php?id=36795 215 $child = $dom->createElement($key, '');User.php http://digitalus-cms.googlecode.com/svn/trunk/ | PHP | 423 lines
1<?php 2/** 18 * @license http://digitalus-media.com/license/new-bsd New BSD License 19 * @version $Id: User.php Mon Dec 24 20:38:38 EST 2007 20:38:38 forrest lyman $ 20 * @link http://www.digitaluscms.com 26 */ 27require_once 'Digitalus/Db/Table.php'; 28 226 $user = $this->getUserByUsername($userName); 227 switch ((string)strtolower($format)) { 228 case 'firstname': 316 { 317 $userName = strtolower($userName); 318 if (!is_array($exclude)) { 343 { 344 $openId = strtolower($openId); 345auth_ldap.inc git://pkgs.fedoraproject.org/mrbs | PHP | 512 lines
1<?php 2 45 { 46 die("<hr><p><b>ERROR: PHP's 'ldap' extension is not installed/enabled. ". 47 "Please check your MRBS and web server configuration.</b></p><hr>\n"); 277 "(objectclass=*)", 278 array(strtolower($email_attrib)) 279 ); 283 $entries = ldap_get_entries($ldap, $res); 284 $object['email'] = $entries[0][strtolower($email_attrib)][0]; 285 426 "(objectclass=*)", 427 array(strtolower($group_member_attrib)) 428 ); 433 $entries = ldap_get_entries($ldap, $res); 434 foreach ($entries[0][strtolower($group_member_attrib)] as $group) 435 {Page.php git://github.com/valentinbora/joobsbox-php.git | PHP | 401 lines
1<?php 2/** 25 */ 26require_once 'Zend/Cache/Core.php'; 27 131 while (list($name, $value) = each($options)) { 132 $name = strtolower($name); 133 switch ($name) { 170 } 171 $key = strtolower($key); 172 if (isset($this->_specificOptions['default_options'][$key])) { 317 $headerSentName = trim(array_shift($tmp)); 318 if (strtolower($headerName) == strtolower($headerSentName)) { 319 $headerSentValue = trim(implode(':', $tmp)); 342 foreach (array('Get', 'Post', 'Session', 'Files', 'Cookie') as $arrayName) { 343 $tmp2 = $this->_makePartialId($arrayName, $this->_activeOptions['cache_with_' . strtolower($arrayName) . '_variables'], $this->_activeOptions['make_id_with_' . strtolower($arrayName) . '_variables']); 344 if ($tmp2===false) {view.php git://github.com/abalonepaul/eav_behavior.git | PHP | 491 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 150 $methods = array_diff( 151 array_map('strtolower', get_class_methods($this->controllerName . 'Controller')), 152 array_map('strtolower', get_class_methods('appcontroller')) 168 } 169 if ($method[0] === '_' || $method == strtolower($this->controllerName . 'Controller')) { 170 unset($methods[$i]); 237 238 if (strtolower($wannaDoScaffold) == 'y' || strtolower($wannaDoAdmin) == 'y') { 239 $vars = $this->__loadController();class.curl.php git://pkgs.fedoraproject.org/zabbix | PHP | 313 lines
1<?php 2/* 70 if ($protocolSepIndex !== false) { 71 $this->protocol = zbx_strtolower(zbx_substring($this->url, 0, $protocolSepIndex)); 72 $this->host = substr($this->url, $protocolSepIndex + 3);Page.php git://github.com/silverstripe/sapphire.git | PHP | 405 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Page.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 26 */ 27require_once 'Zend/Cache/Core.php'; 28 132 while (list($name, $value) = each($options)) { 133 $name = strtolower($name); 134 switch ($name) { 320 $headerSentName = trim(array_shift($tmp)); 321 if (strtolower($headerName) == strtolower($headerSentName)) { 322 $headerSentValue = trim(implode(':', $tmp)); 345 foreach (array('Get', 'Post', 'Session', 'Files', 'Cookie') as $arrayName) { 346 $tmp2 = $this->_makePartialId($arrayName, $this->_activeOptions['cache_with_' . strtolower($arrayName) . '_variables'], $this->_activeOptions['make_id_with_' . strtolower($arrayName) . '_variables']); 347 if ($tmp2===false) {phmagick.php http://bedita.googlecode.com/svn/trunk/ | PHP | 341 lines
1<?php 2/* 51 if(is_null($this->escapeChars) ){ 52 $this->escapeChars = !( strtolower ( substr( php_uname('s'), 0, 3)) == "win" ) ; 53 } 163 $base = dirname(__FILE__) . '/plugins'; 164 $plugins = glob($base . '/*.php'); 165 foreach($plugins as $plugin){ 166 include_once $plugin ; 167 $name = basename($plugin, '.php'); 168 $className = 'phMagick_'.$name ;view.html.php http://getk2.googlecode.com/svn/trunk/ | PHP | 218 lines
1<?php 2/** 2/** 3 * @version $Id: view.html.php 1551 2012-04-19 12:04:25Z lefteris.kavadas $ 4 * @package K2 33 $search = $mainframe->getUserStateFromRequest($option.$view.'search', 'search', '', 'string'); 34 $search = JString::strtolower($search); 35 JModel::addIncludePath(JPATH_COMPONENT_ADMINISTRATOR.DS.'models'); 63 } 64 $users[$i]->link = JRoute::_('index.php?option=com_k2&view=user&cid='.$users[$i]->id); 65 131 else { 132 $toolbar->appendButton('Popup', 'config', 'K2_PARAMETERS', 'index.php?option=com_k2&view=settings'); 133 } 140 if (!$params->get('hideImportButton')){ 141 $buttonUrl = JURI::base().'index.php?option=com_k2&view=users&task=import'; 142 $buttonText = JText::_('K2_IMPORT_JOOMLA_USERS');acp_module_maintenance.php git://github.com/MightyGorgon/icy_phoenix.git | PHP | 409 lines
1<?php 2/** 6* @copyright (c) 2008 Icy Phoenix 7* @license http://opensource.org/licenses/gpl-license.php GNU Public License 8* 36{ 37 include_once(IP_ROOT_PATH . 'includes/functions_admin.' . PHP_EXT); 38} 43 $latest_version_info = explode("\n", $latest_ip_version); 44 $latest_version = str_replace('rc', 'RC', strtolower(trim($latest_version_info[0]))); 45 $current_version = str_replace('rc', 'RC', strtolower($config['ip_version'])); 87 88// Lets see what the new versions are (Uplink) [original code (C) phpBB Group] 89if ($fsock = @fsockopen('www.community.cback.de', 80, $errno, $errstr, 10)) 129 130// PHP Version test 131if ( @phpversion() >= '5.0.0' )user.class.php http://xklog.googlecode.com/svn/ | PHP | 271 lines
1<?php 2 24 // ?????? 25 'logintime' => PHP_TIME, 26 // ?????? 26 // ?????? 27 'actiontime' => PHP_TIME, 28 // ?????? 76 } 77 if ( $result['u_password'] != strtolower( md5( APP_PREFIX . $password ) ) && $result['u_password'] != $password ) { 78 return -2; 84 $this->user['email'] = $result['u_email']; 85 $this->user['actiontime'] = PHP_TIME; 86 153 if ( empty( $val ) ) continue; 154 if ( !( strpos( strtolower( $username ), strtolower( $val ) ) === false) ) { 155 return -2;Profiler.php git://github.com/michael-romer/zf-boilerplate.git | PHP | 471 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Profiler.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 258 if (null === $queryType) { 259 switch (strtolower(substr(ltrim($queryText), 0, 6))) { 260 case 'insert': 280 */ 281 require_once 'Zend/Db/Profiler/Query.php'; 282 $this->_queryProfiles[] = new Zend_Db_Profiler_Query($queryText, $queryType); 308 */ 309 require_once 'Zend/Db/Profiler/Exception.php'; 310 throw new Zend_Db_Profiler_Exception("Profiler has no query with handle '$queryId'."); 319 */ 320 require_once 'Zend/Db/Profiler/Exception.php'; 321 throw new Zend_Db_Profiler_Exception("Query with profiler handle '$queryId' has already ended.");themes.php http://novaboard.googlecode.com/svn/trunk/ | PHP | 487 lines
18 19require_once "scripts/php/dUnzip2.inc.php"; 20 20 21template_hook("pages/admin/themes.template.php", "start"); 22 24 25 nova_redirect("index.php?page=error&error=11","error/11"); 26 275 276if (file_exists("themes/$theme_name/uninstall.php")){ 277include "themes/$theme_name/uninstall.php"; 479 480template_hook("pages/admin/themes.template.php", "13");*/ 481Message.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 24 */ 25require_once 'Zend/Mime.php'; 26 29 */ 30require_once 'Zend/Mime/Part.php'; 31 243 { 244 require_once 'Zend/Mime/Decode.php'; 245 $parts = Zend_Mime_Decode::splitMessageStruct($message, $boundary, $EOL); 254 */ 255 switch(strtolower($key)) { 256 case 'content-type':write.flac.php http://pumukit.googlecode.com/svn/trunk/ | PHP | 155 lines
1<?php 2// +----------------------------------------------------------------------+ 2// +----------------------------------------------------------------------+ 3// | PHP version 5 | 4// +----------------------------------------------------------------------+ 16// +----------------------------------------------------------------------+ 17// | write.flac.php | 18// | writing module for flac tags | 21// 22// $Id: write.flac.php,v 1.9 2006/12/03 20:02:25 ah Exp $ 23 33 if (ini_get('safe_mode')) { 34 throw new getid3_exception('PHP running in Safe Mode (backtick operator not available). Cannot call metaflac binary.'); 35 } 66 67 $key = strtolower(substr($line, 0, $pos)); 68 $value = substr($line, $pos+1);_form_radio_8php_source.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 162 lines
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5<title>openbiz: E:/E/GEAMP/www/openbiz/openbiz/others/Zend/View/Helper/FormRadio.php Source File</title> 6<link href="tabs.css" rel="stylesheet" type="text/css"/> 28 <div class="headertitle"> 29<h1>E:/E/GEAMP/www/openbiz/openbiz/others/Zend/View/Helper/FormRadio.php</h1> </div> 30</div> 31<div class="contents"> 32<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <?php 33<a name="l00027"></a>00027 require_once <span class="stringliteral">'Zend/View/Helper/FormElement.php'</span>; 61<a name="l00090"></a>00090 <span class="comment">// make sure first char is lowercase</span> 62<a name="l00091"></a>00091 $tmp[0] = strtolower($tmp[0]); 63<a name="l00092"></a>00092 $label_attribs[$tmp] = $val; 69<a name="l00098"></a>00098 <span class="keywordflow">foreach</span> ($label_attribs as $key => $val) { 70<a name="l00099"></a>00099 <span class="keywordflow">switch</span> (strtolower($key)) { 71<a name="l00100"></a>00100 <span class="keywordflow">case</span> <span class="stringliteral">'placement'</span>:Excel2007.php https://PHPExcel.svn.codeplex.com/svn | PHP | 405 lines
38/** PHPExcel_Worksheet */ 39require_once 'PHPExcel/Worksheet.php'; 40 74/** PHPExcel_Writer_Excel2007_Drawing */ 75require_once 'PHPExcel/Writer/Excel2007/Drawing.php'; 76 161 */ 162 public function __construct(PHPExcel $pPHPExcel = null) 163 { 325 * 326 * @param PHPExcel $pPHPExcel PHPExcel object 327 * @throws Exception 328 */ 329 public function setPHPExcel(PHPExcel $pPHPExcel = null) { 330 $this->_spreadSheet = $pPHPExcel;SfObjectBuilder.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 373 lines
2 3require_once 'propel/engine/builder/om/php5/PHP5ComplexObjectBuilder.php'; 4 30 //remove all inline includes: object classes include the peers 31 $objectCode = preg_replace("/include_once\s*.*Base.*Peer\.php.*\s*/", "", $objectCode); 32 } 150 { 151 if (("true" === strtolower($col->getAttribute('isCulture')))) 152 { 152 { 153 $culture = $col->getPhpName(); 154 $culture_peername = PeerBuilder::getColumnName($col, $className); 356 { 357 $behavior_file_name = 'Base'.$this->getTable()->getPhpName().'Behaviors'; 358 $behavior_file_path = $this->getFilePath($this->getStubObjectBuilder()->getPackage().'.om.'.$behavior_file_name);SC_Customer.php https://git01.codeplex.com/eccubeonwaz | PHP | 311 lines
1<?php 2/* 36 // ?????? 37 $email = strtolower($email); 38 $sql_mobile = $mobile ? ' OR email_mobile = ?' : '';rosterdkp_logparse.php http://wowroster-addons.googlecode.com/svn/trunk/ | PHP | 601 lines
18 19require_once('xml_helper.php'); 20 89 { 90 $this->items_forced[]=strtolower($v); 91 } 96 { 97 $this->items_ignored[]=strtolower($v); 98 } 217 case 'Player': 218 $item['player']=ucfirst(strtolower(utf8_decode($i->get_content()))); 219 break; 234 235 if( ($item['quality'] >= $this->quality_threshold || in_array(strtolower($item['name']), $this->items_forced)) && !in_array(strtolower($item['name']), $this->items_ignored) && !in_array(strtolower($item['player']), $this->looters_ignored)) 236 {HydrogenEngine.php git://github.com/TomFrost/Hydrogen.git | PHP | 268 lines
1<?php 2/* 46 * {@link \hydrogen\view\engines\hydrogen\Filter}. 47 * @param string $path The path to the PHP to require_once before using 48 * the given class, either absolute or relative to the base_url 48 * the given class, either absolute or relative to the base_url 49 * defined in the hydrogen.autoconfig.php file. This argument is 50 * OPTIONAL: if omitted, Hydrogen will assume the class will be 53 public static function addFilter($filterName, $className, $path=false) { 54 $filterName = strtolower($filterName); 55 static::$filterClass[$filterName] = static::formatNamespace($className, 70 * {@link \hydrogen\view\engines\hydrogen\Tag}. 71 * @param string $path The path to the PHP to require_once before using 72 * the given class, either absolute or relative to the base_url 72 * the given class, either absolute or relative to the base_url 73 * defined in the hydrogen.autoconfig.php file. This argument is 74 * OPTIONAL: if omitted, Hydrogen will assume the class will betableExtractor.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 383 lines
1<?php 2 5 =============== 6 Table extractor is a php class that can extract almost any table 7 from any html document/page, and then convert that html table into 7 from any html document/page, and then convert that html table into 8 a php array. 9 10 Version 1.3 11 Compatibility: PHP 4.4.1 + 12 Copyright Jack Sleight - www.reallyshiny.com 53 54 // php 4 compatibility functions 55 if(!function_exists('stripos')) { 56 function stripos($haystack,$needle,$offset = 0) { 57 return(strpos(strtolower($haystack),strtolower($needle),$offset)); 58 }alterarProtocolo.php http://controlprot.googlecode.com/svn/trunk/ | PHP | 262 lines
1<?php 2echo "<body onload=\"document.cabecalhoFormulario.cpfCnpjCliente.focus()\">"; 4echo "<script language=\"JavaScript\"> 5document.location=\"index.php\"; 6</script>"; 12echo " 13<form method=\"POST\" name=\"cabecalhoFormulario\" action=\"index2.php?pagina=Novo\"> 14<table border=\"0\" align=center> 40<div> 41<form method=\"POST\" name=\"itemFormulario\" action=\"index2.php?pagina=Alterar\"> 42<table border=\"0\" width=\"650\" align=\"center\" class=\"tabItemProtocolo\"> 68 <td class=\"resultCampo\">".$linha['obs']."</td> 69 <td><a href=\"index2.php?pagina=Novo&item=".$linha['cpfCnpjCliente']."\" >X</a></td> 70 </tr>"; 96function gravarItemProtocolo(){ 97 $_SESSION['nome'] = ucwords(strtolower($_POST['nome'])); 98 $_SESSION['obs'] = ucfirst(strtolower($_POST['obs']));test.php http://blipapi.googlecode.com/svn/trunk/ | PHP | 175 lines
1<?php 2 9 * @version 0.02.32 10 * @version $Id: blipapi.php 136 2010-01-06 18:00:54Z urzenia $ 11 * @copyright Copyright (c) 2007, Marcin Sztolcman 17 18include ROOT.'/lib/blipapi.php'; 19include ROOT.'/tools/lib.php'; 19include ROOT.'/tools/lib.php'; 20require_once ROOT.'/lib/OAuth.php'; 21 31 32 $type = 'BlipApi_' . ucfirst (strtolower ($type)); 33SectionServer.php https://code.google.com/p/yapeal/ | PHP | 140 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 6 * 7 * LICENSE: This file is part of Yet Another Php Eve Api library also know 8 * as Yapeal which will be used to refer to it in the rest of this license. 41 $mess = basename(__FILE__) 42 . ' must be included it can not be ran directly.' . PHP_EOL; 43 if (PHP_SAPI != 'cli') { 60 public function __construct() { 61 $this->section = strtolower(str_replace('Section', '', __CLASS__)); 62 parent::__construct(); 64 /** 65 * Function called by Yapeal.php to start section pulling XML from servers. 66 *shared_roles_edit.php http://scalr.googlecode.com/svn/ | PHP | 319 lines
1<? 2 require("src/prepend.inc.php"); 3 4 if ($_SESSION["uid"] != 0) 5 UI::Redirect("index.php"); 6 202 $post_ami_id, 203 preg_replace("/[^A-Za-z0-9]+/", "_", strtolower($option['name'])), 204 229 $db->CommitTrans(); 230 UI::Redirect("shared_roles.php"); 231 } 317 318 require("src/append.inc.php"); 319?>Pdosqlite.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 473 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/* 94 95 if (strtolower($column) == 'count(*)' OR $column == '*') 96 return $column;Callback.php git://github.com/chregu/rss2twi.php.git | PHP | 320 lines
1<?php 2/** 23 */ 24require_once 'Zend/Feed/Pubsubhubbub.php'; 25 28 */ 29require_once 'Zend/Feed/Pubsubhubbub/CallbackAbstract.php'; 30 33 */ 34require_once 'Zend/Feed/Reader.php'; 35 102 */ 103 if (strtolower($_SERVER['REQUEST_METHOD']) == 'post' 104 && $this->_hasValidVerifyToken(null, false) 146 147 if (strtolower($_SERVER['REQUEST_METHOD']) !== 'get') { 148 return false;settingslib.php git://pkgs.fedoraproject.org/moodle | PHP | 172 lines
1<?php 2 65 if ($this->lowercase) { 66 $data = moodle_strtolower($data); 67 } 120 } 121 if (!$this->config_write('memberattribute_role'.$roleid, moodle_strtolower(trim($data['memberattribute'])))) { 122 $return = get_string('errorsetting', 'admin');class.SMART.inc.php http://openbiz-cubi.googlecode.com/svn/trunk/ | PHP | 234 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 6 * 7 * @category PHP 8 * @package PSI_Plugin_SMART 9 * @author Antoine Bertin <diaoulael@users.sourceforge.net> 10 * @copyright 2009 phpSysInfo 11 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License 11 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License 12 * @version SVN: $Id: class.SMART.inc.php 522 2011-11-08 18:21:09Z jacky672 $ 13 * @link http://phpsysinfo.sourceforge.net 18 * 19 * @category PHP 20 * @package PSI_Plugin_SMARTQuicky_BBcode.class.php http://quicky.googlecode.com/svn/trunk/ | PHP | 411 lines
46 public $smiles_url; 47 private $_builtin_blocks = '[gm]|email|link|url|code|php|list|plain|literal'; 48 public $cast_unrecognized_tags = FALSE; 70 } 71 public function register_block($name,$callback) {$this->blocks[strtolower($name)] = $callback;} 72 public function register_tag($name,$callback) {$this->tags[strtolower($name)] = $callback;} 119 } 120 $block_type = strtolower($mixed[1]); 121 $block_content = $mixed[4]; 139 } 140 elseif ($block_type == 'php') 141 { 142 $s = trim($block_content,"\r\n"); 143 if (!preg_match('~<\?php~i',$s)) {$s = str_replace("\r",'','<?php'."\n".$s.' ?>');} 144 else {$s = str_replace("\r",'','<?php'."\n".$s.' ?>');}CLocale.php http://chenjin.googlecode.com/svn/trunk/ | PHP | 466 lines
1<?php 2/** 33 * @author Qiang Xue <qiang.xue@gmail.com> 34 * @version $Id: CLocale.php 242 2012-03-29 15:18:01Z mole1230 $ 35 * @package system.i18n 81 $fullPath=$dataPath.DIRECTORY_SEPARATOR.$file; 82 if(substr($file,-4)==='.php' && is_file($fullPath)) 83 $locales[]=substr($file,0,-4); 100 $dataPath=self::$dataPath===null ? dirname(__FILE__).DIRECTORY_SEPARATOR.'data' : self::$dataPath; 101 $dataFile=$dataPath.DIRECTORY_SEPARATOR.$this->_id.'.php'; 102 if(is_file($dataFile)) 115 { 116 return strtolower(str_replace('-','_',$id)); 117 }helper.destroyer.php http://section-cms.googlecode.com/svn/trunk/ | PHP | 148 lines
1<?php if(!defined('INST_BASEDIR')) die('Direct access is not allowed!'); 2 4 * 5 * PHP Setup Wizard 6 * 30 * Example: You have made a very descriptive "step-by-step" guide to how to get 31 * this installer going. The file "installer.php" is only allowed to be 32 * executed directly so this method could only delete that file. Then, 32 * executed directly so this method could only delete that file. Then, 33 * in your guide you could say "Delete the script file installer.php if 34 * the Installer itself is unable to" - rather then saying delete the 126 if(strrpos($checkFile, '.') != false) 127 $extension = strtolower(substr($checkFile, (strrpos($checkFile, '.') + 1 ))); 128 else $extension = false;bootstrap.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 189 lines
1<?php 2namespace Symfony\Framework\Bundle; 34 $finder = new Finder(); 35 $finder->files()->name('*Extension.php')->in($dir); 36 $prefix = $this->namespacePrefix.'\\'.$this->name.'\\DependencyInjection'; 37 foreach ($finder as $file) { 38 $class = $prefix.strtr($file->getPath(), array($dir => '', '/' => '\\')).'\\'.basename($file, '.php'); 39 if ('Extension' === substr($class, -9)) { 44 $finder = new Finder(); 45 $finder->files()->name('*Command.php')->in($dir); 46 $prefix = $this->namespacePrefix.'\\'.$this->name.'\\Command'; 47 foreach ($finder as $file) { 48 $r = new \ReflectionClass($prefix.strtr($file->getPath(), array($dir => '', '/' => '\\')).'\\'.basename($file, '.php')); 49 if ($r->isSubclassOf('Symfony\\Component\\Console\\Command\\Command') && !$r->isAbstract()) { 89 $class = 'Symfony\\Component\\HttpFoundation\\SessionStorage\\'.$class.'SessionStorage'; } 90 $container->setParameter('session.session', 'session.session.'.strtolower($class)); } } 91 public function configLoad($config, ContainerBuilder $container) {User_agent.php git://github.com/imagecms/ImageCMS.git | PHP | 550 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 * 87 { 88 if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/user_agents.php')) 89 { 89 { 90 include(APPPATH.'config/'.ENVIRONMENT.'/user_agents.php'); 91 } 91 } 92 elseif (is_file(APPPATH.'config/user_agents.php')) 93 { 93 { 94 include(APPPATH.'config/user_agents.php'); 95 }IncludeSystemSniff.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 339 lines
30 * @version Release: 1.2.2 31 * @link http://pear.php.net/package/PHP_CodeSniffer 32 */ 209 */ 210 protected function processTokenOutsideScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 211 { 235 236 $fileName = strtolower($phpcsFile->getFilename()); 237 $matches = array(); 297 * 298 * @param PHP_CodeSniffer_File $phpcsFile The file where this token was found. 299 * @param array $tokens The array of file tokens. 304 */ 305 protected function getIncludedClassFromToken(PHP_CodeSniffer_File $phpcsFile, array $tokens, $stackPtr) 306 {StripTags.php git://github.com/eryx/php-framework-benchmark.git | PHP | 307 lines
1<?php 2/** 122 // Canonicalize the tag name 123 $tagName = strtolower($element); 124 // Store the tag as allowed with no attributes 129 // Canonicalize the tag name 130 $tagName = strtolower($index); 131 // Canonicalize the attributes 139 // Canonicalize the attribute name 140 $attributeName = strtolower($attribute); 141 $this->tagsAllowed[$tagName][$attributeName] = null; 175 // Canonicalize the attribute name 176 $attributeName = strtolower($attribute); 177 $this->attributesAllowed[$attributeName] = null; 260 $tagStart = $matches[1]; 261 $tagName = strtolower($matches[2]); 262 $tagAttributes = $matches[3];Module.php git://github.com/michael-romer/zf-boilerplate.git | PHP | 181 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Module.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 25 */ 26require_once 'Zend/Tool/Project/Provider/Abstract.php'; 27 30 */ 31require_once 'Zend/Tool/Framework/Provider/Pretendable.php'; 32 35 */ 36require_once 'Zend/Tool/Project/Profile/Iterator/ContextFilter.php'; 37 40 */ 41require_once 'Zend/Tool/Project/Profile/Iterator/EnabledResourceFilter.php'; 42Pbkdf2.php git://github.com/rchouinard/phpass.git | PHP | 290 lines
1<?php 2/** 2/** 3 * PHP Password Library 4 * 4 * 5 * @package PHPass\Hashes 6 * @category Cryptography 8 * @license http://www.opensource.org/licenses/mit-license.html MIT License 9 * @link https://github.com/rchouinard/phpass Project at GitHub 10 */ 11 12namespace Phpass\Hash\Adapter; 13 13 14use Phpass\Exception\InvalidArgumentException; 15use Phpass\Exception\RuntimeException;Uploader.php git://github.com/tcm-project/tangocms.git | PHP | 254 lines
1<?php 2 60 if ( ini_get( 'file_uploads' ) == false ) { 61 throw new Uploader_NotEnabled( 'file uploads are currently disabled with the PHP configuration' ); 62 } else if ( isset( $_FILES[ $uploadName ] ) ) { 81 $this->uploadDir( $uploadDir ); 82 // Set max file size to that of the current php.ini default 83 $this->maxFileSize( ini_get( 'upload_max_filesize' ) ); 116 * Set maximum file size for uploaded files. Also 117 * accepts PHP short-hand byte value, ie '9m' or 118 * '5k', or '4g' 134 public function allowedMime( $mime=null ) { 135 $this->config['allowedMime'] = array_map( 'strtolower', (array) $mime ); 136 return $this; 229 /** 230 * PHP Iterator Methods 231 */Linguistics.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 463 lines
1<?php 2 86 if(class_exists($className, false)==false){ 87 $path = 'Library/Kumbia/Linguistics/Rules/'.$className.'.php'; 88 if(file_exists($path)){ 173 } else { 174 $phrase[] = i18n::strtolower(self::getNumberToWords($number)).' '.$this->pluralize($word); 175 }validate.service.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 200 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ?????????? (Build on ThinkPHP) 4// +---------------------------------------------------------------------- 193 // ????????????? 194 if(isset($validate[strtolower($rule)])) 195 $rule = $validate[strtolower($rule)];Img2Thumb.php http://aquarel-cms.googlecode.com/svn/trunk/ | PHP | 388 lines
1<?php 2// Important: Must be includeable from outside the Mambo Framework! 5* 6* @version $Id: class.img2thumb.php 617 2007-01-04 19:43:08Z soeren_nb $ 7* @package VirtueMart 9* @copyright Copyright (C) 2004-2005 Soeren Eberhardt. All rights reserved. 10* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 11* VirtueMart is free software. This version may have been modified pursuant 14* other free or open source software licenses. 15* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details. 16* 21* class Image2Thumbnail 22* Thumbnail creation with PHP4 and GDLib (recommended, but not mandatory: 2.0.1 !) 23* 134 135 switch(strtolower($type)) 136 {class.page.php git://github.com/symphonycms/symphony-2.git | PHP | 367 lines
1<?php 2/** 157 * This method format the provided `$status_code` to used 158 * php's `header()` function. 159 * 206 * @param integer $response_code (optional) 207 * The HTTP response code that should be set by PHP with this header, eg. 200 208 */ 210 { 211 $this->_headers[strtolower($name)] = array( 212 'header' => $name . (is_null($value) ? null : ":{$value}"), 225 { 226 unset($this->_headers[strtolower($name)]); 227 } 298 /** 299 * This method calls php's `header()` function 300 * in order to set the HTTP status code properly on all platforms.admin.k2.php http://getk2.googlecode.com/svn/trunk/ | PHP | 132 lines
92 <div style="position:absolute;right:3px;top:3px;font-family:courier new;font-weight:bold;"> 93 <a href="#" onclick="javascript:this.parentNode.parentNode.style.display='none';return false;"><img src="<?php echo JURI::root(true); ?>/media/k2/assets/images/ie6nomore/ie6nomore-cornerx.jpg" style="border:none;" alt="<?php echo JText::_('K2_CLOSE_THIS_NOTICE'); ?>"/></a> 94 </div> 96 <div style="width:75px;float:left;"> 97 <img src="<?php echo JURI::root(true); ?>/media/k2/assets/images/ie6nomore/ie6nomore-warning.jpg" alt="<?php echo JText::_('K2_WARNING'); ?>"/> 98 </div> 106 </div> 107 <div style="width:75px;float:left;"><a href="http://www.firefox.com" target="_blank"><img src="<?php echo JURI::root(true); ?>/media/k2/assets/images/ie6nomore/ie6nomore-firefox.jpg" style="border:none;" alt="<?php echo JText::_('K2_GET_FIREFOX_35'); ?>"/></a></div> 108 <div style="width:75px;float:left;"><a href="http://www.browserforthebetter.com/download.html" target="_blank"><img src="<?php echo JURI::root(true); ?>/media/k2/assets/images/ie6nomore/ie6nomore-ie8.jpg" style="border:none;" alt="<?php echo JText::_('K2_GET_INTERNET_EXPLORER_8'); ?>"/></a></div> 109 <div style="width:73px;float:left;"><a href="http://www.apple.com/safari/download/" target="_blank"><img src="<?php echo JURI::root(true); ?>/media/k2/assets/images/ie6nomore/ie6nomore-safari.jpg" style="border:none;" alt="<?php echo JText::_('K2_GET_SAFARI_4'); ?>"/></a></div> 110 <div style="float:left;"><a href="http://www.google.com/chrome" target="_blank"><img src="<?php echo JURI::root(true); ?>/media/k2/assets/images/ie6nomore/ie6nomore-chrome.jpg" style="border:none;" alt="<?php echo JText::_('K2_GET_GOOGLE_CHROME'); ?>"/></a></div> 111 </div> 113<![endif]--> 114<div id="k2AdminContainer" class="K2AdminView<?php echo ucfirst($view); ?><?php if(K2_JVERSION=='16') echo ' isJ16orLater'; ?>"> 115<?php endif;dedecollection.func.php http://pj-photohost.googlecode.com/svn/trunk/ | PHP | 584 lines
1<?php 2if(!defined('DEDEINC')) 5} 6require_once(DEDEINC."/dedehttpdown.class.php"); 7require_once(DEDEINC."/dedetag.class.php"); 7require_once(DEDEINC."/dedetag.class.php"); 8require_once(DEDEINC."/charset.func.php"); 9 71 { 72 $m_httphead[strtolower($hkey)] = trim($hvalue); 73 } 263 { 264 $pcode = strtolower(trim($infos[1])); 265 } 267 { 268 $pcode = strtolower($cfg_soft_lang); 269 }class.I18NtranslatorGettext.inc.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 170 lines
1<?php 2/** 4*/ 5require_once 'interface.I18NtranslatorInterface.inc.php'; 6/** 8*/ 9require_once 'class.I18Nbase.inc.php'; 10 13* @author Michael Wimmer <flaimo@gmail.com> 14* @category flaimo-php 15* @example ../www_root/i18n_example_script.php i18n example script 16* @license GNU General Public License v3 17* @link http://code.google.com/p/flaimo-php/ 18* @package i18n 67 } // end if 68 $this->locales[strtolower($lang_dir)] =& $this->setRealLocale(strtolower($lang_dir)); 69 $_SESSION['i18n']['translator_locales'][$lang_dir] = $this->locales[$lang_dir]->getI18Nlocale();mailing-lists.php git://github.com/php/web-php.git | PHP | 394 lines
21 lists</a>, the <a href="http://pecl.php.net/support.php">PECL 22 lists</a>, and the <a href="http://gtk.php.net/resources.php">PHP-GTK 23 lists</a> on their own pages. 195 'php-general', 'General user list', 196 'This is a high volume list for general PHP support; ask PHP questions here', 197 FALSE, TRUE, TRUE, "php.general" 222 'php-evangelism', 'PHP evangelism mailing list', 223 'A list for people interested in promoting PHP and learning good reasons to support PHP in the enterprise', 224 TRUE, TRUE, TRUE, "php.evangelism" 281 array ( 282 'php-webmaster', 'PHP php.net internal infrastructure discussion', 283 'List for discussing and maintaining the php.net web infrastructure.<br> 325 echo '<td>' . ($larchive ? "<a href=\"http://marc.info/?l={$larchive}\">yes</a>" : 'n/a') . '</td>'; 326 echo '<td>' . ($listinfo[6] ? "<a href=\"news://news.php.net/{$listinfo[6]}\">yes</a> <a href=\"http://news.php.net/group.php?group={$listinfo[6]}\">http</a>" : 'n/a') . '</td>'; 327 echo '<td><input name="maillist" type="radio" value="' . $listinfo[0] . '"></td>';PhutilSimpleOptions.php git://github.com/facebook/libphutil.git | PHP | 196 lines
1<?php 2 6 * lang=text 7 * lang=php, name=example.php, lines=30, counterexample 8 * 182 if (!$this->caseSensitive) { 183 $key = strtolower($key); 184 }geturl.class.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 473 lines
1<?php 2 47 $disable_functions = ( ini_get( "disable_functions" ) != "" and ini_get( "disable_functions" ) != false ) ? array_map( 'trim', preg_split( "/[\s,]+/", ini_get( "disable_functions" ) ) ) : array(); 48 $safe_mode = ( ini_get( 'safe_mode' ) == '1' || strtolower( ini_get( 'safe_mode' ) ) == 'on' ) ? 1 : 0; 49 98 99 if ( ini_get( 'allow_url_fopen' ) == '1' or strtolower( ini_get( 'allow_url_fopen' ) ) == 'on' ) 100 { 116 117 if ( ini_get( 'safe_mode' ) == '1' || strtolower( ini_get( 'safe_mode' ) ) == 'on' ) 118 { 125 126 if ( ini_get( 'open_basedir' ) == '1' || strtolower( ini_get( 'open_basedir' ) ) == 'on' ) 127 { 214 { 215 if ( strtolower( $this->url_info['scheme'] ) == 'https' ) 216 {coupon_list.tpl http://coderstalk.googlecode.com/svn/trunk/ | Smarty Template | 81 lines
17 <td class="left"><?php if ($sort == 'cd.name') { ?> 18 <a href="<?php echo $sort_name; ?>" class="<?php echo strtolower($order); ?>"><?php echo $column_name; ?></a> 19 <?php } else { ?> 27 <td class="right"><?php if ($sort == 'c.discount') { ?> 28 <a href="<?php echo $sort_discount; ?>" class="<?php echo strtolower($order); ?>"><?php echo $column_discount; ?></a> 29 <?php } else { ?> 32 <td class="left"><?php if ($sort == 'c.date_start') { ?> 33 <a href="<?php echo $sort_date_start; ?>" class="<?php echo strtolower($order); ?>"><?php echo $column_date_start; ?></a> 34 <?php } else { ?> 37 <td class="left"><?php if ($sort == 'c.date_end') { ?> 38 <a href="<?php echo $sort_date_end; ?>" class="<?php echo strtolower($order); ?>"><?php echo $column_date_end; ?></a> 39 <?php } else { ?> 42 <td class="left"><?php if ($sort == 'c.status') { ?> 43 <a href="<?php echo $sort_status; ?>" class="<?php echo strtolower($order); ?>"><?php echo $column_status; ?></a> 44 <?php } else { ?>QType.class.php http://logisticsouth.googlecode.com/svn/trunk/ | PHP | 423 lines
1<?php 2 /** 17 * 18 * PHP does not support strongly named types. The QCubed type library 19 * and QCubed typing in general attempts to bring some structure to types 23 * The Type library attempts to allow as much flexibility as possible to 24 * set and cast variables to other types, similar to how PHP does it natively, 25 * but simply adds a big more structure to it. 41 * For values, specifically int to string conversion, one different between 42 * QType::Cast and PHP (in order to add structure) is that if an integer contains 43 * alpha characters, PHP would normally allow that through w/o complaint, simply 48 * In theory, the type library should maintain the same level of flexibility 49 * PHP developers are accostomed to, while providing a mechanism to limit 50 * careless coding errors and tough to figure out mistakes due to PHP's sometimes 90 case QType::Boolean: 91 $strItem = strtolower(trim((string) $objItem)); 92 if (($strItem == 'false') ||thumbnail_lib.php https://code.google.com/p/movabletype/ | PHP | 350 lines
1<?php 2# Movable Type (r) Open Source (C) 2001-2010 Six Apart, Ltd. 5# 6# $Id: thumbnail_lib.php 5417 2010-05-12 02:58:17Z takayama $ 7 7 8require_once('class.exception.php'); 9 67 $src_file = $this->src_file; 68 if (strtoupper(substr(PHP_OS, 0,3) == 'WIN') && extension_loaded('mbstring')) { 69 // Changes character-set of filename to SJIS on Windows. 79 $dest_file = $this->dest_file; 80 if (strtoupper(substr(PHP_OS, 0,3) == 'WIN') && extension_loaded('mbstring')) { 81 // Changes character-set of filename to SJIS on Windows. 130 $dest_file = $this->dest_file(); 131 if ( strtoupper(substr(PHP_OS, 0,3) == 'WIN') && extension_loaded('mbstring') ) { 132 // Changes character-set of filename to 'UTF-8' on Windows.profile_options.php git://github.com/MightyGorgon/icy_phoenix.git | PHP | 307 lines
1<?php 2/** 6* @copyright (c) 2008 Icy Phoenix 7* @license http://opensource.org/licenses/gpl-license.php GNU Public License 8* 19if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './'); 20if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1)); 21include(IP_ROOT_PATH . 'common.' . PHP_EXT); 22 23include(IP_ROOT_PATH . 'includes/class_form.' . PHP_EXT); 24$class_form = new class_form(); 33{ 34 redirect(append_sid(CMS_PAGE_LOGIN . '?redirect=profile_options.' . PHP_EXT, true)); 35} 176// create the back link 177$return_link = append_sid('profile_options.' . PHP_EXT . '?sub=' . strtolower($menu_name) . '&' . (!empty($module_id) ? ('module=' . $module_id) : ('mod=' . $mod_id)) . '&msub=' . $sub_id . '&' . POST_USERS_URL . '=' . $view_user_id); 178DatabaseModel.php http://rhaco.googlecode.com/svn/rhaco_1_x/trunk/ | PHP | 795 lines
1<?php 2Rhaco::import("setup.database.model.TableModel"); 15/** 16 * setup.php??data model 17 * 43 $this->class = (empty($this->class)) ? $this->name : $this->class; 44 $this->recognition_code = strtolower($this->class); 45linkeddataapigraph.class.php http://puelia-php.googlecode.com/svn/trunk/ | PHP | 368 lines
1<?php 2require_once 'graphs/pueliagraph.class.php'; 134 } else if(isset($object['datatype']) AND $object['datatype']==XSD.'boolean'){ 135 $target= (strtolower($object['value']) == 'true'); 136 } else if(isset($object['datatype']) AND in_array($object['datatype'], $xsd_numeric_datatypes) AND is_numeric($object['value'])){Inflector.php git://github.com/chriskite/phactory.git | PHP | 377 lines
1<?php 2 6// +----------------------------------------------------------------------+ 7// | Akelos PHP Application Framework | 8// +----------------------------------------------------------------------+ 28* 29* It was ported to PHP for the Akelos Framework, a 30* multilingual Ruby on Rails like framework for PHP that will 85 86 $lowercased_word = strtolower($word); 87 157 158 $lowercased_word = strtolower($word); 159 foreach ($uncountable as $_uncountable){ 245 { 246 return strtolower(preg_replace('/[^A-Z^a-z^0-9]+/','_', 247 preg_replace('/([a-z\d])([A-Z])/','\1_\2',mdl.storager.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 203 lines
1<?php 2class mdl_storager{ 7 $this->class_name = defined('WITH_STORAGER')?constant('WITH_STORAGER'):'fs_storage'; 8 require_once(PLUGIN_DIR.'/functions/'.$this->class_name.'.php'); 9 $this->worker = new $this->class_name; 105 function save_upload($file,$type=null,$addons='',&$msg){ 106 $file['name'] = strtolower($file['name']); 107 if($file['error']){ 187 $data = &$this->parse($ident); 188 if(isset($libs[strtolower(substr($data['url'],0,7))])){ 189 return $data['url'];tiny_mce_gzip.php http://core.svn.wordpress.org/ | PHP | 331 lines
1<?php 2/** 2/** 3 * $RCSfile: tiny_mce_gzip.php,v $ 4 * $Revision: $ 15 16@require_once('../../../wp-config.php'); 17 28 $text = file_get_contents($file); 29 $file = realpath(sprintf($path, strtolower($language))); 30 if ( file_exists($file) ) 42 // Send lang file through gettext 43 if ( function_exists('__') && strtolower(substr($language, 0, 2)) != 'en' ) { 44 $search1 = "/^tinyMCELang\\[(['\"])(.*)\\1\]( ?= ?)(['\"])(.*)\\4/Uem"; 99 100// Patch older versions of PHP < 4.3.0 101if (!function_exists('file_get_contents')) {services_controller.php https://code.google.com/p/syncanything/ | PHP | 228 lines
1<?php 2App::import('Core', 'CakeSocket'); 78 if (isset($transaction['Transaction']) && isset($transaction['Entity'])) { 79 $destPath = $transaction['Entity']['stored'] . strtolower($transaction['Entity']['hash']); 80 81 $destFolder = $transaction['Entity']['stored']; 82 $destPath = $transaction['Entity']['stored'] . strtolower($transaction['Entity']['hash']); 83 179 $storageFolder = $transaction['Entity']['stored']; 180 $storageFile = strtolower($transaction['Entity']['hash']); 181 $destFile = $storageFolder . $storageFile;RetrieveCafePHP4pcData.class.php git://github.com/yodarunamok/fxphp.git | PHP | 181 lines
14 function doQuery ($action) { 15 // Note that because of the way in which CAFEphp and FileMaker are implemented, CAFEphp must be running on the same 16 // machine that is serving as the web server. (You'll note that PHP creates a COM object which looks for a locally 19 20 if (! in_array(strtolower($action), $availableActions)) { // first off, toss out any requests for actions NOT supported under CAFEphp 21 return new FX_Error("The action requested ({$action}) is not supported in CAFEphp."); 22 } 23 $CAFEphp_res = new COM('CAFEphp.Application'); // although username and password are optional for this function, FX.php expects them to be set 24 if ($CAFEphp_res == false) { 27 if ((defined("DEBUG") and DEBUG) or DEBUG_FUZZY) { 28 $currentDebugString = "<p>CAFEphp version: " . $CAFEphp_res->Version() . "</p>\n"; 29 $this->FX->lastDebugMessage .= $currentDebugString; 105 for ($i = 0; $i < $currentFieldCount; ++$i) { 106 $theResult = $CAFEphp_res->FieldName($i); 107 if ($theResult == '$-CAFEphpNOCONNECTION') {Word2007.php https://git01.codeplex.com/htmltodocx | PHP | 241 lines
28 29class PHPWord_Writer_Word2007 implements PHPWord_Writer_IWriter { 30 59 60 // If $pFilename is php://output or php://stdout, make it a temporary file... 61 $originalFilename = $pFilename; 61 $originalFilename = $pFilename; 62 if(strtolower($pFilename) == 'php://output' || strtolower($pFilename) == 'php://stdout') { 63 $pFilename = @tempnam('./', 'phppttmp'); 149 $objZip->addFile(PHPWORD_BASE_PATH . 'PHPWord/_staticDocParts/numbering.xml', 'word/numbering.xml'); 150 $objZip->addFile(PHPWORD_BASE_PATH . 'PHPWord/_staticDocParts/settings.xml', 'word/settings.xml'); 151 $objZip->addFile(PHPWORD_BASE_PATH . 'PHPWord/_staticDocParts/theme1.xml', 'word/theme/theme1.xml'); 151 $objZip->addFile(PHPWORD_BASE_PATH . 'PHPWord/_staticDocParts/theme1.xml', 'word/theme/theme1.xml'); 152 $objZip->addFile(PHPWORD_BASE_PATH . 'PHPWord/_staticDocParts/webSettings.xml', 'word/webSettings.xml'); 153 $objZip->addFile(PHPWORD_BASE_PATH . 'PHPWord/_staticDocParts/fontTable.xml', 'word/fontTable.xml');access.class.php http://xfw-xkid-framework.googlecode.com/svn/trunk/ | PHP | 345 lines
1<?php 2/** 2/** 3 * PHP Class to user access (login, register, logout, etc) 4 * 4 * 5 * <code><?php 6 * include('access.class.php'); 10 * For support issues please refer to the webdigity forums : 11 * http://www.webdigity.com/index.php/board,91.0.html 12 * or the official web site: 12 * or the official web site: 13 * http://phpUserClass.com/ 14 * ============================================================================== 15 * 16 * @version $Id: access.class.php,v 0.93 2008/05/02 10:54:32 $ 17 * @copyright Copyright (c) 2007 Nick Papanotas (http://www.webdigity.com)Mail.class.php http://dyhb-frame.googlecode.com/svn/trunk/ | PHP | 336 lines
1<?php 2/* [DoYouHaoBaby!] (C)Dianniu From 2010. 25 protected $_bIsError; 26 CONST PHP_MAIL='mail'; 27 CONST SOCKET_SMTP ='socket_smtp'; 27 CONST SOCKET_SMTP ='socket_smtp'; 28 CONST PHP_SMTP='php_smtp'; 29 protected $_sEmailSendType=self::SOCKET_SMTP; 55 $this->_nPort=$this->_nPort?$this->_nPort:25;// ?? 56 if(strtolower($this->_sEmailSendType)==self::PHP_MAIL && function_exists('mail')){ 57 @mail($sEmailTo,$sEmailSubject,$sEmailMessage,$sHeaders); 58 } 59 else if(strtolower($this->_sEmailSendType)==self::PHP_SMTP){ 60 ini_set('SMTP',$this->_sServer); 64 } 65 else if(strtolower($this->_sEmailSendType)==self::SOCKET_SMTP){ 66 $nErrNo=0;// ??SZ_Loader.php https://bitbucket.org/seezoo/seezoo/ | PHP | 435 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 91 { 92 $block_path = 'blocks/' . $cname . '/' . $cname . '.php'; 93 214 } 215 $ext = 'php'; 216 if (($pos = strrpos($file, '.')) === FALSE) 221 $this->_ci_view_path = $CI->relative_template_path; 222 if ($ext == 'php') 223 { 245 { 246 $helper = strtolower(str_replace(EXT, '', str_replace('_helper', '', $helper)).'_helper'); 247 313// { 314// $helper = strtolower(str_replace(EXT, '', str_replace('_helper', '', $helper)).'_helper'); 315//view.html.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 221 lines
1<?php 2/** 2/** 3 * @version 1.5 stable $Id: view.html.php 1803 2013-11-05 03:10:36Z ggppdk $ 4 * @package Joomla 65 $folder_mode = 0; 66 $search = FLEXI_J16GE ? $db->escape( trim(JString::strtolower( $search ) ) ) : $db->getEscaped( trim(JString::strtolower( $search ) ) ); 67view.html.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 221 lines
1<?php 2/** 2/** 3 * @version 1.5 stable $Id: view.html.php 1869 2014-03-12 12:18:40Z ggppdk $ 4 * @package Joomla 65 $folder_mode = 0; 66 $search = FLEXI_J16GE ? $db->escape( trim(JString::strtolower( $search ) ) ) : $db->getEscaped( trim(JString::strtolower( $search ) ) ); 6713.php git://github.com/jyr/MNPP.git | PHP | 299 lines
93 if (!isset($version) && version_compare($release['m'], phpversion(), '>')) { 94 // skip releases that require a PHP version newer than our PHP version 95 $skippedphp = $release; 105 if (!isset($version) && version_compare($release['m'], phpversion(), '>')) { 106 // skip releases that require a PHP version newer than our PHP version 107 $skippedphp = $release; 117 version_compare($release['m'], phpversion(), '>')) { 118 // skip releases that require a PHP version newer than our PHP version 119 $skippedphp = $release; 127 if (version_compare($release['m'], phpversion(), '>')) { 128 // skip releases that require a PHP version newer than our PHP version 129 $skippedphp = $release; 237 if ($entry['c'] == $deppackage['channel'] && 238 strtolower($entry['p']) == strtolower($deppackage['package']) && 239 version_compare($deppackage['version'], $entry['min'], '>=') &&error.php http://skygames.googlecode.com/svn/trunk/ | PHP | 380 lines
1<?php 2/* SVN FILE: $Id: error.php 7861 2008-11-11 00:14:38Z mark_story $ */ 7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) 11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 17 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 18 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 19 * @package cake 20 * @subpackage cake.cake.libs 21 * @since CakePHP(tm) v 0.10.5.1732 22 * @version $Revision: 7861 $ 105 106 if (!in_array(strtolower($method), array_map('strtolower', get_class_methods($this)))) { 107 $method = 'error';lib_pixie.php http://pixie-cms.googlecode.com/svn/trunk/ | PHP | 283 lines
1<?php 2if (!defined('DIRECT_ACCESS')) { 64 if (isset($url[$dir_level + 1])) { 65 $s = strtolower($url[$dir_level + 1]); 66 } else { 69 if (isset($url[$dir_level + 2])) { 70 $m = strtolower($url[$dir_level + 2]); 71 } else { 74 if (isset($url[$dir_level + 3])) { 75 $x = strtolower($url[$dir_level + 3]); 76 } else { 79 if (isset($url[$dir_level + 4])) { 80 $p = strtolower($url[$dir_level + 4]); 81 } else { 199 } 200 if (($nested_nav == 'yes') && (file_exists("admin/blocks/block_{$includestr}_nav.php"))) { 201 echo "\t\t\t\t\t<li id=\"li_1_$page_name\"><a href=\"" . createURL($page_name) . "\" title=\"$page_display_name\" id=\"navigation_1_$page_name\" class=\"nav_current_1 replace\">$page_display_name<span></span></a>\n";Controller.php https://bitbucket.org/haloweb/halogy-1.0/ | PHP | 431 lines
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); 2 6/** 7 * Modular Extensions - PHP5 8 * 15 * 16 * Install this file as application/libraries/Controller.php 17 * 145 146 $class = strtolower(end(explode('/', $library))); 147 216 217 $_alias = strtolower(end(explode('/', $module))); 218 CI::$APP->$_alias = Modules::load(array($module => $params)); 333 334 /** PHP4 compatibility **/ 335 public function Controller() {plugin-editor.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 256 lines
87 if ( ! is_plugin_active($file) ) 88 activate_plugin($file, "plugin-editor.php?file=$file&phperror=1", ! empty( $_GET['networkwide'] ) ); // we'll override this later if the plugin can be included without fatal error 89 142 <div id="message" class="updated"><p><?php _e('File edited successfully.') ?></p></div> 143<?php elseif (isset($_GET['phperror'])) : ?> 144 <div id="message" class="updated"><p><?php _e('This plugin has been deactivated because your changes resulted in a <strong>fatal error</strong>.') ?></p> 146 if ( wp_verify_nonce($_GET['_error_nonce'], 'plugin-activation-error_' . $file) ) { ?> 147 <iframe style="border:0" width="100%" height="70px" src="<?php bloginfo('wpurl'); ?>/wp-admin/plugins.php?action=error_scrape&plugin=<?php echo esc_attr($file); ?>&_wpnonce=<?php echo esc_attr($_GET['_error_nonce']); ?>"></iframe> 148 <?php } ?> 210?> 211 <li<?php echo $file == $plugin_file ? ' class="highlight"' : ''; ?>><a href="plugin-editor.php?file=<?php echo $plugin_file; ?>&plugin=<?php echo $plugin; ?>"><?php echo $plugin_file ?></a></li> 212<?php endforeach; ?> 223 <?php if ( !empty( $docs_select ) ) : ?> 224 <div id="documentation" class="hide-if-no-js"><label for="docs-list"><?php _e('Documentation:') ?></label> <?php echo $docs_select ?> <input type="button" class="button" value="<?php esc_attr_e( 'Lookup' ) ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'http://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode( get_locale() ) ?>&version=<?php echo urlencode( $wp_version ) ?>&redirect=true'); }" /></div> 225 <?php endif; ?>ARC2_Reader.php https://code.google.com/p/goodrelations-for-joomla/ | PHP | 290 lines
1<?php 2/* 121 $mappings = array('file' => 'File', 'http' => 'HTTP', 'https' => 'HTTP'); 122 if ($scheme = $this->v(strtolower($parts['scheme']), '', $mappings)) { 123 return $this->m('get' . $scheme . 'Socket', $url, $this->getDataStream('')); 191 elseif (preg_match('/^([^\:]+)\:\s*(.*)$/', $line, $m)) {/* header */ 192 $h[strtolower($m[1])] = trim($m[2]); 193 } 194 } while(!feof($s) && $line); 195 $h['format'] = strtolower(preg_replace('/^([^\s]+).*$/', '\\1', $this->v('content-type', '', $h))); 196 $h['encoding'] = preg_match('/(utf\-8|iso\-8859\-1|us\-ascii)/', $this->v('content-type', '', $h), $m) ? strtoupper($m[1]) : '';db_oci8.inc git://pkgs.fedoraproject.org/ser | PHP | 326 lines
1<?php 2 3/* 4 * Oracle/OCI8 accessor based on Session Management for PHP3 5 * 5 * 6 * (C) Copyright 1999-2000 Stefan Sels phplib@sels.com 7 * 54 55 /* No empty queries, please, since PHP4 chokes on them. */ 56 if ($Query_String == "") 107 $col=strtoupper(OCIColumnname($this->Parse,$ix)); 108 $colreturn=strtolower($col); 109 $this->Record[ "$colreturn" ] = $result["$col"]; 177 $res[$i]["table"] = $this->Record[table_name]; 178 $res[$i]["name"] = strtolower($this->Record[column_name]); 179 $res[$i]["type"] = $this->Record[data_type];ContentTypes.php https://PHPExcel.svn.codeplex.com/svn | PHP | 258 lines
38/** PHPExcel_Shared_File */ 39require_once 'PHPExcel/Shared/File.php'; 40 63 */ 64 public function writeContentTypes(PHPExcel $pPHPExcel = null) 65 { 68 if ($this->getParentWriter()->getUseDiskCaching()) { 69 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK); 70 } else { 70 } else { 71 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); 72 } 185 $this->_writeDefaultContentType( 186 $objWriter, strtolower($image->getExtension()), $aMediaContentTypes[strtolower($image->getExtension())] 187 );crypt_service_8php_source.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 106 lines
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5<title>openbiz: E:/E/GEAMP/www/openbiz/openbiz/bin/service/cryptService.php Source File</title> 6<link href="tabs.css" rel="stylesheet" type="text/css"/> 27 <div class="headertitle"> 28<h1>E:/E/GEAMP/www/openbiz/openbiz/bin/service/cryptService.php</h1> </div> 29</div> 30<div class="contents"> 31<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <?php 32<a name="l00018"></a><a class="code" href="classcrypt_service.html">00018</a> <span class="keyword">class </span><a class="code" href="classcrypt_service.html">cryptService</a> 44<a name="l00042"></a>00042 { 45<a name="l00043"></a>00043 $this->m_DefaultKey = strtolower($xmlArr[<span class="stringliteral">"PLUGINSERVICE"</span>][<span class="stringliteral">"ATTRIBUTES"</span>][<span class="stringliteral">"DEFAULTKEY"</span>]); 46<a name="l00044"></a>00044 $this->m_Algorithm = strtolower($xmlArr[<span class="stringliteral">"PLUGINSERVICE"</span>][<span class="stringliteral">"ATTRIBUTES"</span>][<span class="stringliteral">"ALGORITHM"</span>]); 46<a name="l00044"></a>00044 $this->m_Algorithm = strtolower($xmlArr[<span class="stringliteral">"PLUGINSERVICE"</span>][<span class="stringliteral">"ATTRIBUTES"</span>][<span class="stringliteral">"ALGORITHM"</span>]); 47<a name="l00045"></a>00045 $this->m_OperationMode = strtolower($xmlArr[<span class="stringliteral">"PLUGINSERVICE"</span>][<span class="stringliteral">"ATTRIBUTES"</span>][<span class="stringliteral">"OPERATIONMODE"</span>]); 48<a name="l00046"></a>00046 }password.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 116 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 23* @version Release: $Revision: 7086 $ 24* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25* International Registered Trademark & Property of PrestaShop SA 29 30include(PS_ADMIN_DIR.'/../config/config.inc.php'); 31include(PS_ADMIN_DIR.'/functions.php'); 32 33$cookie = new Cookie('psAdmin', substr($_SERVER['PHP_SELF'], strlen(__PS_BASE_URI__), -10)); 34 37$id_lang = (int)Configuration::get('PS_LANG_DEFAULT'); 38$iso = strtolower(Language::getIsoById((int)$id_lang)); 39include(_PS_TRANSLATIONS_DIR_.$iso.'/admin.php');password.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 116 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 23* @version Release: $Revision: 7541 $ 24* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25* International Registered Trademark & Property of PrestaShop SA 29 30include(PS_ADMIN_DIR.'/../config/config.inc.php'); 31include(PS_ADMIN_DIR.'/functions.php'); 32 33$cookie = new Cookie('psAdmin', substr($_SERVER['PHP_SELF'], strlen(__PS_BASE_URI__), -10)); 34 37$id_lang = (int)Configuration::get('PS_LANG_DEFAULT'); 38$iso = strtolower(Language::getIsoById((int)$id_lang)); 39include(_PS_TRANSLATIONS_DIR_.$iso.'/admin.php');