100+ results results for 'php urldecode repo:jon9872/zend-framework' (382 ms)
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Sqs.php 22984 2010-09-21 02:52:48Z matthew $ 21 */ 25 */ 26#require_once 'Zend/Service/Amazon/Abstract.php'; 27 30 */ 31#require_once 'Zend/Crypt/Hmac.php'; 32 118 } else { 119 #require_once 'Zend/Service/Amazon/Sqs/Exception.php'; 120 throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code); 144 if ($result->Error->Code !== null) { 145 #require_once 'Zend/Service/Amazon/Sqs/Exception.php'; 146 throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code);global.functions.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 297 lines
1<?php 2 63 unset( $row, $comment ); 64 $base_url = NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=comment&id=" . $id . "&checkss=" . md5( $id . session_id() . $global_config['sitekey'] ); 65 $generate_page = nv_generate_page( $base_url, $all_page, $per_page, $page, true, true, 'nv_urldecode_ajax', 'showcomment' ); 136 global $lang_global, $module_name; 137 $link = "<span class=\"edit_icon\"><a href=\"" . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=content&id=" . $id . "\">" . $lang_global['edit'] . "</a></span>"; 138 return $link;MSG.php https://github.com/Basti-sama/Bengine.git | PHP | 386 lines
1<?php 2/** 6 * @copyright Copyright protected by / Urheberrechtlich geschützt durch "Sebastian Noll" <snoll@4ym.org> 7 * @version $Id: MSG.php 19 2011-05-27 10:30:33Z secretchampion $ 8 */ 94 Core::getTPL()->assign("receiver", $receiver); 95 Core::getTPL()->assign("subject", ($reply != "") ? Link::urlDecode($reply) : Core::getLanguage()->getItem("NO_SUBJECT")); 96 Core::getTPL()->assign("maxpmlength", fNumber(Core::getOptions()->get("MAX_PM_LENGTH")));userdata.php https://bitbucket.org/marsl/marsl.git | PHP | 397 lines
1<?php 2include_once(dirname(__FILE__)."/../includes/errorHandler.php"); 2include_once(dirname(__FILE__)."/../includes/errorHandler.php"); 3include_once(dirname(__FILE__)."/../user/user.php"); 4include_once(dirname(__FILE__)."/../user/role.php"); 4include_once(dirname(__FILE__)."/../user/role.php"); 5include_once(dirname(__FILE__)."/../user/auth.php"); 6include_once(dirname(__FILE__)."/../includes/dbsocket.php"); 6include_once(dirname(__FILE__)."/../includes/dbsocket.php"); 7include_once(dirname(__FILE__)."/../includes/basic.php"); 8include_once(dirname(__FILE__)."/../includes/mailer.php"); 8include_once(dirname(__FILE__)."/../includes/mailer.php"); 9include_once(dirname(__FILE__)."/module.php"); 10 24 if ($auth->moduleAdminAllowed("userdata", $role->getRole())) { 25 require_once("template/userdata.alphabet.tpl.php"); 26 }default-filters.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 291 lines
1<?php 2/** 9 * 10 * Not all of the default hooks are found in default-filters.php 11 * 191add_filter( 'pings_open', '_close_comments_for_old_post', 10, 2 ); 192add_filter( 'editable_slug', 'urldecode' ); 193add_filter( 'editable_slug', 'esc_textarea' );DesignController.php https://gitlab.com/wuhang2003/phpwind | PHP | 337 lines
1<?php 2Wind::import('LIB:base.PwBaseController'); 5 * @author $Author: gao.wanggao $ Foxsee@aliyun.com 6 * @copyright ©2003-2103 phpwind.com 7 * @license http://www.phpwind.com 7 * @license http://www.phpwind.com 8 * @version $Id: DesignController.php 29033 2013-06-05 02:56:40Z gao.wanggao $ 9 * @package 117 $this->_getBakService()->doBak($pageid); 118 //$this->setOutput(urldecode($uri), 'data'); 119 $this->showMessage("operate.success", urldecode($uri)); 235 $uri = $this->getInput('uri', 'post'); 236 $this->setOutput(urldecode($uri), 'data'); 237 $this->showMessage("operate.success"); 259 $this->_getDesignService()->clearCompile(); 260 //$this->setOutput(urldecode($uri), 'data'); 261 $this->showMessage("operate.success", urldecode($uri));class-social-facebook.php https://gitlab.com/bhargavi_dcw/dflocal | PHP | 482 lines
1<?php 2/** 58 if ( ! isset( $this->options['fb_admins'][ $admin_id ] ) ) { 59 $name = sanitize_text_field( urldecode( $admin_name ) ); 60 $admin_id = sanitize_text_field( $admin_id ); 63 $this->options['fb_admins'][ $admin_id ]['name'] = $name; 64 $this->options['fb_admins'][ $admin_id ]['link'] = urldecode( 'http://www.facebook.com/' . $admin_id ); 65 99 100 return trim( parse_url( $admin_id, PHP_URL_PATH ), '/' ); 101 } 243 */ 244 private $admin_url = 'admin.php?page=wpseo_social'; 245autoptimizeBase.php https://gitlab.com/hop23typhu/list-theme | PHP | 317 lines
1<?php 2if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 28 if (strpos($url,'%')!==false) { 29 $url=urldecode($url); 30 } 38 } 39 } else if ((strpos($url,'//')===false) && (strpos($url,parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST))===false)) { 40 $url = AUTOPTIMIZE_WP_SITE_URL.$url; 43 // first check; hostname wp site should be hostname of url 44 $thisHost=@parse_url($url,PHP_URL_HOST); 45 if ($thisHost!==parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST)) { 59 if (!empty($this->cdn_url)) { 60 $multidomains[]=parse_url($this->cdn_url,PHP_URL_HOST); 61 } 66 if (in_array($thisHost,$multidomains)) { 67 $url=str_replace($thisHost, parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST), $url); 68 } else {ItemsController.php https://github.com/rgranadino/magento-mirror.git | PHP | 399 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 * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 59 $contentBlock->setGbaseCaptchaToken( 60 Mage::helper('core')->urlDecode($this->getRequest()->getParam('captcha_token')) 61 ); 62 $contentBlock->setGbaseCaptchaUrl( 63 Mage::helper('core')->urlDecode($this->getRequest()->getParam('captcha_url')) 64 ); 309 $storeId, 310 Mage::helper('core')->urlDecode($this->getRequest()->getParam('captcha_token')), 311 $this->getRequest()->getParam('user_confirm')Route.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 422 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Route.php 24593 2012-01-05 20:35:02Z matthew $ 20 */ 24 */ 25require_once 'Zend/Controller/Router/Route/Interface.php'; 26 29 */ 30require_once 'Zend/Controller/Router/Route/Module.php'; 31 34 */ 35require_once 'Zend/Controller/Dispatcher/Interface.php'; 36 39 */ 40require_once 'Zend/Controller/Request/Abstract.php'; 41customize.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 248 lines
16wp_reset_vars( array( 'url', 'return' ) ); 17$url = urldecode( $url ); 18$url = wp_validate_redirect( $url, home_url( '/' ) ); 79<script type="text/javascript"> 80var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>'; 81</script> 108 <span class="spinner"></span> 109 <a class="back button" href="<?php echo esc_url( $return ? $return : admin_url( 'themes.php' ) ); ?>"> 110 <?php _e( 'Cancel' ); ?> 120 <div id="customize-info" class="accordion-section <?php if ( $cannot_expand ) echo ' cannot-expand'; ?>"> 121 <div class="accordion-section-title" aria-label="<?php esc_attr_e( 'Theme Customizer Options' ); ?>" tabindex="0"> 122 <span class="preview-notice"><?php 126 </div> 127 <?php if ( ! $cannot_expand ) : ?> 128 <div class="accordion-section-content">course_request_rejected.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 236 lines
1<?php 2/* For licensing terms, see /license.txt */ 20 21require '../inc/global.inc.php'; 22 26 27require_once api_get_path(LIBRARY_PATH).'add_course.lib.inc.php'; 28require_once api_get_path(CONFIGURATION_PATH).'course_info.conf.php'; 28require_once api_get_path(CONFIGURATION_PATH).'course_info.conf.php'; 29require_once api_get_path(LIBRARY_PATH).'course_request.lib.php'; 30require_once api_get_path(LIBRARY_PATH).'mail.lib.inc.php'; 32// Including a configuration file. 33require api_get_path(CONFIGURATION_PATH).'add_course.conf.php'; 34 35// Including additional libraries. 36require_once api_get_path(LIBRARY_PATH).'fileManage.lib.php'; 37ItemsController.php https://github.com/pixel-cookers/magento_bootstrap.git | PHP | 399 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 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 59 $contentBlock->setGbaseCaptchaToken( 60 Mage::helper('core')->urlDecode($this->getRequest()->getParam('captcha_token')) 61 ); 62 $contentBlock->setGbaseCaptchaUrl( 63 Mage::helper('core')->urlDecode($this->getRequest()->getParam('captcha_url')) 64 ); 309 $storeId, 310 Mage::helper('core')->urlDecode($this->getRequest()->getParam('captcha_token')), 311 $this->getRequest()->getParam('user_confirm')XReturnableBehavior.php https://bitbucket.org/sani-iman-pribadi/santool-cms.git | PHP | 261 lines
1<?php 2/** 51 * Updated Methods {@link urlUncompress()} and {@link loadStackFromUrl()} 52 * to Fix PHP Warning gzuncompress() 53 * 180 public static function urlUncompress($data) { 181 $uncompressed=@gzuncompress(base64_decode(urldecode($data))); // Fix PHP Warning gzuncompress() by Erik Uus 182 return $uncompressed===false ? null : unserialize($uncompressed); 257 isset($_GET[$this->paramName]) && 258 self::urlUncompress($_GET[$this->paramName]) // Fix PHP Warning gzuncompress() by Erik Uus 259 ? self::urlUncompress($_GET[$this->paramName]) : array();MogileFS.php https://bitbucket.org/ajalovec/gaufrette.git | PHP | 357 lines
1<?php 2 91 $params = array("key" => $key, "class" => $metadata['mogile_class'], "devid" => $res['devid'], 92 "fid" => $res['fid'], "path" => urldecode($res['path'])); 93 $closeres = $this->doRequest("CREATE_CLOSE", $params);PhpMatcherDumper.php https://github.com/nattaphat/hgis.git | PHP | 378 lines
17/** 18 * PhpMatcherDumper creates a PHP class able to match URLs for a given set of routes. 19 * 23 */ 24class PhpMatcherDumper extends MatcherDumper 25{ 26 /** 27 * Dumps a set of routes to a PHP class. 28 * 35 * 36 * @return string A PHP class representing the matcher class 37 */ 82 * 83 * @return string Match method as PHP code 84 */ItemsController.php https://github.com/speedupmate/Magento-CE-Mirror.git | PHP | 399 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 * @copyright Copyright (c) 2006-2020 Magento, Inc. (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 59 $contentBlock->setGbaseCaptchaToken( 60 Mage::helper('core')->urlDecodeAndEscape($this->getRequest()->getParam('captcha_token')) 61 ); 62 $contentBlock->setGbaseCaptchaUrl( 63 Mage::helper('core')->urlDecodeAndEscape($this->getRequest()->getParam('captcha_url')) 64 ); 309 $storeId, 310 Mage::helper('core')->urlDecode($this->getRequest()->getParam('captcha_token')), 311 $this->getRequest()->getParam('user_confirm')Request.php https://gitlab.com/kimting254/wbms | PHP | 793 lines
1<?php namespace Illuminate\Http; 2 122 { 123 return rawurldecode($this->path()); 124 } 159 { 160 if (str_is($pattern, urldecode($this->path()))) 161 {ItemsController.php https://github.com/edbull/custard.git | PHP | 399 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 * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 59 $contentBlock->setGbaseCaptchaToken( 60 Mage::helper('core')->urlDecode($this->getRequest()->getParam('captcha_token')) 61 ); 62 $contentBlock->setGbaseCaptchaUrl( 63 Mage::helper('core')->urlDecode($this->getRequest()->getParam('captcha_url')) 64 ); 309 $storeId, 310 Mage::helper('core')->urlDecode($this->getRequest()->getParam('captcha_token')), 311 $this->getRequest()->getParam('user_confirm')AbstractPaginator.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 487 lines
1<?php 2 130 return $this->path.'?' 131 .urldecode(http_build_query($parameters, null, '&')) 132 .$this->buildFragment();IPN.class.php https://github.com/vaughnpaul/NOS.git | PHP | 299 lines
1<?php 2/* 2/* 3 $Id: IPN.class.php,v 2.8 2004/09/11 devosc Exp $ 4 20 21require_once($modules_directory . 'payment/paypal/classes/Client/Connector.class.php'); 22 49 foreach ($post_vars as $var => $val) { 50 $var = urldecode($var); $val = tep_db_prepare_input(urldecode($val)); 51 if ($debug->enabled) $debug_string .= $var . '=' . $val .'&';FrontController.php https://gitlab.com/dcnf/dcbase.org | PHP | 298 lines
1<?php 2/** 59 { 60 $path_info = trim(rawurldecode($request->getPathInfo())); 61 if (empty($path_info)) 67 68 if (isset($matches['extension']) && $matches['extension'] === '.' . PHP_EXT) 69 return WebResponse::error($request, 403); 239 /** 240 * PHP Error handler 241 */ 272 /** 273 * PHP Exception handler 274 */ 291 $original_error = "Original Error: $error_format"; 292 $error_format = sprintf('%s thrown within the exception handler. Message: %s on line %d. <br />', get_class($e), $e->getMessage(), $e->getLine()) . PHP_EOL; 293 $error_format .= "<br /> $original_error";CustomLocaleHandler.inc.php https://github.com/mbehiels/omp.git | PHP | 220 lines
1<?php 2 3/** 4 * @file CustomLocaleHandler.inc.php 5 * 16 17require_once('CustomLocalePlugin.inc.php'); 18require_once('CustomLocaleAction.inc.php'); 91 92 $filename = urldecode(urldecode(array_shift($args))); 93 if (!CustomLocaleAction::isLocaleFile($locale, $filename)) { 154 155 $filename = urldecode(urldecode(array_shift($args))); 156 if (!CustomLocaleAction::isLocaleFile($locale, $filename)) {tbl_addfield.php https://github.com/md-tech/openemr.git | PHP | 236 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 10 */ 11require_once './libraries/common.inc.php'; 12require_once './libraries/Table.class.php'; 14$js_to_run = 'functions.js'; 15require_once './libraries/header.inc.php'; 16 23 */ 24$err_url = 'tbl_sql.php?' . PMA_generate_common_url($db, $table); 25 59 for ($i = 0; $i < $field_cnt; ++$i) { 60 // '0' is also empty for php :-( 61 if (empty($field_name[$i]) && $field_name[$i] != '0') { 72 } else { 73 $query .= ' AFTER ' . PMA_backquote(urldecode($after_field)); 74 }HTTP_WebDAV_Server_vCal.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 430 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 42 43require_once 'modules/Calendar/Calendar.php'; 44 44 45require_once 'include/HTTP_WebDAV_Server/Server.php'; 46 129 } else{ 130 $this->path = $this->_urldecode( $_SERVER["PATH_INFO"]); 131 352 // open input stream 353 $options["stream"] = fopen("php://input", "r"); 354 $content = '';Viewfile.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 201 lines
1<?php 2/** 19/** 20 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 21 */ 31 */ 32 protected $urlDecoder; 33 60 * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory 61 * @param \Magento\Framework\Url\DecoderInterface $urlDecoder 62 * 62 * 63 * @SuppressWarnings(PHPMD.ExcessiveParameterList) 64 */ 121 $this->resultRawFactory = $resultRawFactory; 122 $this->urlDecoder = $urlDecoder; 123 }takeeditcp.php https://github.com/Bigjoos/U-232-V1.git | PHP | 302 lines
1<?php 2/** 18*/ 19require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'bittorrent.php'); 20require_once(INCL_DIR.'user_functions.php'); 20require_once(INCL_DIR.'user_functions.php'); 21require_once(INCL_DIR.'page_verify.php'); 22require_once(INCL_DIR.'password_functions.php'); 57 $view_offensive_avatar = (isset($_POST['view_offensive_avatar']) && $_POST['view_offensive_avatar'] === 'yes' ? 'yes' : 'no'); 58 $avatar = trim( urldecode( $_POST["avatar"] ) ); 59 if ( preg_match( "/^http:\/\/$/i", $avatar ) 100 $signatures = (isset($_POST['signatures']) && $_POST["signatures"] != "" ? "yes" : "no"); 101 $signature = trim( urldecode( $_POST["signature"] ) ); 102 if ( preg_match( "/^http:\/\/$/i", $signature ) 203 $body = str_replace(array('<#USERNAME#>', '<#SITENAME#>', '<#USEREMAIL#>', '<#IP_ADDRESS#>', '<#CHANGE_LINK#>'), 204 array($CURUSER['username'], $TBDEV['site_name'], $email, $_SERVER['REMOTE_ADDR'], "{$TBDEV['baseurl']}/confirmemail.php?uid={$CURUSER['id']}&key=$hash&email=$obemail"), 205 $lang['takeeditcp_email_body']);Route.php https://bitbucket.org/babanesma/mysimpleadmin.git | PHP | 413 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Route.php 24013 2011-05-04 21:19:12Z ralph $ 20 */ 24 */ 25require_once 'Zend/Controller/Router/Route/Interface.php'; 26 29 */ 30require_once 'Zend/Controller/Router/Route/Module.php'; 31 34 */ 35require_once 'Zend/Controller/Dispatcher/Interface.php'; 36 39 */ 40require_once 'Zend/Controller/Request/Abstract.php'; 41Route.php https://bitbucket.org/nblaudez/maerdo.git | PHP | 413 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Route.php 23486 2010-12-10 04:05:30Z mjh_ca $ 20 */ 24 */ 25require_once 'Zend/Controller/Router/Route/Interface.php'; 26 29 */ 30require_once 'Zend/Controller/Router/Route/Module.php'; 31 34 */ 35require_once 'Zend/Controller/Dispatcher/Interface.php'; 36 39 */ 40require_once 'Zend/Controller/Request/Abstract.php'; 41Route.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 413 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Route.php 23485 2010-12-10 04:03:18Z mjh_ca $ 20 */ 24 */ 25require_once 'Zend/Controller/Router/Route/Interface.php'; 26 29 */ 30require_once 'Zend/Controller/Router/Route/Module.php'; 31 34 */ 35require_once 'Zend/Controller/Dispatcher/Interface.php'; 36 39 */ 40require_once 'Zend/Controller/Request/Abstract.php'; 41default-filters.php https://github.com/vidor/vidor.me.git | PHP | 287 lines
1<?php 2/** 9 * 10 * Not all of the default hooks are found in default-filters.php 11 * 194add_filter( 'pings_open', '_close_comments_for_old_post', 10, 2 ); 195add_filter( 'editable_slug', 'urldecode' ); 196add_filter( 'nav_menu_meta_box_object', '_wp_nav_menu_meta_box_object' );Git.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 329 lines
1<?php 2 59 if (preg_match('{^(?:composer|origin)\s+https?://(.+):(.+)@([^/]+)}im', $output, $match)) { 60 $this->io->setAuthentication($match[3], urldecode($match[1]), urldecode($match[2])); 61 } 173 174 $this->io->writeError(' Authentication required (<info>'.parse_url($url, PHP_URL_HOST).'</info>):'); 175 $auth = array( 301 { 302 // git might delete a directory when it fails and php will not know 303 clearstatcache();minileven.php https://gitlab.com/Gashler/sg | PHP | 290 lines
1<?php 2 10// Released under the GPL license 11// http://www.opensource.org/licenses/gpl-license.php 12// 50 'wp-admin', 51 'wp-comments-post.php', 52 'wp-mail.php', 52 'wp-mail.php', 53 'wp-login.php', 54 'wp-activate.php', 136 if ( isset( $_GET['redirect_to'] ) && $_GET['redirect_to'] ) { 137 $go = urldecode( $_GET['redirect_to'] ); 138 } else if (!empty($_SERVER['HTTP_REFERER'])) { 197 if ( ( navigator.userAgent.match( /iphone/i ) ) || ( navigator.userAgent.match( /ipod/i ) ) ) 198 document.write( '<span id="wpcom-mobile-app-promo" style="margin-top: 10px; font-size: 13px;"><strong>Now Available!</strong> <a href="/index.php?app-download=ios">Download WordPress for iOS</a></span><br /><br />' ); 199 else if ( ( navigator.userAgent.match( /android/i ) ) && ( null == navigator.userAgent.match( /playbook/i ) && null == navigator.userAgent.match( /bb10/i ) ) )Action.js https://github.com/D3f0/django-admin-extras.git | JavaScript | 313 lines
119 fp.getForm().submit({ 120 url: 'form-submit.php', 121 waitMsg: 'Submitting your data...', 173 if (Ext.isString(params)) { 174 this.params = Ext.urlDecode(params); 175 }adodb.inc.php https://gitlab.com/nacridan/Nacridan | PHP | 376 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. 38 39 @include (ADODB_DIR . '/adodb.config.php'); 40 41 if (strpos($dbtype, '://')) { 42 $dsn_array = @parse_url(rawurldecode($dbtype)); 43 141 $dbtype = $connection->dbtype; 142 include_once ADODB_DIR . '/adodb-datadict.inc.php'; 143 include_once ADODB_DIR . '/adodbSQL_drivers/' . $dbtype . '/' . $dbtype . '_datadict.inc';category.php https://gitlab.com/sihabudinahmad/asppi | PHP | 357 lines
1<?php 2/** 120function get_category_by_path( $category_path, $full_match = true, $output = OBJECT ) { 121 $category_path = rawurlencode( urldecode( $category_path ) ); 122 $category_path = str_replace( '%2F', '/', $category_path ); 329 * object inline to the parameter. The reason for this is that parameter is 330 * passed by reference and PHP will fail unless it has the variable. 331 * 332 * There is no return value, because everything is updated on the variable you 333 * pass to it. This is one of the features with using pass by reference in PHP. 334 *tbl_replace.php https://gitlab.com/a.loskutnikov/sitimobile | PHP | 270 lines
20if (isset($after_insert) && $after_insert == 'new_insert') { 21 $goto = 'tbl_change.php' 22 . '?lang=' . $lang 46 if (!@file_exists('./' . $is_gotofile)) { 47 $goto = (empty($table)) ? 'db_details.php' : 'tbl_properties.php'; 48 $is_gotofile = TRUE; 78 // Restore the "primary key" to a convenient format 79 $primary_key = urldecode($primary_key); 80 84 $encoded_key = $key; 85 $key = urldecode($key); 86 108 $val = implode(',', $$f); 109 $val = "'" . PMA_sqlAddslashes(urldecode($val)) . "'"; 110 } else {Standard.php https://github.com/rgranadino/magento-mirror.git | PHP | 451 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 * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 244 for ($i = 3, $l = sizeof($p); $i < $l; $i += 2) { 245 $request->setParam($p[$i], isset($p[$i+1]) ? urldecode($p[$i+1]) : ''); 246 } 378 } 379 $file .= DS.uc_words($controller, DS).'Controller.php'; 380 return $file;Sqs.php https://github.com/Doap/iCms---intelligent-Content-management-system.git | PHP | 465 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Sqs.php 22984 2010-09-21 02:52:48Z matthew $ 21 */ 25 */ 26require_once 'Zend/Service/Amazon/Abstract.php'; 27 30 */ 31require_once 'Zend/Crypt/Hmac.php'; 32 118 } else { 119 require_once 'Zend/Service/Amazon/Sqs/Exception.php'; 120 throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code); 144 if ($result->Error->Code !== null) { 145 require_once 'Zend/Service/Amazon/Sqs/Exception.php'; 146 throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code);CustomLocaleHandler.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 221 lines
1<?php 2 3/** 4 * @file CustomLocaleHandler.inc.php 5 * 14 15// $Id: CustomLocaleHandler.inc.php,v 1.16 2009/12/14 03:08:19 jalperin Exp $ 16 17 18require_once('CustomLocalePlugin.inc.php'); 19require_once('CustomLocaleAction.inc.php'); 92 93 $filename = urldecode(urldecode(array_shift($args))); 94 if (!CustomLocaleAction::isLocaleFile($locale, $filename)) { 155 156 $filename = urldecode(urldecode(array_shift($args))); 157 if (!CustomLocaleAction::isLocaleFile($locale, $filename)) {ajax.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 398 lines
1<?php 2if ( is_admin() ) { 78 $target = intval( $_POST['num_id'] ); 79 $link = urldecode( $slides[3][$target] ); 80img.php https://github.com/davidturner/Wee_.git | PHP | 265 lines
1<?php 2/* PROJECT INFO -------------------------------------------------------------------------------------------------------- 28$document_root = $_SERVER['DOCUMENT_ROOT']; 29$requested_uri = parse_url(urldecode($_SERVER['REQUEST_URI']), PHP_URL_PATH); 30$requested_file = basename($requested_uri); 161 // sharpen the image? 162 // NOTE: requires PHP compiled with the bundled version of GD (see http://php.net/manual/en/function.imageconvolution.php) 163 if($sharpen == TRUE && function_exists('imageconvolution')) { 217 218/* check that PHP has the GD library available to use for image re-sizing */ 219if (!extension_loaded('gd')) { // it's not loadedpp_express.php https://gitlab.com/reclamare/mao | PHP | 358 lines
1<?php 2class ModelPaymentPPExpress extends Model { 9 $tmp = explode('=', $v); 10 $arr[$tmp[0]] = urldecode($tmp[1]); 11 }Route.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 413 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Route.php 24594 2012-01-05 21:27:01Z matthew $ 20 */ 24 */ 25require_once 'Zend/Controller/Router/Route/Interface.php'; 26 29 */ 30require_once 'Zend/Controller/Router/Route/Module.php'; 31 34 */ 35require_once 'Zend/Controller/Dispatcher/Interface.php'; 36 39 */ 40require_once 'Zend/Controller/Request/Abstract.php'; 41category.php https://github.com/socialplanning/opencore-wordpress-mu.git | PHP | 331 lines
1<?php 2 174 global $wpdb; 175 $category_path = rawurlencode(urldecode($category_path)); 176 $category_path = str_replace('%2F', '/', $category_path);UrlMatcher.php https://gitlab.com/Sigpot/AirSpot | PHP | 251 lines
1<?php 2 91 92 if ($ret = $this->matchCollection(rawurldecode($pathinfo), $this->routes)) { 93 return $ret; 182 * in matchers that do not have access to the matched Route instance 183 * (like the PHP and Apache matcher dumpers). 184 *main.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 231 lines
1<?php 2 16$sql = "FROM `" . NV_USERS_GLOBALTABLE . "`"; 17$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . $asel; 18 32); 33$method = $nv_Request->isset_request( 'method', 'post' ) ? $nv_Request->get_string( 'method', 'post', '' ) : ( $nv_Request->isset_request( 'method', 'get' ) ? urldecode( $nv_Request->get_string( 'method', 'get', '' ) ) : '' ); 34$methodvalue = $nv_Request->isset_request( 'value', 'post' ) ? $nv_Request->get_string( 'value', 'post' ) : ( $nv_Request->isset_request( 'value', 'get' ) ? urldecode( $nv_Request->get_string( 'value', 'get', '' ) ) : '' ); 136$head_tds['userid']['title'] = $lang_module['userid']; 137$head_tds['userid']['href'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . $asel . "&sortby=userid&sorttype=ASC"; 138$head_tds['username']['title'] = $lang_module['account']; 138$head_tds['username']['title'] = $lang_module['account']; 139$head_tds['username']['href'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . $asel . "&sortby=username&sorttype=ASC"; 140$head_tds['full_name']['title'] = $lang_module['name']; 140$head_tds['full_name']['title'] = $lang_module['name']; 141$head_tds['full_name']['href'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . $asel . "&sortby=full_name&sorttype=ASC"; 142$head_tds['email']['title'] = $lang_module['email'];user_add.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 371 lines
1<?php 2/* For licensing terms, see /license.txt */ 42// including necessary libraries 43require_once '../inc/global.inc.php'; 44$libpath = api_get_path(LIBRARY_PATH); 44$libpath = api_get_path(LIBRARY_PATH); 45require_once $libpath.'fileManage.lib.php'; 46require_once $libpath.'fileUpload.lib.php'; 46require_once $libpath.'fileUpload.lib.php'; 47require_once $libpath.'mail.lib.inc.php'; 48 90if (!empty($_GET['message'])) { 91 $message = urldecode($_GET['message']); 92} 98 99$interbreadcrumb[] = array ('url' => '../admin/index.php', 'name' => get_lang('PlatformAdmin')); 100php.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 132 lines
23 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"), 24 builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once"), 25 multiLineStrings: true, 54 var htmlMode = CodeMirror.getMode(config, "text/html"); 55 var phpMode = CodeMirror.getMode(config, phpConfig); 56 82 return style; 83 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 84 state.curMode = htmlMode; 103 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 104 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 105 if (state.curMode == htmlMode) cur = htmlNew; 130 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 131 CodeMirror.defineMIME("text/x-php", phpConfig); 132})();Cookie.php https://github.com/quarkness/piwik.git | PHP | 424 lines
1<?php 2 19 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 20 * @version $Id: Cookie.php 23775 2011-03-01 17:25:24Z ralph $ 21 * @license http://framework.zend.com/license/new-bsd New BSD License 26 */ 27// require_once 'Zend/Uri/Http.php'; 28 112 if (preg_match("/[=,; \t\r\n\013\014]/", $name)) { 113 // require_once 'Zend/Http/Exception.php'; 114 throw new Zend_Http_Exception("Cookie name cannot contain these characters: =,; \\t\\r\\n\\013\\014 ({$name})"); 117 if (! $this->name = (string) $name) { 118 // require_once 'Zend/Http/Exception.php'; 119 throw new Zend_Http_Exception('Cookies must have a name'); 122 if (! $this->domain = (string) $domain) { 123 // require_once 'Zend/Http/Exception.php'; 124 throw new Zend_Http_Exception('Cookies must have a domain');SharedKey.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 173 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: SharedKey.php 24593 2012-01-05 20:35:02Z matthew $ 20 */ 24 */ 25require_once 'Zend/Service/WindowsAzure/Credentials/CredentialsAbstract.php'; 26 78 if ($forTableStorage) { 79 require_once 'Zend/Service/WindowsAzure/Credentials/Exception.php'; 80 throw new Zend_Service_WindowsAzure_Credentials_Exception('The Windows Azure SDK for PHP does not support SharedKey authentication on table storage. Use SharedKeyLite authentication instead.'); 126 foreach ($queryStringItems as $key => $value) { 127 $canonicalizedResource .= "\n" . strtolower($key) . ':' . urldecode($value); 128 }chargeEdit.php https://github.com/karlom/gameadmin.git | PHP | 278 lines
1<?php 2include_once '../../../protected/config/config.php'; 2include_once '../../../protected/config/config.php'; 3include_once SYSDIR_ADMIN_INCLUDE . '/global.php'; 4global $lang; 247 $rs = json_encode($rs); 248 $rs = urldecode($rs); 249 $param['ActsConfig'] = $rs;relation_cleanup.lib.php https://github.com/shafiqissani/ASTRA-College-Website.git | PHP | 141 lines
1<?php 2/* $Id: relation_cleanup.lib.php 8214 2005-12-17 17:36:58Z cybot_tm $ */ 5/** 6 * Set of functions used for cleaning up phpMyAdmin tables 7 */ 9 10require_once('./libraries/relation.lib.php'); 11$cfgRelation = PMA_getRelationsParam(); 18 . ' AND table_name = \'' . PMA_sqlAddslashes($table) . '\'' 19 . ' AND column_name = \'' . PMA_sqlAddslashes(urldecode($column)) . '\''; 20 $rmv_rs = PMA_query_as_cu($remove_query); 27 . ' AND table_name = \'' . PMA_sqlAddslashes($table) . '\'' 28 . ' AND display_field = \'' . PMA_sqlAddslashes(urldecode($column)) . '\''; 29 $rmv_rs = PMA_query_as_cu($remove_query); 36 . ' AND master_table = \'' . PMA_sqlAddslashes($table) . '\'' 37 . ' AND master_field = \'' . PMA_sqlAddslashes(urldecode($column)) . '\''; 38 $rmv_rs = PMA_query_as_cu($remove_query);helper.inc.php https://github.com/d13design/d13framework.git | PHP | 311 lines
1<?php 2 3// 4// helper.inc.php 5// d13design 65 $rw = mysql_fetch_row($r); 66 return(rawurldecode($rw[0])); 67} 78 echo '<li class="'.$class.'">'; 79 html_link(create_path('pages',$row['slug']),rawurldecode($row['title'])); 80 echo '</li>'; 93 echo '<li class="'.$class.'">'; 94 html_link(create_path($row['slug']),rawurldecode($row['title'])); 95 echo '</li>'; 114 'section_slug' => $section_slug, 115 'title' => rawurldecode($row['title']), 116 'slug' => $row['slug'],DynamicRouter.php https://gitlab.com/guillaumev/alkarama | PHP | 387 lines
1<?php 2 203 * @param string $pathinfo The path info to be parsed (raw format, i.e. not 204 * urldecoded) 205 *php.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 129 lines
23 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__"), 24 builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport echo print global static exit array empty eval isset unset die include require include_once require_once"), 25 multiLineStrings: true, 54 var htmlMode = CodeMirror.getMode(config, "text/html"); 55 var phpMode = CodeMirror.getMode(config, phpConfig); 56 82 return style; 83 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 84 state.curMode = htmlMode; 103 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 104 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 105 if (state.curMode == htmlMode) cur = htmlNew; 127 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 128 CodeMirror.defineMIME("text/x-php", phpConfig); 129})();Route.php https://github.com/Spavacz/NPG.git | PHP | 410 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Route.php 20096 2010-01-06 02:05:09Z bkarwin $ 20 */ 24 */ 25require_once 'Zend/Controller/Router/Route/Interface.php'; 26 29 */ 30require_once 'Zend/Controller/Router/Route/Module.php'; 31 34 */ 35require_once 'Zend/Controller/Dispatcher/Interface.php'; 36 39 */ 40require_once 'Zend/Controller/Request/Abstract.php'; 41entity.resource.class.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 183 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 47 48 require_once($CFG->libdir.'/validateurlsyntax.php'); 49 86 if (!validateUrlSyntax($rawlink, 's+')) { 87 $changed = rawurldecode($rawlink); 88 if (validateUrlSyntax($changed, 's+')) { 154 $strip = str_replace("\\", "/", str_ireplace($rootpath, '', $rtp)); 155 $encoded_file = '$@FILEPHP@$'.str_replace('/', '$@SLASH@$', $strip); 156 $searches[] = $resrc->nodeValue;component.php https://gitlab.com/alexprowars/bitrix | PHP | 341 lines
164 165CUtil::InitJSCore(array("ajax", "tooltip")); //http://jabber.bx/view.php?id=30695 166 168{ 169 $arParams['ELEMENT_NAME'] = rawurldecode($arParams['ELEMENT_NAME']); 170 $arResult['ELEMENT'] = array(); 336 337include_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/components/bitrix/wiki/include/nav.php'); 338images.php https://github.com/tuukka/booki-old.git | PHP | 290 lines
82 <tr> 83 <th><a href="#" class="thumb" style="cursor: pointer;" onclick="selectImage('<?php echo $file['relative'];?>', '<?php echo $entry; ?>', <?php echo $file['image'][0];?>, <?php echo $file['image'][1]; ?>);return false;" title="<?php echo $entry; ?> - <?php echo Files::formatSize($file['stat']['size']); ?>" onmouseover="showPreview('<?php echo $file['relative'];?>')" onmouseout="showPreview(window.parent.document.getElementById('f_url').value)" ><?php echo $entry ?></a></th> 84 <td><?php echo Files::formatSize($file['stat']['size']); ?></td> 86 <td class="actions"> 87 <a href="<?php print $IMConfig['backend_url']; ?>__function=images&dir=<?php echo $relative; ?>&delf=<?php echo rawurlencode($file['relative']);?>" title="Trash" onclick="return confirmDeleteFile('<?php echo $entry; ?>');"><img src="<?php print $IMConfig['base_url'];?>img/edit_trash.gif" height="15" width="15" alt="Trash" border="0" /></a> 88 107 <div class="thumb_holder" id="holder_<?php echo asc2hex($entry) ?>"> 108 <a href="#" class="thumb" style="cursor: pointer;" onclick="selectImage('<?php echo $file['relative'];?>', '<?php echo $entry; ?>', <?php echo $file['image'][0];?>, <?php echo $file['image'][1]; ?>);return false;" title="<?php echo $entry; ?> - <?php echo Files::formatSize($file['stat']['size']); ?>"> 109 <img src="<?php print $manager->getThumbnail($file['relative']); ?>" alt="<?php echo $entry; ?> - <?php echo Files::formatSize($file['stat']['size']); ?>"/> 147 <div class="dir_holder"> 148 <a class="dir" href="<?php print $IMConfig['backend_url'];?>__function=images&dir=<?php echo rawurlencode($path); ?>" onclick="updateDir('<?php echo $path; ?>')" title="<?php echo $dir['entry']; ?>"><img src="<?php print $IMConfig['base_url'];?>img/folder.gif" height="80" width="80" alt="<?php echo $dir['entry']; ?>" /></a> 149 150 <div class="edit"> 151 <a href="<?php print $IMConfig['backend_url'];?>__function=images&dir=<?php echo $relative; ?>&deld=<?php echo rawurlencode($path); ?>" title="Trash" onclick="return confirmDeleteDir('<?php echo $dir['entry']; ?>', <?php echo $dir['count']; ?>);"><img src="<?php print $IMConfig['base_url'];?>img/edit_trash.gif" height="15" width="15" alt="Trash"/></a> 152 <?php echo $dir['entry']; ?>sort.class.php https://github.com/enigmatic-user/revolution.git | PHP | 203 lines
1<?php 2/** 38 $data = $this->getProperty('data'); 39 $data = urldecode($data); 40 $data = $this->modx->fromJSON($data);social.php https://bitbucket.org/geniusdivision/genius-division-wordpress-theme.git | PHP | 189 lines
1<?php 2/** 51 $user_id = $_GET['userid']; 52 $options['fb_admins'][$user_id]['name'] = urldecode( $_GET['userrealname'] ); 53 $options['fb_admins'][$user_id]['link'] = urldecode( $_GET['link'] ); 112 $admin_id = esc_attr( $admin_id ); 113 $fbconnect .= '<li><a href="' . esc_url( $admin['link'] ) . '">' . esc_html( $admin['name'] ) . '</a> - <strong><a href="' . admin_url( 'admin.php?page=wpseo_social&delfbadmin=' . $admin_id . '&nonce=' . $nonce ) . '">X</a></strong></li>'; 114 $fbconnect .= '<input type="hidden" name="wpseo_social[fb_admins][' . $admin_id . '][link]" value="' . esc_attr( $admin['link'] ) . '"/>'; 123 $but_primary = '-primary'; 124 $fbconnect .= '<p><a class="button' . esc_attr( $but_primary ) . '" href="https://yoast.com/fb-connect/?key=' . $options['fbconnectkey'] . '&redirect=' . urlencode( admin_url( 'admin.php?page=wpseo_social' ) ) . '">' . $button_text . '</a></p>'; 125} 126 127$fbconnect .= '<a class="button" href="https://yoast.com/fb-connect/?key=' . esc_url( $options['fbconnectkey'] ) . '&type=app&redirect=' . urlencode( admin_url( 'admin.php?page=wpseo_social' ) ) . '">' . esc_html( $app_button_text ) . '</a> '; 128if ( $clearall ) { 128if ( $clearall ) { 129 $fbconnect .= '<a class="button" href="' . admin_url( 'admin.php?page=wpseo_social&nonce=' . wp_create_nonce( 'fbclearall' ) . '&fbclearall=true' ) . '">' . __( 'Clear all Facebook Data', 'wordpress-seo' ) . '</a> '; 130}Route.php https://github.com/jpratt/cal.git | PHP | 313 lines
1<?php 2/** 17 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 18 * @version $Id: Route.php 11073 2008-08-26 16:29:59Z dasprid $ 19 * @license http://framework.zend.com/license/new-bsd New BSD License 22/** Zend_Controller_Router_Route_Abstract */ 23#require_once 'Zend/Controller/Router/Route/Abstract.php'; 24 170 for($i = $pos; $i < $count; $i+=2) { 171 $var = urldecode($path[$i]); 172 if (!isset($this->_wildcardData[$var]) && !isset($this->_defaults[$var]) && !isset($values[$var])) { 172 if (!isset($this->_wildcardData[$var]) && !isset($this->_defaults[$var]) && !isset($values[$var])) { 173 $this->_wildcardData[$var] = (isset($path[$i+1])) ? urldecode($path[$i+1]) : null; 174 } 179 $name = isset($this->_variables[$pos]) ? $this->_variables[$pos] : null; 180 $pathPart = urldecode($pathPart); 181DefaultFormRenderer.php https://github.com/premiumcombination/nts.git | PHP | 514 lines
1<?php 2 208 $parts = explode('=', $param, 2); 209 $name = urldecode($parts[0]); 210 if (!isset($this->form[$name])) { 210 if (!isset($this->form[$name])) { 211 $s .= Html::el('input', array('type' => 'hidden', 'name' => $name, 'value' => urldecode($parts[1]))); 212 }system.php https://github.com/CoolCold/pnp4nagios.git | PHP | 219 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/** 35 if($this->host != NULL){ 36 $this->host = urldecode($this->host); 37 } 39 if($this->service != NULL){ 40 $this->service = urldecode($this->service); 41 } 126 } 127 if (!file_exists(APPPATH."/views/".$view.".php")) { 128 return false; 135 if(!function_exists('apache_get_modules')){ 136 // Add index.php to every URL while not running withn apache mod_php 137 Kohana::config_set('core.index_page','index.php'); 140 if(!in_array('mod_rewrite', apache_get_modules())){ 141 // Add index.php to every URL while mod_rewrite is not available 142 Kohana::config_set('core.index_page','index.php');UpgradeWizard.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 356 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 41 42require_once('modules/Administration/UpgradeWizardCommon.php'); 43require_once('ModuleInstall/PackageManager/PackageManagerDisplay.php'); 43require_once('ModuleInstall/PackageManager/PackageManagerDisplay.php'); 44require_once('ModuleInstall/ModuleScanner.php'); 45global $mod_strings; 101 if(isset($_REQUEST['release_id']) && $_REQUEST['release_id'] != ""){ 102 require_once('ModuleInstall/PackageManager.php'); 103 $pm = new PackageManager(); 105 $perform = true; 106 $base_filename = urldecode($tempFile); 107 } elseif(!empty($_REQUEST['load_module_from_dir'])) { 111 $perform = true; 112 $base_filename = urldecode( $_REQUEST['upgrade_zip_escaped'] ); 113 } else {FileUrlGenerator.php https://gitlab.com/mohamed_hussein/prodt | PHP | 239 lines
1<?php 2 185 $options = UrlHelper::parse($uri); 186 return Url::fromUri(urldecode($options['path']), $options); 187 } 195 // Attempt to return an external URL using the appropriate wrapper. 196 return Url::fromUri('base:' . $this->transformRelative(urldecode($options['path']), FALSE), $options); 197 } 198 else { 199 return Url::fromUri(urldecode($options['path']), $options); 200 } 217 // Files may be accessible on a different port than the web request. 218 $file_url_port = parse_url($file_url, PHP_URL_PORT) ?? $port; 219 if ($file_url_port != $port) {S3Signature.php https://gitlab.com/x33n/respond | PHP | 268 lines
1<?php 2/** 103 // GET object, PUT object, etc. 104 $path = S3Client::encodeKey(rawurldecode($request->getPath())); 105 $request->setPath($path); 202 // Remove encoding from the path and use the S3 specific encoding 203 $path = S3Client::encodeKey(rawurldecode($request->getPath())); 204 // if the bucket was path style, then ensure that the bucket wasn't duplicated in the resourceCookie.php https://bitbucket.org/helfreire/tccsite.git | PHP | 324 lines
1<?php 2 64 if ($encodedValue) { 65 $this->value = urldecode($value); 66 $this->rawValue = $value;Route.php https://github.com/cazzerson/Suma.git | PHP | 413 lines
1<?php 2/** 24 */ 25require_once 'Zend/Controller/Router/Route/Interface.php'; 26 29 */ 30require_once 'Zend/Controller/Router/Route/Module.php'; 31 34 */ 35require_once 'Zend/Controller/Dispatcher/Interface.php'; 36 39 */ 40require_once 'Zend/Controller/Request/Abstract.php'; 41 178 $specialGetTarget = 'edit'; 179 $params['id'] = urldecode($path[$pathElementCount-2]); 180 } elseif ($pathElementCount == 1) {DomXSLProcessor.class.php https://github.com/Gamepay/xp-framework.git | PHP | 464 lines
1<?php 2/* This class is part of the XP framework 36 * 37 * @purpose Transform XML/XSLT using PHPs XSLT functions 38 * @ext xslt 59 // Forwards compatibility hack: In XSL, we use XSLCallback::invoke(), but 60 // the class in namespaced PHP is called xml::XSLCallback. Ensure a class 61 // called "XSLCallback" (without namespaces) exists instead of requiring 116 * @param var callback 117 * @see php://xslt_set_scheme_handlers 118 */ 129 public function setXSLFile($file) { 130 if (!file_exists($this->_base.urldecode($file))) 131 throw new FileNotFoundException($this->_base.$file.' not found'); 135 $this->stylesheet= new DOMDocument(); 136 $this->stylesheet->load($this->_base.urldecode($file)); 137 $this->baseURI= $this->_base.$file;stream.php https://github.com/agnesrambaud/yacs.git | PHP | 271 lines
1<?php 2/** 32 * @link http://www.spartanicus.utvinternet.ie/streaming.htm Streaming audio/video from a web server 33 * @link http://forums.winamp.com/showthread.php?threadid=65772 The Unofficial M3U and PLS Specification 34 * @link http://www.panix.com/web/faq/multimedia/streamed.html Streaming Examples 35 * @link http://www.scriptwell.net/howtoplaysound.htm How To Play Sound 36 * @link http://empegbbs.com/ubbthreads/showflat.php/Cat/0/Number/63847/Main/63330 How to get Winamp to show id3 info when streaming from the empeg via http 37 * 45 * Accept following invocations: 46 * - stream.php/collection/path/to/file 47 * - stream.php?file=<collection/path/to/file> 55// common definitions and initial processing 56include_once '../shared/global.php'; 57include_once 'collections.php'; 68if(isset($_REQUEST['path'])) 69 $id = urldecode($_REQUEST['path']); 70elseif(isset($context['arguments'][1]))Route.php https://bitbucket.org/Maxsy/adapi.git | PHP | 416 lines
1<?php 2/** 2/** 3 * Slim - a micro PHP 5 framework 4 * 341 * 342 * http://blog.sosedoff.com/2009/09/20/rails-like-php-url-router/ 343 * 362 if (isset($this->paramNamesPath[ $name ])) { 363 $this->params[$name] = explode('/', urldecode($paramValues[$name])); 364 } else { 364 } else { 365 $this->params[$name] = urldecode($paramValues[$name]); 366 }dataexport.php https://github.com/mterenzio/FollowThis.git | PHP | 345 lines
1<?php 2 6 * 7 * $Id: dataexport.php,v 1.26 2007/07/12 19:26:22 xzilla Exp $ 8 */ 29 $_no_output = true; 30 include_once('./libraries/lib.inc.php'); 31 37 && ($_REQUEST['d_format'] == 'copy' || $_REQUEST['d_format'] == 'sql')) { 38 include('./dbexport.php'); 39 exit; 49 if ($misc->isDumpEnabled()) { 50 include('./dbexport.php'); 51 exit; 58 if ($misc->isDumpEnabled()) { 59 include('./dbexport.php'); 60 exit;CookieTest.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 179 lines
1<?php 2 15 16class CookieTest extends \PHPUnit_Framework_TestCase 17{ 114 $cookie = new Cookie('foo', 'bar%3Dbaz', null, '/', '', false, true, true); // raw value 115 $this->assertEquals('bar=baz', $cookie->getValue(), '->getValue() returns the urldecoded cookie value'); 116 } 122 $cookie = new Cookie('foo', 'bar%3Dbaz', null, '/', '', false, true, true); // raw value 123 $this->assertEquals('bar%3Dbaz', $cookie->getRawValue(), '->getRawValue() returns the non-urldecoded cookie value'); 124 }json.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 275 lines
1<?php 2/** 2/** 3* REST Application Programming Interface PHP class for the WordPress plugin NextGEN Gallery 4* Should emulate some kind of Flickr JSON callback : ?callback=json&format=json&api_key=1234567890&method=search&term=myterm 8* 9* @require PHP 5.2.0 or higher 10* 57 if ( !function_exists('json_encode') ) 58 wp_die('Json_encode not available. You need to use PHP 5.2'); 59 63 $this->method = isset($_GET['method']) ? strtolower( $_GET['method'] ) : false; 64 $this->term = isset($_GET['term']) ? urldecode( $_GET['term'] ) : false; 65 $this->id = isset($_GET['id']) ? (int) $_GET['id'] : 0; 263 /** 264 * PHP5 style destructor and will run when the class is finished. 265 *LinkTrait.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 276 lines
1<?php 2/** 19 * 20 * ```php 21 * use block\HtmlTrait { 29 * 30 * ```php 31 * protected function prepare() 202 $url = htmlspecialchars($block[1], ENT_COMPAT | ENT_HTML401, 'UTF-8'); 203 $text = htmlspecialchars(urldecode($block[1]), ENT_NOQUOTES | ENT_SUBSTITUTE, 'UTF-8'); 204 return "<a href=\"$url\">$text</a>";Route.php https://github.com/sitengine/sitengine.git | PHP | 313 lines
1<?php 2/** 17 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 18 * @version $Id: Route.php 11073 2008-08-26 16:29:59Z dasprid $ 19 * @license http://framework.zend.com/license/new-bsd New BSD License 22/** Zend_Controller_Router_Route_Abstract */ 23require_once 'Zend/Controller/Router/Route/Abstract.php'; 24 170 for($i = $pos; $i < $count; $i+=2) { 171 $var = urldecode($path[$i]); 172 if (!isset($this->_wildcardData[$var]) && !isset($this->_defaults[$var]) && !isset($values[$var])) { 172 if (!isset($this->_wildcardData[$var]) && !isset($this->_defaults[$var]) && !isset($values[$var])) { 173 $this->_wildcardData[$var] = (isset($path[$i+1])) ? urldecode($path[$i+1]) : null; 174 } 179 $name = isset($this->_variables[$pos]) ? $this->_variables[$pos] : null; 180 $pathPart = urldecode($pathPart); 181modphpthumb.class.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 205 lines
5 */ 6require_once MODX_CORE_PATH.'model/phpthumb/phpthumb.class.php'; 7/** 13 */ 14class modPhpThumb extends phpThumb { 15 43 $this->setParameter('config_nohotlink_text_message',(string)$this->modx->getOption('phpthumb_nohotlink_text_message',$this->config,'Off-server thumbnailing is not allowed')); 44 $this->setParameter('config_nooffsitelink_enabled',(boolean)$this->modx->getOption('phpthumb_nooffsitelink_enabled',$this->config,false)); 45 $this->setParameter('config_nooffsitelink_valid_domains',explode(',', $this->modx->getOption('phpthumb_nooffsitelink_valid_domains',$this->config,$this->modx->getOption('http_host')))); 179 if ($getimagesize) { 180 header('Content-Type: '.phpthumb_functions::ImageTypeToMIMEtype($getimagesize[2])); 181 } elseif (eregi('\.ico$', $this->cache_filename)) { 197 } 198 $downloadfilename = phpthumb_functions::SanitizeFilename(@$_GET['sia'] ? $_GET['sia'] : (@$_GET['down'] ? $_GET['down'] : 'phpThumb_generated_thumbnail'.(@$_GET['f'] ? $_GET['f'] : 'jpg'))); 199 if (@$downloadfilename) {Mapper.php https://github.com/anderson631/spaghettiphp.git | PHP | 218 lines
1<?php 2 12 public function __construct() { 13 $this->base = dirname($_SERVER['PHP_SELF']); 14 if(basename($this->base) == 'public'): 139 if(preg_match('/([^:]*):([^:]*)/', $param, $reg)): 140 $path['named'][$reg[1]] = urldecode($reg[2]); 141 elseif($param != ''): 141 elseif($param != ''): 142 $path['params'] []= urldecode($param); 143 endif;default_params.php https://gitlab.com/rubengrb/ws.vidrialum | PHP | 375 lines
1<?php 2if ( ! defined( 'ABSPATH' ) ) { 259 . $settings['param_name'] . ' ' . $settings['type'] . '" rows="16">' 260 . htmlentities( rawurldecode( base64_decode( $value ) ), ENT_COMPAT, 'UTF-8' ) . '</textarea>'; 261}php.js https://github.com/rjdjohnston/core.git | JavaScript | 156 lines
1editAreaLoader.load_syntax["php"] = { 2 'COMMENT_SINGLE' : {1 : '//', 2 : '#'} 15 'null', '__LINE__', '__FILE__', 16 'false', '<?php', '?>', '<?', 17 '<script language', '</script>', 19 'function', 'class', 'new', '&new', 'this', 20 '__FUNCTION__', '__CLASS__', '__METHOD__', 'PHP_VERSION', 21 'PHP_OS', 'DEFAULT_INCLUDE_PATH', 'PEAR_INSTALL_DIR', 'PEAR_EXTENSION_DIR', 21 'PHP_OS', 'DEFAULT_INCLUDE_PATH', 'PEAR_INSTALL_DIR', 'PEAR_EXTENSION_DIR', 22 'PHP_EXTENSION_DIR', 'PHP_BINDIR', 'PHP_LIBDIR', 'PHP_DATADIR', 'PHP_SYSCONFDIR', 23 'PHP_LOCALSTATEDIR', 'PHP_CONFIG_FILE_PATH', 'PHP_OUTPUT_HANDLER_START', 'PHP_OUTPUT_HANDLER_CONT', 23 'PHP_LOCALSTATEDIR', 'PHP_CONFIG_FILE_PATH', 'PHP_OUTPUT_HANDLER_START', 'PHP_OUTPUT_HANDLER_CONT', 24 'PHP_OUTPUT_HANDLER_END', 'E_ERROR', 'E_WARNING', 'E_PARSE', 'E_NOTICE', 25 'E_CORE_ERROR', 'E_CORE_WARNING', 'E_COMPILE_ERROR', 'E_COMPILE_WARNING', 'E_USER_ERROR', 32 'extension_loaded', 'get_extension_funcs', 'debug_backtrace', 33 'constant', 'bin2hex', 'sleep', 'usleep', 'time', 'mktime', 'gmmktime', 'strftime', 'gmstrftime', 'strtotime', 'date', 'gmdate', 'getdate', 'localtime', 'checkdate', 'flush', 'wordwrap', 'htmlspecialchars', 'htmlentities', 'html_entity_decode', 'md5', 'md5_file', 'crc32', 'getimagesize', 'image_type_to_mime_type', 'phpinfo', 'phpversion', 'phpcredits', 'strnatcmp', 'strnatcasecmp', 'substr_count', 'strspn', 'strcspn', 'strtok', 'strtoupper', 'strtolower', 'strpos', 'strrpos', 'strrev', 'hebrev', 'hebrevc', 'nl2br', 'basename', 'dirname', 'pathinfo', 'stripslashes', 'stripcslashes', 'strstr', 'stristr', 'strrchr', 'str_shuffle', 'str_word_count', 'strcoll', 'substr', 'substr_replace', 'quotemeta', 'ucfirst', 'ucwords', 'strtr', 'addslashes', 'addcslashes', 'rtrim', 'str_replace', 'str_repeat', 'count_chars', 'chunk_split', 'trim', 'ltrim', 'strip_tags', 'similar_text', 'explode', 'implode', 'setlocale', 'localeconv', 34 'parse_str', 'str_pad', 'chop', 'strchr', 'sprintf', 'printf', 'vprintf', 'vsprintf', 'sscanf', 'fscanf', 'parse_url', 'urlencode', 'urldecode', 'rawurlencode', 'rawurldecode', 'readlink', 'linkinfo', 'link', 'unlink', 'exec', 'system', 'escapeshellcmd', 'escapeshellarg', 'passthru', 'shell_exec', 'proc_open', 'proc_close', 'rand', 'srand', 'getrandmax', 'mt_rand', 'mt_srand', 'mt_getrandmax', 'base64_decode', 'base64_encode', 'abs', 'ceil', 'floor', 'round', 'is_finite', 'is_nan', 'is_infinite', 'bindec', 'hexdec', 'octdec', 'decbin', 'decoct', 'dechex', 'base_convert', 'number_format', 'fmod', 'ip2long', 'long2ip', 'getenv', 'putenv', 'getopt', 'microtime', 'gettimeofday', 'getrusage', 'uniqid', 'quoted_printable_decode', 'set_time_limit', 'get_cfg_var', 'magic_quotes_runtime', 'set_magic_quotes_runtime', 'get_magic_quotes_gpc', 'get_magic_quotes_runtime',QueryString.php https://gitlab.com/treighton/wpgit | PHP | 297 lines
1<?php 2 8use Guzzle\Http\QueryAggregator\QueryAggregatorInterface; 9use Guzzle\Http\QueryAggregator\PhpAggregator; 10 36 37 /** @var array Cached PHP aggregator */ 38 private static $defaultAggregator = null; 53 54 $foundDuplicates = $foundPhpStyle = false; 55 57 $parts = explode('=', $kvp, 2); 58 $key = rawurldecode($parts[0]); 59 if ($paramIsPhpStyleArray = substr($key, -2) == '[]') { 59 if ($paramIsPhpStyleArray = substr($key, -2) == '[]') { 60 $foundPhpStyle = true; 61 $key = substr($key, 0, -2);Hostname.php https://github.com/orchestra-io/sample-openx.git | PHP | 341 lines
1<?php 2/** 17 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 18 * @version $Id: Route.php 9581 2008-06-01 14:08:03Z martel $ 19 * @license http://framework.zend.com/license/new-bsd New BSD License 22/** Zend_Controller_Router_Route_Abstract */ 23require_once 'Zend/Controller/Router/Route/Abstract.php'; 24 112 if ($this->_request === null) { 113 require_once 'Zend/Controller/Front.php'; 114 $this->_request = Zend_Controller_Front::getInstance()->getRequest(); 202 $name = isset($this->_variables[$pos]) ? $this->_variables[$pos] : null; 203 $hostPart = urldecode($hostPart); 204 272 } else { 273 require_once 'Zend/Controller/Router/Exception.php'; 274 throw new Zend_Controller_Router_Exception($name . ' is not specified');Cookie.php https://github.com/bhaumik25/zend-framework.git | PHP | 319 lines
1<?php 2/** 22 23require_once "Zend.php"; 24require_once "Zend/Uri.php"; 276 list($name, $value) = explode('=', trim(array_shift($parts)), 2); 277 $value = urldecode($value); 278getcomment.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 312 lines
1<?php 2 167 { 168 $base_url = NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=getcomment&list_comment=" . $id; 169 196 } 197 $post_name = "<a href=\"" . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=users&" . NV_OP_VARIABLE . "=edit&userid=" . $row['post_id'] . "\">" . $post_name . "</a>"; 198 } 247 'admin_reply' => $admin_reply, // 248 'edit_link' => NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=comment&edit=1&id=" . $row['id'], // 249 'del_link' => NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=comment" 296 { 297 $array[$id]['admin_reply'] = $lang_module['comment_admin_note'] . " <a href=\"" . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=authors&id=" . $admin_id . "\">" . $admin_name . "</a>: " . $array[$id]['admin_reply']; 298 } 301 } 302 $generate_page = nv_generate_page( $base_url, $all_page, $per_page, $page, true, true, 'nv_urldecode_ajax', 'list_comments' ); 303 }Message.php https://gitlab.com/ramos.lauty/softlord | PHP | 432 lines
1<?php 2 233 foreach (array_reverse($matches) as $m) { 234 $file = rtrim($basePath, '/\\') . '/' . (isset($m[4]) ? $m[4][0] : urldecode($m[3][0])); 235 if (!isset($cids[$file])) { 427 return '<' . Nette\Utils\Random::generate() . '@' 428 . preg_replace('#[^\w.-]+#', '', isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : php_uname('n')) 429 . '>';bitshare_com.php https://gitlab.com/dkiller1/rapidleech | PHP | 144 lines
1<?php 2if (!defined('RAPIDLEECH')) { 25 if ($_REQUEST['step'] == '1') { 26 $Url = urldecode($_POST['link']); 27 $this->cookie = urldecode($_POST['cookie']); 76 $dlink = trim($dl[1]); 77 $filename = basename(parse_url($dlink, PHP_URL_PATH)); 78 $this->RedirectDownload($dlink, $filename, $this->cookie, 0, $link); 134 $dlink = trim($dl[1]); 135 $filename = basename(parse_url($dlink, PHP_URL_PATH)); 136 $this->RedirectDownload($dlink, $filename, $this->cookie);aws_s3.php https://github.com/talmdal/gallery3-contrib.git | PHP | 330 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2 12 if (!self::$_s3) { 13 require_once(MODPATH . "aws_s3/lib/s3.php"); 14 S3::setAuth(module::get_var("aws_s3", "access_key"), module::get_var("aws_s3", "secret_key")); 81 82 $filename = urldecode($item->relative_path()); 83 $itype = "I"; 133 134 $old_filename = urldecode($old_item->relative_path()); 135 $new_filename = urldecode($new_item->relative_path()); 175 176 $filename = urldecode($item->relative_path()); 177 $itype = "I"; 234 static function validate_access_details($access_key, $secret_key, $bucket_name) { 235 require_once(MODPATH . "aws_s3/lib/s3.php"); 236 S3::setAuth($access_key, $secret_key);siEdit.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 279 lines
1<?php 2/*---------------------------------------- 53 { 54 $str->goto_url(urldecode($_GET['r'])); 55 }item.php https://bitbucket.org/eternaware/joomus.git | PHP | 345 lines
145 $this->setMessage($this->getError(), 'error'); 146 $this->setRedirect(JRoute::_('index.php?option=com_menus&view=items' . $this->getRedirectToListAppend(), false)); 147 186 $args = array(); 187 parse_str(parse_url($data['link'], PHP_URL_QUERY), $args); 188 190 $args = array_merge($args, $data['request']); 191 $data['link'] = 'index.php?' . urldecode(http_build_query($args, '', '&')); 192 unset($data['request']); 217 // Redirect back to the edit screen. 218 $this->setRedirect(JRoute::_('index.php?option=' . $this->option . '&view=' . $this->view_item . $this->getRedirectToItemAppend($recordId), false)); 219 240 $this->setMessage(JText::sprintf('JLIB_APPLICATION_ERROR_CHECKIN_FAILED', $model->getError()), 'warning'); 241 $this->setRedirect(JRoute::_('index.php?option=' . $this->option . '&view=' . $this->view_item . $this->getRedirectToItemAppend($recordId), false)); 242ArchiveClassLoader.class.php https://github.com/ghiata/xp-framework.git | PHP | 226 lines
1<?php 2/* This class is part of the XP framework 76 77 // Absolute URIs have the form "xar://containing.xar?the/classes/Name.class.php" 78 if ((DIRECTORY_SEPARATOR === $uri{0} || (':' === $uri{1} && '\\' === $uri{2}))) { 160 public function providesPackage($package) { 161 $acquired= xarloader::acquire(urldecode(substr($this->archive, 6, -1))); 162 $cmps= strtr($package, '.', '/').'/'; 180 181 $path= $expand && 0 !== strncmp('xar://', urldecode($path), 6) ? realpath($path) : $path; 182 if (!isset($pool[$path])) { 196 $contents= array(); 197 $acquired= xarloader::acquire(urldecode(substr($this->archive, 6, -1))); 198 $cmps= strtr($package, '.', '/'); 208 // archive.xar 209 // - tests/ClassOne.class.php 210 // - tests/classes/RecursionTest.class.phpWeb.hx https://github.com/MarcWeber/haxe-compiler-experiments.git | Haxe | 391 lines
46 var n = a.shift(); 47 h.set(StringTools.urlDecode(n),StringTools.urlDecode(a.join("="))); 48 } 191 public static function getClientHeader( k : String ) : String { 192 //Remark : PHP puts all headers in uppercase and replaces - with _, we deal with that here 193 var k = StringTools.replace(k.toUpperCase(),"-","_"); 237 public static function getPostData() { 238 var h = untyped __call__("fopen", "php://input", "r"); 239 var bsize = 8192; 275 public static function getAuthorization() : { user : String, pass : String } { 276 if(!untyped __php__("isset($_SERVER['PHP_AUTH_USER'])")) 277 return null; 277 return null; 278 return untyped {user: __php__("$_SERVER['PHP_AUTH_USER']"), pass: __php__("$_SERVER['PHP_AUTH_PW']")}; 279 }index.php https://github.com/russelldavis/showslow.git | PHP | 229 lines
1<?php 2require_once(dirname(dirname(dirname(__FILE__))).'/global.php'); 35 36$post_data = file_get_contents("php://input"); 37$post = json_decode($post_data, true); 45{ 46 $url_id = getUrlId(urldecode($post['u'])); 47 202 203 require_once(dirname(dirname(dirname(__FILE__))).'/header.php'); 204 ?> 208<h2>Configure your YSlow</h2> 209<p><b style="color: red">WARNING! Only use this beacon If you're OK with all your YSlow data to be recorded by this instance of ShowSlow and displayed at <a href="<?php echo $showslow_base?>"><?php echo $showslow_base?></a><br/>You can also <a href="http://www.showslow.org/Installation_and_configuration">install ShowSlow on your own server</a> to limit the risk.</b></p> 210 215<ul> 216<li>extensions.yslow.beaconUrl = <b style="color: blue"><?php echo $showslow_base?>beacon/yslow/</b></li> 217<li>extensions.yslow.beaconInfo = <b style="color: blue">grade</b></li>PPUtils.php https://gitlab.com/CORP-RESELLER/sdk-core-php | PHP | 333 lines
1<?php 2namespace PayPal\Core; 9 * Convert a Name Value Pair (NVP) formatted string into 10 * an associative array taking care to urldecode array values 11 * 21 list($k, $v) = explode("=", $p); 22 $ret[$k] = urldecode($v); 23 }Sqs.php https://bitbucket.org/openfisma-ondemand/openfisma.git | PHP | 465 lines
1<?php 2/** 25 */ 26// require_once 'Zend/Service/Amazon/Abstract.php'; 27 30 */ 31// require_once 'Zend/Crypt/Hmac.php'; 32 118 } else { 119 // require_once 'Zend/Service/Amazon/Sqs/Exception.php'; 120 throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code); 144 if ($result->Error->Code !== null) { 145 // require_once 'Zend/Service/Amazon/Sqs/Exception.php'; 146 throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code); 162 if (isset($result->Error)) { 163 // require_once 'Zend/Service/Amazon/Sqs/Exception.php'; 164 throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code);class-wc-api-authentication.php https://bitbucket.org/theshipswakecreative/psw.git | PHP | 357 lines
1<?php 2/** 75 // get consumer key 76 if ( ! empty( $_SERVER['PHP_AUTH_USER'] ) ) { 77 78 // should be in HTTP Auth header by default 79 $consumer_key = $_SERVER['PHP_AUTH_USER']; 80 91 // get consumer secret 92 if ( ! empty( $_SERVER['PHP_AUTH_PW'] ) ) { 93 94 // should be in HTTP Auth header by default 95 $consumer_secret = $_SERVER['PHP_AUTH_PW']; 96 125 * 2) The OAuth parameters are included as part of the request query string instead of part of the Authorization header, 126 * This is because there is no cross-OS function within PHP to get the raw Authorization header 127 *_settings.php https://bitbucket.org/benjamin_cassinat/meute-apax.git | PHP | 266 lines
1<?php 2/* 73if($site!="search") { 74 $request=strtolower(urldecode($_SERVER['QUERY_STRING'])); 75 $protarray=array("union","select","into","where","update ","from","/*","set ",PREFIX."user ",PREFIX."user(",PREFIX."user`",PREFIX."user_groups","phpinfo", 132 include('version.php'); 133 $info='webSPELL Version: '.$version.'<br />PHP Version: '.phpversion().'<br />MySQL Version: '.mysql_get_server_info().'<br />'; 134 } else { 168function systeminc($file) { 169 if(!include('src/'.$file.'.php')) system_error('Could not get system file for '.$file); 170}options.php https://gitlab.com/jbenicky/Mods-for-HESK | PHP | 393 lines
1<?php 2/******************************************************************************* 27 * a license please visit the page below: 28 * https://www.hesk.com/buy.php 29 *******************************************************************************/ 34/* Get all the required files and functions */ 35require(HESK_PATH . 'hesk_settings.inc.php'); 36require(HESK_PATH . 'inc/common.inc.php'); 36require(HESK_PATH . 'inc/common.inc.php'); 37require(HESK_PATH . 'inc/admin_functions.inc.php'); 38 39$id = hesk_input(hesk_GET('i')); 40$query = hesk_input(hesk_utf8_urldecode(hesk_GET('q'))); 41$type = hesk_input(hesk_GET('t', 'text')); 48<head> 49 <title><?php echo $hesklang['opt']; ?></title> 50 <meta http-equiv="Content-Type" content="text/html;charset=<?php echo $hesklang['ENCODING']; ?>"/>class.tx_solr_facet_simplefacetrenderer.php https://github.com/hkremer/Publieke-Omroep-Typo3.git | PHP | 391 lines
1<?php 2/*************************************************************** 213 if (isset($resultParameters['filter'])) { 214 $filterParameters = (array) array_map('urldecode', $resultParameters['filter']); 215 } 314 && !$solrConfiguration['search.']['faceting.']['singleFacetMode']) { 315 $filterParameters = array_map('urldecode', $resultParameters['filter']); 316 } 334 // urlencode the array to get the original representation 335 $filterParameters = array_values((array) array_map('urldecode', $resultParameters['filter'])); 336 $filterParameters = array_unique($filterParameters); 357 // urlencode the array to get the original representation 358 $filterParameters = array_values((array) array_map('urldecode', $resultParameters['filter'])); 359 $filterParameters = array_unique($filterParameters); 386 387if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/solr/classes/facet/class.tx_solr_facet_simplefacetrenderer.php']) { 388 include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/solr/classes/facet/class.tx_solr_facet_simplefacetrenderer.php']);s3rl.php https://github.com/drobbins/s3db.git | PHP | 455 lines
1<?php 2#this script accepts inputs of url,public key and, in case an update is attemtped, an encripted message as well 15else { 16 echo 's3rl.php is a function to retrieve the url of a specific Did. For documentation and usage please refer to <a href="http://s3db.org/">s3db.org</a>'; 17 21$url =$_REQUEST['url']; 22$publicKey = urldecode($_REQUEST['publicKey']); 23$Did = ($_REQUEST['s3rl']!='')?$_REQUEST['s3rl']:$_REQUEST['Did']; 68 69include_once('config.inc.php'); 70$key=$GLOBALS['deployment_project']['key']; 70$key=$GLOBALS['deployment_project']['key']; 71include 'core.header.php'; 72#include (S3DB_SERVER_ROOT.'/webActions.php'); 72#include (S3DB_SERVER_ROOT.'/webActions.php'); 73#require_once(S3DB_SERVER_ROOT.'/s3dbcore/class.db.inc.php'); 74#include_once(S3DB_SERVER_ROOT.'/s3dbcore/common_functions.inc.php');wc-formatting-functions.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 607 lines
1<?php 2/** 19 * 20 * urldecode is used to reverse munging of UTF8 characters. 21 * 25function wc_sanitize_taxonomy_name( $taxonomy ) { 26 return apply_filters( 'sanitize_taxonomy_name', urldecode( sanitize_title( $taxonomy ) ), $taxonomy ); 27} 157 // @codeCoverageIgnoreStart 158 if ( version_compare( phpversion(), '5.3', '<' ) ) { 159 $tax = round( $tax, $dp ); 210/** 211 * Convert a float to a string without locale formatting which PHP adds when changing floats to strings 212 * @param float $float 402 * 403 * Adapted from http://www.php.net/manual/en/function.timezone-name-from-abbr.php#89155 404 *AuthSub.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 254 lines
1<?php 2 20 * @license http://framework.zend.com/license/new-bsd New BSD License 21 * @version $Id: AuthSub.php 24593 2012-01-05 20:35:02Z matthew $ 22 */ 26 */ 27require_once 'Zend/Gdata/HttpClient.php'; 28 31 */ 32require_once 'Zend/Version.php'; 33 82 $querystring = '?next=' . urlencode($next) 83 . '&scope=' . urldecode($scope) 84 . '&secure=' . urlencode($secure) 122 } catch (Zend_Http_Client_Exception $e) { 123 require_once 'Zend/Gdata/App/HttpException.php'; 124 throw new Zend_Gdata_App_HttpException( $e->getMessage(), $e );IndexController.php https://github.com/leochaves/magento-pt_br.git | PHP | 387 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 * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 230 $this->getResponse()->setRedirect( 231 Mage::helper('core')->urlDecode($this->getRequest()->getParam(self::PARAM_NAME_BASE64_URL)) 232 );functions.php https://github.com/molokoloco/FRAMEWORK.git | PHP | 204 lines
9 $feedUrl = ''; 10 //if (!empty($_GET['feed'])) $feedUrl = urldecode($_GET['feed']); // From form input index.php, HTML Form encoding 11 if (!empty($_GET['url'])) $feedUrl = /*rawurldecode(*/$_GET['url']/*)*/; // From Bookmarklet, JS encodeURIComponent() 20 21// customPhpLibs... --------------------------------------------- 22 122 $text = implode(' ', $words); 123 // Sick bug with link... cut in the middle ? trash patch... // Cf. formatting.php > force_balance_tags($text) 124 $diff = count(explode('<a' , ' '.$text.' ')) - count(explode('</a>' , ' '.$text.' ')); 198 199function d($var='<< PHP says that you killing him softly >>') { 200 db($var);filecloud_io.php https://gitlab.com/billyprice1/rapidleech | PHP | 185 lines
1<?php 2 25 if (preg_match('@\nLocation: (https?://s\d+\.filecloud\.io/[^\r\n]+)@i', $this->page, $dllink)) { 26 $filename = urldecode(basename(parse_url($dllink[1], PHP_URL_PATH))); 27 return $this->RedirectDownload($dllink[1], $filename); 42 elseif (!empty($_POST['skip']) && $_POST['skip'] == 'true') { 43 $this->_ukey = urldecode($_POST['_ukey']); 44 $this->ab1 = urldecode($_POST['_ab1']); 80 81 $filename = urldecode(basename(parse_url($dllink[0], PHP_URL_PATH))); 82 return $this->RedirectDownload($dllink[0], $filename, $this->cookie); 85 private function Get_Reply($page) { 86 if (!function_exists('json_decode')) html_error('Error: Please enable JSON in php.'); 87 // First time using json_decode in plugins. :) 175 176 $filename = urldecode(basename(parse_url($rply['download_url'], PHP_URL_PATH))); 177 return $this->RedirectDownload($rply['download_url'], $filename);util_setdir.php https://gitlab.com/billyprice1/ruTorrent | PHP | 283 lines
1<?php 2 2 3require_once( "../../php/xmlrpc.php" ); 4require_once( "../../php/Torrent.php" ); 4require_once( "../../php/Torrent.php" ); 5require_once( "../../php/rtorrent.php" ); 6require_once( './util_rt.php' ); 187 $tied_to_file = $req->val[1]; 188 $label = rawurldecode( $req->val[2] ); 189 $addition = array();class-wp-http-cookie.php https://gitlab.com/morganestes/wordpress-develop | PHP | 251 lines
1<?php 2/** 103 $this->name = $name; 104 $this->value = urldecode( $value ); 105router.php https://github.com/joomla-example/joomla-repo.git | PHP | 453 lines
1<?php 2/** 2/** 3* @version $Id: router.php 8180 2007-07-23 05:52:29Z eddieajau $ 4* @package Joomla.Framework 6* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. 7* @license GNU/GPL, see LICENSE.php 8* Joomla! is free software. This version may have been modified pursuant 11* other free or open source software licenses. 12* See COPYRIGHT.php for copyright notices and details. 13*/ 55 56 if($app->getCfg('sef_suffix') && !(substr($path, -9) == 'index.php' || substr($path, -1) == '/')) 57 { 254 // urldecode twice because it is encoded twice 255 $segments[$i] = urldecode(urldecode(stripcslashes($segments[$i]))); 256 }class.jetpack-json-api-plugins-endpoint.php https://gitlab.com/chernushov881/charity-fund | PHP | 362 lines
1<?php 2 92 $this->bulk = false; 93 $this->plugins[] = urldecode( $plugin ); 94 } 111 foreach( $this->plugins as $index => $plugin ) { 112 if ( ! preg_match( "/\.php$/", $plugin ) ) { 113 $plugin = $plugin . '.php'; 115 } 116 $valid = $this->validate_plugin( urldecode( $plugin ) ) ; 117 if ( is_wp_error( $valid ) ) { 129 $plugin = array(); 130 $plugin['id'] = preg_replace("/(.+)\.php$/", "$1", $plugin_file ); 131 $plugin['slug'] = Jetpack_Autoupdate::get_plugin_slug( $plugin_file ); 148 if ( ! class_exists( 'WP_Automatic_Updater' ) ) { 149 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 150 }ContentExchangeTest.java https://github.com/dekellum/jetty.git | Java | 384 lines
9// The Apache License v2.0 is available at 10// http://www.opensource.org/licenses/apache2.0.php 11// You may elect to redistribute this code under either of these licenses. 25import java.io.OutputStream; 26import java.net.URLDecoder; 27 347 348 File file = new File(resourcePath, URLDecoder.decode(request.getPathInfo())); 349 file.getParentFile().mkdirs();tiki-export_tracker.php https://gitlab.com/ElvisAns/tiki | PHP | 301 lines
1<?php 2 14 15require_once('tiki-setup.php'); 16$access->check_feature('feature_trackers'); 91 } else { 92 $values[] = urldecode($val); 93 } 97 } else { 98 $exactValues[] = urldecode($val); 99 }json.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 274 lines
1<?php 2/** 2/** 3* REST Application Programming Interface PHP class for the WordPress plugin NextGEN Gallery 4* Should emulate some kind of Flickr JSON callback : ?callback=json&format=json&api_key=1234567890&method=search&term=myterm 8* @copyright Copyright 2010 9* @require PHP 5.2.0 or higher 10* 57 if ( !function_exists('json_encode') ) 58 wp_die('Json_encode not available. You need to use PHP 5.2'); 59 63 $this->method = isset($_GET['method']) ? strtolower( $_GET['method'] ) : false; 64 $this->term = isset($_GET['term']) ? urldecode( $_GET['term'] ) : false; 65 $this->id = isset($_GET['id']) ? (int) $_GET['id'] : 0; 262 /** 263 * PHP5 style destructor and will run when the class is finished. 264 *pyodbc.py https://gitlab.com/ztane/sqlalchemy | Python | 260 lines
4# This module is part of SQLAlchemy and is released under 5# the MIT License: http://www.opensource.org/licenses/mit-license.php 6 64presented above, use the ``odbc_connect`` keyword to pass in a 65urlencoded connection string. What gets passed in will be urldecoded 66and passed directly.aselect.php https://bitbucket.org/sahkoinenaanestys/sahkoinenaanestys.git | PHP | 203 lines
1<?php 2 8class sspmod_aselect_Auth_Source_aselect extends SimpleSAML_Auth_Source { 9 private $app_id = 'simplesamlphp'; 10 private $server_id; 51 try { 52 $app_url = SimpleSAML_Module::getModuleURL('aselect/credentials.php', array('ssp_state' => $id)); 53 $as_url = $this->request_authentication($app_url); 92 throw new SimpleSAML_Error_Exception("Missing value in attributes parameter"); 93 $key = urldecode($keyval[0]); 94 $val = urldecode($keyval[1]); 108 CURLOPT_TIMEOUT => 5, 109 CURLOPT_USERAGENT => "simpleSAMLphp", 110 );index.php https://bitbucket.org/gopchu/gopchu.org.git | PHP | 421 lines
12 13 //require_once('markdown.php'); 14 23 if (!isset($BASE_URL)) { $BASE_URL = "/wigit"; } 24 if (!isset($SCRIPT_URL)) { $SCRIPT_URL = "$BASE_URL/index.php?r="; } 25 if (!isset($TITLE)) { $TITLE = "WiGit"; } 79 function getHTTPUser() { 80 // This code is copied from phpMyID. Thanks to the phpMyID dev(s). 81 if (function_exists('apache_request_headers') && ini_get('safe_mode') == false) { 87 $hdr = $_SERVER['HTTP_AUTHORIZATION']; 88 } elseif (isset($_ENV['PHP_AUTH_DIGEST'])) { 89 $hdr = $_ENV['PHP_AUTH_DIGEST']; 90 } elseif (isset($_REQUEST['auth'])) { 91 $hdr = stripslashes(urldecode($_REQUEST['auth'])); 92 } else {Sqs.php https://gitlab.com/rsilveira1987/Expresso | PHP | 436 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Sqs.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 21 */ 25 */ 26require_once 'Zend/Service/Amazon/Abstract.php'; 27 30 */ 31require_once 'Zend/Crypt/Hmac.php'; 32 116 } else { 117 require_once 'Zend/Service/Amazon/Sqs/Exception.php'; 118 throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code); 142 if ($result->Error->Code !== null) { 143 require_once 'Zend/Service/Amazon/Sqs/Exception.php'; 144 throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code);