100+ results results for 'php urlencode repo:eyeswebcrea/espace-couture-sittler.fr' (784 ms)
7import java.io._ 8import java.net.{URLEncoder, URL} 9import java.util.logging.{Logger, Level} 20 * From now on we use MobileFrontend for MW <2.21 and TextExtracts for MW > 2.22 21 * The patched mw instance is no longer needed except from minor customizations in LocalSettings.php 22 * TODO: we need to adapt the TextExtracts extension to accept custom wikicode syntax. 38 //TODO make this configurable 39 protected def apiUrl: String = "http://localhost/mediawiki/api.php" 40 132 // The encoded title may contain some URI-escaped characters (e.g. "5%25-Klausel"), 133 // so we can't use URLEncoder.encode(). But "&" is not escaped, so we do this here. 134 // TODO: there may be other characters that need to be escaped. 140 // Fill parameters 141 val parameters = apiParametersFormat.format(titleParam/*, URLEncoder.encode(pageWikiText, "UTF-8")*/) 142adv_graph_list.php https://gitlab.com/alexprowars/bitrix | PHP | 413 lines
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/statistic/prolog.php"); 4/** @var CMain $APPLICATION */ 144 $height = COption::GetOptionString("statistic", "GRAPH_HEIGHT"); 145 $str = "ADV_ID=".$ADV_ID."&find_date1=".urlencode($find_date1)."&find_date2=".urlencode($find_date2); 146 $s = ""; 210 </td> 211 <td><img src="/bitrix/admin/graph_legend.php?color=<?=$arrColor["GUESTS"]?>&dash=Y" width="45" height="2"></td> 212 <td nowrap><img src="/bitrix/images/1.gif" width="3" height="1"><?=GetMessage("STAT_GUESTS")?></td> 249 $graph_2 = "Y"; 250 $str = "ADV_ID=".$ADV_ID."&find_date1=".urlencode($find_date1)."&find_date2=".urlencode($find_date2). "&find_show_money=".$find_show_money; 251 $s = ""; 309 //"ICON" => "btn_list", 310 "LINK" =>"/bitrix/admin/adv_dynamic_list.php?lang=".LANG."&find_adv_id=".$ADV_ID."&find_date1=".urlencode($arFilter["DATE1"])."&find_date2=".urlencode($arFilter["DATE2"])."&set_filter=Y", 311 );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})();index.php https://github.com/bruno/openaustralia-app.git | PHP | 320 lines
2 3include_once '../../includes/easyparliament/init.php'; 4include_once '../../includes/postcode.inc'; 5 6include_once 'api_functions.php'; 7 177<label for="output_xml">XML</label> 178<input id="output_php" type="radio" name="output" value="php"<? if (get_http_var('output')=='php') print ' checked'?>> 179<label for="output_php">Serialised PHP</label> 190 if (get_http_var($parameter)) 191 $qs[] = htmlspecialchars(rawurlencode($parameter) . '=' . urlencode(get_http_var($parameter))); 192 } 228<li><strong>xml</strong>. XML. The root element is twfy.</li> 229<li><strong>php</strong>. Serialized PHP, that can be turned back into useful information with the unserialize() command. Quite useful in Python as well, using <a href="http://hurring.com/code/python/serialize/">PHPUnserialize</a>.</li> 230<li><strong>js</strong>. A JavaScript object. You can provide a callbackrequest.py https://bitbucket.org/eaviles/gobierno.git | Python | 405 lines
1# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org) 2# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php 3# (c) 2005 Ian Bicking and contributors 4# This module is part of the Python Paste Project and is released under 5# the MIT License: http://www.opensource.org/licenses/mit-license.php 6""" 153 type = type.split(';', 1)[0] 154 fake_out_cgi = type not in ('', 'application/x-www-form-urlencoded', 155 'multipart/form-data')Helper.php https://gitlab.com/wuhang2003/typecho | PHP | 442 lines
1<?php 2/** 265 $panelTable['child'][$index] = empty($panelTable['child'][$index]) ? array() : $panelTable['child'][$index]; 266 $fileName = urlencode(trim($fileName, '/')); 267 $panelTable['child'][$index][] = array($title, $subTitle, 'extending.php?panel=' . $fileName, $level, $hidden, $addLink); 294 $panelTable['file'] = empty($panelTable['file']) ? array() : $panelTable['file']; 295 $fileName = urlencode(trim($fileName, '/')); 296 302 foreach ($panelTable['child'][$index] as $key => $val) { 303 if ($val[2] == 'extending.php?panel=' . $fileName) { 304 unset($panelTable['child'][$index][$key]); 323 { 324 return Typecho_Common::url('extending.php?panel=' . (trim($fileName, '/')), self::options()->adminUrl); 325 }font_container.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 298 lines
1<?php 2 145 foreach ( $fonts as $font_name => $font_data ) { 146 $data['font_family'] .= '<option value="' . $font_name . '" class="' . vc_build_safe_css_class( $font_name ) . '" ' . ( strtolower( $values['font_family'] ) == strtolower( $font_name ) ? 'selected="selected"' : '' ) . ' data[font_family]="' . urlencode( $font_data ) . '">' . __( $font_name, 'js_composer' ) . '</option>'; 147 }PhpFormBuilder.php https://gitlab.com/em645jn/brochure | PHP | 539 lines
1<?php 2 4 5class PhpFormBuilder { 6 30 else { 31 $pirate_forms_enctype = 'application/x-www-form-urlencoded'; 32 } 88 case 'enctype': 89 if ( ! in_array( $val, array( 'application/x-www-form-urlencoded', 'multipart/form-data' ) ) ) { 90 return false;class-wp-ms-users-list-table.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 301 lines
95 $role_links = array(); 96 $role_links['all'] = "<a href='" . network_admin_url('users.php') . "'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users, 'users' ), number_format_i18n( $total_users ) ) . '</a>'; 97 $class = $role == 'super' ? ' class="current"' : ''; 175 <th scope="row" class="check-column"> 176 <label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label> 177 <input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" /> 183 $avatar = get_avatar( $user->user_email, 32 ); 184 $edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), get_edit_user_link( $user->ID ) ) ); 185 186 echo "<td $attributes>"; ?> 187 <?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php 188 if ( in_array( $user->user_login, $super_admins ) ) 196 if ( current_user_can( 'delete_user', $user->ID ) && ! in_array( $user->user_login, $super_admins ) ) { 197 $actions['delete'] = '<a href="' . $delete = esc_url( network_admin_url( add_query_arg( '_wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), wp_nonce_url( 'users.php', 'deleteuser' ) . '&action=deleteuser&id=' . $user->ID ) ) ) . '" class="delete">' . __( 'Delete' ) . '</a>'; 198 }amazon.php https://gitlab.com/hazelnuts23/unitedfoodstuff | PHP | 502 lines
1<?php 2class Amazon { 40 CURLOPT_SSL_VERIFYHOST => 0, 41 CURLOPT_POSTFIELDS => 'token=' . $this->token . '&data=' . rawurlencode($crypt) . '&opencart_version=' . VERSION, 42 ); 73 CURLOPT_SSL_VERIFYHOST => 0, 74 CURLOPT_POSTFIELDS => 'token=' . $this->token . '&data=' . rawurlencode($crypt) . '&opencart_version=' . VERSION, 75 );Sqs.php https://bitbucket.org/kdms/sh-magento.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 */ 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);class-wc-download-handler.php https://gitlab.com/haque.mdmanzurul/soundkreationsfinal | PHP | 426 lines
1<?php 2 132 if ( wc_get_page_id( 'myaccount' ) ) { 133 wp_safe_redirect( add_query_arg( 'wc_error', urlencode( __( 'You must be logged in to download files.', 'woocommerce' ) ), wc_get_page_permalink( 'myaccount' ) ) ); 134 exit; 338 } 339 if ( function_exists( 'get_magic_quotes_runtime' ) && get_magic_quotes_runtime() && version_compare( phpversion(), '5.4', '<' ) ) { 340 set_magic_quotes_runtime( 0 ); 369 * 370 * Reads file in chunks so big downloads are possible without changing PHP.INI - http://codeigniter.com/wiki/Download_helper_for_large_files/ 371 *function_forumlist.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 386 lines
1<?php 2 6 * 7 * $Id: function_forumlist.php 31131 2012-07-18 09:44:21Z liulanbo $ 8 */ 39 $forum['icon'] = get_forumimg($forum['icon']); 40 $forum['icon'] = '<a href="forum.php?mod=forumdisplay&fid='.$forum['fid'].'"><img src="'.$forum['icon'].'" align="left" alt="" /></a>'; 41 } 60 if($lastpost['author']) { 61 $lastpost['author'] = '<a href="home.php?mod=space&username='.rawurlencode($lastpost['author']).'">'.$lastpost['author'].'</a>'; 62 } 155 foreach(explode("\t", $moderators) as $moderator) { 156 $modlist .= $comma.'<a href="home.php?mod=space&username='.rawurlencode($moderator).'" class="notabs" c="1">'.($inherit ? '<strong>'.$moderator.'</strong>' : $moderator).'</a>'; 157 $comma = ', '; 291 if($imgd[0] && $imgd[3]) { 292 $recommend['filename'] = 'forum.php?mod=image&aid='.$imgd[0].'&size='.$imgd[1].'x'.$imgd[2].'&key='.rawurlencode($imgd[3]); 293 }options.php https://gitlab.com/alexprowars/bitrix | PHP | 352 lines
7 8 IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/options.php"); 9 IncludeModuleLangFile(__FILE__); 41 { 42 require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/perfmon/prolog.php"); 43 91 $Update = $Update.$Apply; 92 require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php"); 93 ob_end_clean(); 97 if (($Apply <> '') || ($RestoreDefaults <> '')) 98 LocalRedirect($APPLICATION->GetCurPage()."?mid=".urlencode($module_id)."&lang=".urlencode(LANGUAGE_ID)."&back_url_settings=".urlencode($_REQUEST["back_url_settings"])."&".$tabControl->ActiveTabParam()); 99 else 103 { 104 LocalRedirect($APPLICATION->GetCurPage()."?mid=".urlencode($module_id)."&lang=".urlencode(LANGUAGE_ID)."&".$tabControl->ActiveTabParam()); 105 }helper_functions.php https://github.com/craigulliott/FTP-SSH.tmbundle.git | PHP | 317 lines
1<?php 2/** 46 if(0 == strcasecmp('ftp', $PREFS['protocol'])) { 47 // The remote path must be encoded by rawurlencode() (RFC 1738) 48 $path = rawurlencode($PREFS['path'].$relative_dir.$TM_FILENAME); 106 if(0 == strcasecmp('ftp', $PREFS['protocol'])) { 107 // Encoded by rawurlencode() (RFC 1738) does not work here. May be a bug in the ftp client? 108 // Escaping spaces not nessecary because of escapeshellarg() belowConfigForm.php https://gitlab.com/panace/public | PHP | 451 lines
1<?php 2 156 if ($this->docURL) { 157 $url = str_replace('%s', urlencode("$ns.$directive"), $this->docURL); 158 $ret .= $this->start('a', array('href' => $url)); 324 case HTMLPurifier_VarParser::ALIST: 325 $value = implode(PHP_EOL, $value); 326 break; 333 } 334 $nvalue .= "$i:$v" . PHP_EOL; 335 }recaptchalib.php https://bitbucket.org/Mainboarder/s2firewall.git | PHP | 277 lines
1<?php 2/* 2/* 3 * This is a PHP library that handles calling reCAPTCHA. 4 * - Documentation and latest version 4 * - Documentation and latest version 5 * http://recaptcha.net/plugins/php/ 6 * - Get a reCAPTCHA API Key 49 foreach ( $data as $key => $value ) 50 $req .= $key . '=' . urlencode( stripslashes($value) ) . '&'; 51 72 $http_request .= "Host: $host\r\n"; 73 $http_request .= "Content-Type: application/x-www-form-urlencoded;\r\n"; 74 $http_request .= "Content-Length: " . strlen($req) . "\r\n"; 74 $http_request .= "Content-Length: " . strlen($req) . "\r\n"; 75 $http_request .= "User-Agent: reCAPTCHA/PHP\r\n"; 76 $http_request .= "\r\n";recaptchalib.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 343 lines
1<?php 2 3/** 4 * This is a PHP library that handles calling reCAPTCHA. 5 * - Documentation and latest version 5 * - Documentation and latest version 6 * {@link http://code.google.com/apis/recaptcha/docs/php.html} 7 * - Get a reCAPTCHA API Key 53 foreach ( $data as $key => $value ) 54 $req .= $key . '=' . urlencode( $value ) . '&'; 55 79 80 require_once $CFG->libdir . '/filelib.php'; 81 85 $headers['Host'] = $host; 86 $headers['Content-Type'] = 'application/x-www-form-urlencoded'; 87 $headers['Content-Length'] = strlen($req);menus-sync.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 272 lines
63 <tr> 64 <th scope="row" class="check-column"><input type="checkbox" name="sync[menu_translation][<?php echo $menu_id ?>][<?php echo $language ?>]" value="<?php echo esc_attr( $name ) ?>"/></th> 65 <td><?php echo $lang_details[ 'display_name' ]; ?></td> 154 ?> 155 <input type="text" name="sync[menu_translations][<?php echo $menu_id ?>][<?php echo $l[ 'code' ] ?>]" class="icl_msync_add" value="<?php 156 echo esc_attr( $menu[ 'name' ] ) . ' - ' . $l[ 'display_name' ] ?>"/> 163 ?> 164 <input type="hidden" name="sync[menu_options][<?php echo $menu_id ?>][<?php echo $l[ 'code' ] ?>][auto_add]" value="<?php echo esc_attr( $menu[ 'translations' ][ $l[ 'code' ] ][ 'auto_add' ] ); ?>"/> 165 <?php 184 ?> 185 <input id="icl_msync_sync" type="submit" class="button-primary" value="<?php _e( 'Sync', 'sitepress' ); ?>"<?php if ( !$need_sync ): ?> disabled="disabled"<?php endif; ?> /> 186 195 ?> 196 <input id="icl_msync_sync" type="submit" class="button-primary" value="<?php _e( 'Nothing Sync', 'sitepress' ); ?>"<?php if ( !$need_sync ): ?> disabled="disabled"<?php endif; ?> /> 197 <?phpApiRequestor.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 399 lines
1<?php 2 93 } else { 94 $r[] = urlencode($k)."=".urlencode($v); 95 } 179 $params = self::_encodeObjects($params); 180 $langVersion = phpversion(); 181 $uname = php_uname(); 182 $ua = array('bindings_version' => Stripe::VERSION, 183 'lang' => 'php', 184 'lang_version' => $langVersion, 187 $headers = array('X-Stripe-Client-User-Agent: ' . json_encode($ua), 188 'User-Agent: Stripe/v1 PhpBindings/' . Stripe::VERSION, 189 'Authorization: Bearer ' . $myApiKey); 259 if (!defined('CURLE_SSL_CACERT_BADFILE')) { 260 define('CURLE_SSL_CACERT_BADFILE', 77); // constant not defined in PHP 261 }yandex_setup.php https://gitlab.com/Rad1calDreamer/honey | PHP | 463 lines
2//<title>Yandex</title> 3IncludeModuleLangFile($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/catalog/export_setup_templ.php'); 4 134 "TITLE"=>GetMessage("CATI_ADM_RETURN_TO_LIST_TITLE"), 135 "LINK"=>"/bitrix/admin/cat_export_setup.php?lang=".LANGUAGE_ID, 136 "ICON"=>"btn_list", 198 ), 199 "ClearSelected(); BX('id_ifr').src='/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID=0&'+'".bitrix_sessid_get()."';", 200 "ClearSelected(); BX('id_ifr').src='/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID='+this[this.selectedIndex].value+'&'+'".bitrix_sessid_get()."';", 358 </script> 359 <iframe src="/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID=<?=intval($IBLOCK_ID)?>&<? echo bitrix_sessid_get(); ?>" id="id_ifr" name="ifr" style="display:none"></iframe> 360 </td> 373 var obDetailWindow = new BX.CAdminDialog({ 374 'content_url': '/bitrix/tools/catalog_export/yandex_detail.php?lang=<?=LANGUAGE_ID?>&bxpublic=Y&IBLOCK_ID=' + s[s.selectedIndex].value, 375 'content_post': 'XML_DATA='+BX.util.urlencode(dat.value)+'&'+'<?echo bitrix_sessid_get(); ?>',index.php https://bitbucket.org/gencer/punbb.git | PHP | 244 lines
128else if (isset($_PHPA)) 129 $php_accelerator = '<a href="http://www.php-accelerator.co.uk/">ionCube PHP Accelerator</a>'; 130else if (ini_get('apc.enabled')) 130else if (ini_get('apc.enabled')) 131 $php_accelerator ='<a href="http://www.php.net/apc/">Alternative PHP Cache (APC)</a>'; 132else if (ini_get('zend_optimizer.optimization_level')) 204 <h3 class="ct-legend hn"><span><?php echo $lang_admin_index['Server load'] ?></span></h3> 205 <p><span><?php echo $server_load ?> (<?php echo $num_online.' '.$lang_admin_index['users online']?>)</span></p> 206 </div> 213 <li><span><?php echo $lang_admin_index['Operating system'] ?>: <?php echo PHP_OS ?></span></li> 214 <li><span>PHP: <?php echo PHP_VERSION ?> - <a href="<?php echo forum_link($forum_url['admin_index']) ?>?action=phpinfo"><?php echo $lang_admin_index['Show info'] ?></a></span></li> 215 <li><span><?php echo $lang_admin_index['Accelerator'] ?>: <?php echo $php_accelerator ?></span></li> 226 <li><span><?php echo $lang_admin_index['Rows'] ?>: <?php echo forum_number_format($total_records) ?></span></li> 227 <li><span><?php echo $lang_admin_index['Size'] ?>: <?php echo $total_size ?></span></li> 228<?php endif; ?>FacebookRequest.php https://gitlab.com/iamgraeme/royalmile | PHP | 536 lines
1<?php 2/** 30use Facebook\Http\RequestBodyMultipart; 31use Facebook\Http\RequestBodyUrlEncoded; 32use Facebook\Exceptions\FacebookSDKException; 450 * 451 * @return RequestBodyUrlEncoded 452 */ 452 */ 453 public function getUrlEncodedBody() 454 { 456 457 return new RequestBodyUrlEncoded($params); 458 } 531 return [ 532 'User-Agent' => 'fb-php-' . Facebook::VERSION, 533 'Accept-Encoding' => '*',maxmind.php https://gitlab.com/dadangnh/sb1-bon | PHP | 380 lines
1<?php 2class ModelExtensionFraudMaxMind extends Model { 18 19 $request = 'i=' . urlencode($order_info['ip']); 20 $request .= '&city=' . urlencode($order_info['payment_city']); 20 $request .= '&city=' . urlencode($order_info['payment_city']); 21 $request .= '®ion=' . urlencode($order_info['payment_zone']); 22 $request .= '&postal=' . urlencode($order_info['payment_postcode']); 22 $request .= '&postal=' . urlencode($order_info['payment_postcode']); 23 $request .= '&country=' . urlencode($order_info['payment_country']); 24 $request .= '&domain=' . urlencode(utf8_substr(strrchr($order_info['email'], '@'), 1)); 24 $request .= '&domain=' . urlencode(utf8_substr(strrchr($order_info['email'], '@'), 1)); 25 $request .= '&custPhone=' . urlencode($order_info['telephone']); 26 $request .= '&license_key=' . urlencode($this->config->get('maxmind_key')); 28 if ($order_info['shipping_method']) { 29 $request .= '&shipAddr=' . urlencode($order_info['shipping_address_1']); 30 $request .= '&shipCity=' . urlencode($order_info['shipping_city']);post.php https://github.com/bernard357/yacs.git | PHP | 315 lines
1<?php 2/** 30 * 31 * @see control/configure.php 32 * 36 * [snippet] 37 * POST /yacs/comments/post.php/123 HTTP/1.1 38 * Content-Type: text/xml 53 * [snippet] 54 * POST http://www.foo.com/yacs/comments/post.php/123 55 * Content-Type: application/x-www-form-urlencoded 64 * Accepted calls: 65 * - post.php/<type>/<id> create a new comment for this anchor 66 * - post.php?anchor=<type>:<id> create a new comment for this anchor 66 * - post.php?anchor=<type>:<id> create a new comment for this anchor 67 * - post.php/<id> create a new comment for the anchor 'article:<id>' 68 *Connection.php https://gitlab.com/daveson/lacitypatterns | PHP | 538 lines
1<?php 2 180 $this->options['connection_id_secret'], 181 rawurlencode($this->manager->getUri()), 182 rawurlencode($this->ip), 182 rawurlencode($this->ip), 183 rawurlencode($this->port) 184 );functions.recaptchalib.php https://github.com/dkobia/Garden.git | PHP | 278 lines
1<?php 2/* 2/* 3 * This is a PHP library that handles calling reCAPTCHA. 4 * - Documentation and latest version 4 * - Documentation and latest version 5 * http://recaptcha.net/plugins/php/ 6 * - Get a reCAPTCHA API Key 49 foreach ( $data as $key => $value ) 50 $req .= $key . '=' . urlencode( stripslashes($value) ) . '&'; 51 72 $http_request .= "Host: $host\r\n"; 73 $http_request .= "Content-Type: application/x-www-form-urlencoded;\r\n"; 74 $http_request .= "Content-Length: " . strlen($req) . "\r\n"; 74 $http_request .= "Content-Length: " . strlen($req) . "\r\n"; 75 $http_request .= "User-Agent: reCAPTCHA/PHP\r\n"; 76 $http_request .= "\r\n";JGraphWordBrowser.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 480 lines
28import java.net.URLConnection; 29import java.net.URLEncoder; 30import java.util.ArrayList; 199 // GraphConstants.setRouting(edge.getAttributes(), 200 // JSPGraphParallelEdgeRouter.sharedInstance); 201 return edge; 317 urlConn.setRequestProperty("Content-Type", 318 "application/x-www-form-urlencoded"); 319 DataOutputStream printout = new DataOutputStream(urlConn 320 .getOutputStream()); 321 String content = "s=" + URLEncoder.encode(word, "UTF-8") 322 + "&o2=&o0=1&o6=&o1=1&o5=&o4=&o3=&h=";Misc.php https://gitlab.com/shinvdu/ad | PHP | 399 lines
1<?php 2/* 30 if (!empty($_GET['langCode']) && preg_match("/^[a-z\-]+$/", $_GET['langCode'])) { 31 if (file_exists(CKFINDER_CONNECTOR_LANG_PATH . "/" . $_GET['langCode'] . ".php")) 32 $langCode = $_GET['langCode']; 33 } 34 include CKFINDER_CONNECTOR_LANG_PATH . "/" . $langCode . ".php"; 35 if ($number) { 75 /** 76 * @link http://pl.php.net/manual/en/function.imagecopyresampled.php 77 * replacement to imagecopyresampled that will deliver results that are almost identical except MUCH faster (very typically 30 times faster) 121 /** 122 * @link http://pl.php.net/manual/pl/function.imagecreatefromjpeg.php 123 * function posted by e dot a dot schultz at gmail dot com 182 /** 183 * convert shorthand php.ini notation into bytes, much like how the PHP source does it 184 * @link http://pl.php.net/manual/en/function.ini-get.phpclass.jetpack-modules-list-table.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 305 lines
1<?php 2 3if ( ! class_exists( 'WP_List_Table' ) ) 4 require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php'; 5 74 <# if ( item.activated && 'vaultpress' !== item.module ) { #> 75 <span class='delete'><a href="<?php echo admin_url( 'admin.php' ); ?>?page=jetpack&action=deactivate&module={{{ item.module }}}&_wpnonce={{{ item.deactivate_nonce }}}"><?php _e( 'Deactivate', 'jetpack' ); ?></a></span> 76 <# } else if ( item.available ) { #> 76 <# } else if ( item.available ) { #> 77 <span class='activate'><a href="<?php echo admin_url( 'admin.php' ); ?>?page=jetpack&action=activate&module={{{ item.module }}}&_wpnonce={{{ item.activate_nonce }}}"><?php _e( 'Activate', 'jetpack' ); ?></a></span> 78 <# } #> 86 <tr class="no-modules-found"> 87 <td colspan="2"><?php esc_html_e( 'No Modules Found' , 'jetpack' ); ?></td> 88 </tr> 215 <div class="module-image"> 216 <p><span class="module-image-badge"><?php echo $badge_text; ?></span><span class="module-image-free" style="display: none"><?php echo $free_text; ?></span></p> 217 </div>DataTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 410 lines
1<?php 2/** 22/** 23 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 24 */ 24 */ 25class DataTest extends \PHPUnit_Framework_TestCase 26{ 29 30 /** @var WishlistProviderInterface |\PHPUnit_Framework_MockObject_MockObject */ 31 protected $wishlistProvider; 32 33 /** @var Registry |\PHPUnit_Framework_MockObject_MockObject */ 34 protected $coreRegistry; 35 36 /** @var PostHelper |\PHPUnit_Framework_MockObject_MockObject */ 37 protected $postDataHelper;internal-link-aliases.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 374 lines
1<?php 2 34 if (suwp::permalink_mode() != SUWP_PRETTY_PERMALINKS) 35 $this->print_message('error', sprintf(__('Link Mask Generator won’t work with default or “pathinfo” permalinks. Please change your <a href="%s">permalink structure</a> to enable this module’s functionality.', 'seo-ultimate'), 'options-permalink.php')); 36 115 if (!isset($alias['to'])) $alias['to'] = ''; 116 $u_alias_to = urlencode($alias['to']); 117 271 foreach ($aliases as $alias) { 272 $to = urlencode($alias['to']); 273userpay.php https://bitbucket.org/johnroyer/phpwind8.7.git | PHP | 437 lines
36 $paycredit = key($db_creditpay); 37 $pay_link = "<span class=\"btn\"><span><button onClick=\"location.href='userpay.php?action=buy';\">馬上充值</button></span></span>"; 38 //* include_once pwCache::getPath(D_P.'data/bbscache/ol_config.php'); 38 //* include_once pwCache::getPath(D_P.'data/bbscache/ol_config.php'); 39 pwCache::getData(D_P.'data/bbscache/ol_config.php'); 40 if (!$ol_onlinepay || empty($db_creditpay)) { 141 strlen($ol_99bill) == 11 && $ol_99bill .= '01'; 142 //require_once(R_P.'require/header.php'); 143 !$db_rmbrate && $db_rmbrate=10; 182// $url = "https://www.tenpay.com/cgi-bin/v1.0/pay_gate.cgi?"; 183 $url = "http://pay.phpwind.net/pay/create_payurl.php?"; 184 $para = array( 364 procUnLock('userpay',$winduid); 365 refreshto('userpay.php?action=virement',getLangInfo('msg','virement_success')); 366 } else {ChatsFragment.java https://gitlab.com/jaadchacra/Linc | Java | 251 lines
35import java.io.UnsupportedEncodingException; 36import java.net.URLEncoder; 37import java.text.ParseException; 133 progressBarCenter.setVisibility(View.VISIBLE); 134 String myDate = URLEncoder.encode(dateStrNow(), "utf-8");; 135 136 //JsonArrayRequest of volley 137 StringRequest postRequest = new StringRequest(Request.Method.GET, " http://kcapplications.com/Linc/chat.php?user_id="+userID+"&date="+myDate, 138 new Response.Listener<String>() {options.php https://gitlab.com/code26/selah | PHP | 199 lines
1<?php 2/** 19 public static function admin_page_url() { 20 return admin_url('options-general.php'); 21 } 23 public static function admin_page() { 24 return 'options-general.php'; 25 } 58 global $updraftplus_admin; 59 add_submenu_page('options-general.php', 'UpdraftPlus', __('UpdraftPlus Backups', 'updraftplus'), apply_filters('option_page_capability_updraft-options-group', 'manage_options'), "updraftplus", array($updraftplus_admin, "settings_output")); 60 } 66 $page = ''; 67 if ('options-general.php' == $pagenow) $page = "options.php"; 68 77 } 78 $page .= urlencode($k).'='.urlencode($v); 79 }ipayment.php https://github.com/severnaya99/Sg-2010.git | PHP | 244 lines
1<?php 2/* 2/* 3 $Id: ipayment.php 1 2005-10-24 10:38:39Z Michael $ 4 31 32 $this->form_action_url = 'https://ipayment.de/merchant/' . MODULE_PAYMENT_IPAYMENT_ID . '/processor.php'; 33 } 103 104 include(DIR_WS_CLASSES . 'cc_validation.php'); 105 124 if ( ($result == false) || ($result < 1) ) { 125 $payment_error_return = 'payment_error=' . $this->code . '&error=' . urlencode($error) . '&ipayment_cc_owner=' . urlencode($HTTP_POST_VARS['ipayment_cc_owner']) . '&ipayment_cc_expires_month=' . $HTTP_POST_VARS['ipayment_cc_expires_month'] . '&ipayment_cc_expires_year=' . $HTTP_POST_VARS['ipayment_cc_expires_year'] . '&ipayment_cc_checkcode=' . $HTTP_POST_VARS['ipayment_cc_checkcode']; 126 194 tep_draw_hidden_field('redirect_url', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', true)) . 195 tep_draw_hidden_field('silent_error_url', tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error=' . $this->code . '&ipayment_cc_owner=' . urlencode($HTTP_POST_VARS['ipayment_cc_owner']), 'SSL', true)); 196Trackback.php https://github.com/holsinger/openfloor.git | PHP | 548 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 * 106 107 $data = "url=".rawurlencode($url)."&title=".rawurlencode($title)."&blog_name=".rawurlencode($blog_name)."&excerpt=".rawurlencode($excerpt)."&charset=".rawurlencode($charset); 108 255 fputs ($fp, "Host: " . $target['host'] . "\r\n" ); 256 fputs ($fp, "Content-type: application/x-www-form-urlencoded\r\n" ); 257 fputs ($fp, "Content-length: " . strlen($data) . "\r\n" );class-cp-followers-list-table.php https://gitlab.com/clusterpress/clusterpress | PHP | 395 lines
1<?php 2/** 183 <div class="alignleft actions"> 184 <?php if ( current_user_can( 'promote_users' ) && $this->has_items() ) : ?> 185 185 186 <label class="screen-reader-text" for="<?php echo $id ?>"> 187 <?php esc_html_e( 'Promouvoir en tant que…', 'clusterpress' ) ?> 189 190 <select name="<?php echo $id ?>" id="<?php echo $id ?>"> 191 <option value=""><?php esc_html_e( 'Promouvoir en tant que…', 'clusterpress' ) ?></option> 191 <option value=""><?php esc_html_e( 'Promouvoir en tant que…', 'clusterpress' ) ?></option> 192 <?php wp_dropdown_roles(); ?> 193 </select> 194 195 <?php submit_button( __( 'Promouvoir', 'clusterpress' ), 'button', 'promoteit', false ); 196TheAudioDb.plugin.php https://gitlab.com/x33n/ampache | PHP | 209 lines
1<?php 2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */ 52 53 // API Key requested in TheAudioDB forum, see http://www.theaudiodb.com/forum/viewtopic.php?f=6&t=8&start=140 54 Preference::insert('tadb_api_key','TheAudioDb api key','41214789306c4690752dfb','75','string','plugins'); 179 { 180 return $this->api_call('search.php?s=' . rawurlencode($name)); 181 } 184 { 185 return $this->api_call('artist-mb.php?i=' . $mbid); 186 } 189 { 190 return $this->api_call('searchalbum.php?s=' . rawurlencode($artist) . '&a=' . rawurlencode($album)); 191 } 199 { 200 return $this->api_call('searchtrack.php?s=' . rawurlencode($artist) . '&t=' . rawurlencode($title)); 201 }recaptchalib.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 278 lines
1<?php 2 3/* 4 * This is a PHP library that handles calling reCAPTCHA. 5 * - Documentation and latest version 5 * - Documentation and latest version 6 * http://recaptcha.net/plugins/php/ 7 * - Get a reCAPTCHA API Key 50 foreach ( $data as $key => $value ) 51 $req .= $key . '=' . urlencode( stripslashes($value) ) . '&'; 52 73 $http_request .= "Host: $host\r\n"; 74 $http_request .= "Content-Type: application/x-www-form-urlencoded;\r\n"; 75 $http_request .= "Content-Length: " . strlen($req) . "\r\n"; 75 $http_request .= "Content-Length: " . strlen($req) . "\r\n"; 76 $http_request .= "User-Agent: reCAPTCHA/PHP\r\n"; 77 $http_request .= "\r\n";Git.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 329 lines
1<?php 2 110 $auth = $this->io->getAuthentication($match[1]); 111 $authUrl = 'https://' . rawurlencode($auth['username']) . ':' . rawurlencode($auth['password']) . '@' . $match[1] . '/' . $match[2] . '.git'; 112 $command = call_user_func($commandCallable, $authUrl); 141 $auth = $this->io->getAuthentication($match[1]); 142 $authUrl = 'https://' . rawurlencode($auth['username']) . ':' . rawurlencode($auth['password']) . '@' . $match[1] . '/' . $match[2] . '.git'; 143 173 174 $this->io->writeError(' Authentication required (<info>'.parse_url($url, PHP_URL_HOST).'</info>):'); 175 $auth = array( 182 if ($auth) { 183 $authUrl = $match[1].rawurlencode($auth['username']).':'.rawurlencode($auth['password']).'@'.$match[2].$match[3]; 184 301 { 302 // git might delete a directory when it fails and php will not know 303 clearstatcache();pmd_common.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 299 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 4 * @author Ivan A Kirillov (Ivan.A.Kirillov@gmail.com) 5 * @version $Id: pmd_common.php 12229 2009-02-10 17:36:28Z lem9 $ 6 * @package phpMyAdmin-Designer 11 */ 12require_once './libraries/common.inc.php'; 13// not understand 13// not understand 14require_once './libraries/header_http.inc.php'; 15 17 18require_once './libraries/relation.lib.php'; 19$cfgRelation = PMA_getRelationsParam(); 34 * @uses PMA_getDisplayField() 35 * @uses urlencode() 36 * @uses htmlspecialchars()import.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 415 lines
52 PMA_showMessage(sprintf($strUploadLimit, '[a@./Documentation.html#faq1_16@_blank]', '[/a]')); 53 require('./libraries/footer.inc.php'); 54} 62// Import functions 63require_once('./libraries/import.lib.php'); 64 75} else { 76 if (empty($goto) || !preg_match('@^(server|db|tbl)(_[a-z]*)*\.php$@i', $goto)) { 77 if (isset($table) && isset($db)) { 77 if (isset($table) && isset($db)) { 78 $goto = 'tbl_properties_structure.php'; 79 } elseif (isset($db)) { 93 . '?' . $common 94 . (preg_match('@^tbl_properties(_[a-z]*)?\.php$@', $goto) ? '&table=' . urlencode($table) : ''); 95}index.php https://gitlab.com/jonnialva90/iridium-browser | PHP | 288 lines
1<?php 2/** 26require_once 'lib/oauth/OAuth.php'; 27require_once 'lib/lightopenid/openid.php'; 28 31 'https'; 32$selfUrl = "$scheme://{$_SERVER['HTTP_HOST']}{$_SERVER['PHP_SELF']}"; 33 104 $url = self::LICENSE_SERVER_HOST . '/chromewebstore/v1/licenses/' . 105 self::APP_ID . '/' . urlencode($userId); 106 181 <?php else: ?> 182 <span>Welcome <?php echo @$_SESSION['attributes']['namePerson/first'] ?> <?php echo @$_SESSION['attributes']['namePerson/last'] ?> ( <?php echo $_SESSION['attributes']['contact/email'] ?> )</span> 183 <a href="?logout">Sign out</a> 183 <a href="?logout">Sign out</a> 184 <?php endif; ?> 185 </nav>PayflowproTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 459 lines
1<?php 2/** 18 */ 19class PayflowproTest extends \PHPUnit_Framework_TestCase 20{ 32 /** 33 * @var \Magento\Payment\Model\Method\ConfigInterface|\PHPUnit_Framework_MockObject_MockObject 34 */ 37 /** 38 * @var \Magento\Store\Model\StoreManagerInterface|\PHPUnit_Framework_MockObject_MockObject 39 */ 42 /** 43 * @var \Magento\Paypal\Model\Payflow\Service\Gateway|\PHPUnit_Framework_MockObject_MockObject 44 */ 47 /** 48 * @var \Magento\Framework\App\Config\ScopeConfigInterface|\PHPUnit_Framework_MockObject_MockObject 49 */geoip_handler_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 219 lines
9 10require_once(dirname(__FILE__)."/../include/prolog_admin_before.php"); 11 23if(!$handler) 24 LocalRedirect(!empty($_REQUEST["back_url"]) ? $_REQUEST["back_url"] : 'geoip_handlers_list.php?lang='.LANG); 25 48 if(isset($_POST['apply'])) 49 LocalRedirect("geoip_handler_edit.php?lang=".LANG."&ID=".$id."&CLASS_NAME=".urlencode($className)); 50 else 50 else 51 LocalRedirect(!empty($_REQUEST["back_url"]) ? $_REQUEST["back_url"] : 'geoip_handlers_list.php?lang='.LANG); 52 } 63 64require($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/include/prolog_admin_after.php"); 65theme-editor.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 241 lines
81 $newcontent = wp_unslash( $_POST['newcontent'] ); 82 $location = 'theme-editor.php?file=' . urlencode( $relative_file ) . '&theme=' . urlencode( $stylesheet ) . '&scrollto=' . $scrollto; 83 if ( is_writeable( $file ) ) { 169 <?php if ( $theme->parent() ) : ?> 170 <p class="howto"><?php printf( __( 'This child theme inherits templates from a parent theme, %s.' ), '<a href="' . self_admin_url('theme-editor.php?theme=' . urlencode( $theme->get_template() ) ) . '">' . $theme->parent()->display('Name') . '</a>' ); ?></p> 171 <?php endif; ?> 186?> 187 <li><a href="theme-editor.php?file=<?php echo urlencode( $filename ) ?>&theme=<?php echo urlencode( $stylesheet ) ?>"><?php echo $file_description; ?></a></li> 188<?php 208 <?php echo $docs_select; ?> 209 <input type="button" class="button" value=" <?php esc_attr_e( 'Look Up' ); ?> " 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'); }" /> 210 </div> 214 <?php if ( is_child_theme() && $theme->get_stylesheet() == get_template() ) : ?> 215 <p><?php if ( is_writeable( $file ) ) { ?><strong><?php _e( 'Caution:' ); ?></strong><?php } ?> 216 <?php _e( 'This is a file in your current parent theme.' ); ?></p>ticket_group_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 299 lines
1<? 2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/support/prolog.php"); 15 16$LIST_URL = '/bitrix/admin/ticket_group_list.php'; 17 73 if ($save <> '') LocalRedirect($LIST_URL . '?lang=' . LANG); 74 elseif ($new) LocalRedirect($APPLICATION->GetCurPage() . '?ID='.$ID. '&lang='.LANG.'&tabControl_active_tab='.urlencode($tabControl_active_tab)); 75 } 204 <iframe style="width:0px; height:0px; border:0px" src="javascript:''" name="FMUhiddenframe<?=$i?>" id="FMUhiddenframe<?=$i?>"></iframe> 205 <input class="" type="button" name="FMUButton<?=$i?>" id="FMUButton<?=$i?>" OnClick="window.open('/bitrix/admin/user_search.php?lang=<?=LANGUAGE_ID?>&FN=<?=$FMUFormID?>&FC=<?=urlencode($FMUTagName.'[VALS]['.$i.']')?>', '', 'scrollbars=yes,resizable=yes,width=760,height=500,top='+Math.floor((screen.height - 560)/2-14)+',left='+Math.floor((screen.width - 760)/2-5));" value="..."> 206 <span id="div_FMUdivUN<?=$i?>"><?=$val['USER_NAME']?></span> 264 '<iframe style="width:0px; height:0px; border:0px" src="javascript:\'\'" name="FMUhiddenframe'+sRowCounter+'" id="FMUhiddenframe'+sRowCounter+'"></iframe> ' + 265 '<input class="" type="button" name="FMUButton'+sRowCounter+'" id="FMUButton'+sRowCounter+'" OnClick="window.open(\'/bitrix/admin/user_search.php?lang=<?=LANGUAGE_ID?>&FN=<?=$FMUFormID?>&FC=<?=urlencode($FMUTagName)?>%5BVALS%5D%5B'+sRowCounter+'%5D\', \'\', \'scrollbars=yes,resizable=yes,width=760,height=500,top=\'+Math.floor((screen.height - 560)/2-14)+\',left=\'+Math.floor((screen.width - 760)/2-5));" value="..."> ' + 266 '<span id="div_FMUdivUN'+sRowCounter+'"></span>';verify.php https://github.com/bradymiller/openemr.git | PHP | 197 lines
19// Will start the (patient) portal OpenEMR session/cookie. 20require_once(dirname(__FILE__) . "/../../src/Common/Session/SessionUtil.php"); 21OpenEMR\Common\Session\SessionUtil::portalSessionStart(); 29 30$landingpage = "../index.php?site=" . urlencode($_SESSION['site_id']); 31 88<head> 89 <title><?php echo xlt('New Patient'); ?> | <?php echo xlt('Register'); ?></title> 90 <meta name="description" content="Developed By sjpadgett@gmail.com" /> 131 <div class="jumbotron"> 132 <?php if ($GLOBALS['language_menu_login'] && (count($result3) != 1)) { ?> 133 <div class="form-group"> 183 <label class="col-form-label" for="emailInput"><?php echo xlt('Enter E-Mail Address') ?></label> 184 <input id="emailInput" type="email" class="reg-email form-control" name="email" required placeholder="<?php echo xla('Enter email address to receive registration.'); ?>" maxlength="100" /> 185 </div>ajax.js https://gitlab.com/phamngsinh/baitaplon_sinhvien | JavaScript | 533 lines
54 xmlHttp.open('POST', url , true);//must be put here 55 xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); 56 xmlHttp.send("data="+document.forms["fr"].elements["f29[]"].value+""); 68 var sec = dte.getSeconds(); 69 ajaxLoad('aindex.php?act=dathangmoi&t=1&sid='+hrs+''+min+''+sec+'','dathang'); 70} 80 var sec = dte.getSeconds(); 81 ajaxLoad('aindex.php?act=dathangmoi&t=0&sid='+hrs+''+min+''+sec+'','dathang'); 82} 220 { 221 Load2('aindex.php?act=action&stv=checkso&sosim='+field.value+''); 222 } 224 { 225 Load2('aindex.php?act=action&stv=checkso&sosim='+field.value+''); 226 }manage.php https://bitbucket.org/johnroyer/phpwind8.7.git | PHP | 308 lines
12 empty($selid) && adminmsg("no_album_selid", "$basename&action=albums"); 13 require_once(R_P . 'u/require/core.php'); 14 foreach ($selid as $key => $aid) { 34 updateUserAppNum($uids,'photo','recount'); 35 adminmsg('operate_success',"$basename&action=albums&job=list&aname=".rawurlencode($aname)."&owner=".rawurlencode($owner)."&crtime_s=$crtime_s&crtime_e=$crtime_e&lasttime_s=$lasttime_s&lasttime_e=$lasttime_e&private=$private&lines=$lines&orderway=$orderway&ordertype=$ordertype&page=$page&"); 36 } elseif ($job == 'edit') { 64 $db->update("UPDATE pw_cnalbum SET ".S::sqlSingle($sqlArr)." WHERE aid=".S::sqlEscape($aid)); 65 adminmsg('operate_success',"$basename&action=albums&job=list&aname=".rawurlencode($url_aname)."&owner=".rawurlencode($url_owner)."&crtime_s=$url_crtime_s&crtime_e=$url_crtime_e&lasttime_s=$url_lasttime_s&lasttime_e=$url_lasttime_e&private=$url_private&lines=$url_lines&orderway=$url_orderway&ordertype=$url_ordertype&page=$url_page&"); 66 } 110 $sql .= ' AND aname LIKE '.S::sqlEscape($aname); 111 $urladd .= '&aname='.rawurlencode($aname); 112 } 202 updateUserAppNum($uids,'photo','recount'); 203 adminmsg('operate_success',"$basename&action=photos&job=list&aid=$aid&aname=".rawurlencode($aname)."&uploader=".rawurlencode($uploader)."&pintro=".rawurlencode($pintro)."&uptime_s=$uptime_s&uptime_e=$uptime_e&orderway=$orderway&ordertype=$ordertype&lines=$lines&page=$page&"); 204ConexionBaseDatos.java https://gitlab.com/in-silico/in-silico | Java | 240 lines
17import org.apache.http.NameValuePair; 18import org.apache.http.client.entity.UrlEncodedFormEntity; 19import org.apache.http.client.methods.HttpPost; 28 public static String SERVIDOR; 29 private static final String SCRIPT1 = "cronJava.php"; 30 private static final String SCRIPT2 = "cronJava.php"; 30 private static final String SCRIPT2 = "cronJava.php"; 31 private static final String SCRIPT3 = "cronJava.php"; 32 private static final String SCRIPT4 = "cronJava.php"; 32 private static final String SCRIPT4 = "cronJava.php"; 33 private static final String SCRIPT5 = "contCronJava.php"; 34 private static final String SCRIPT6 = "contCronJava.php"; 34 private static final String SCRIPT6 = "contCronJava.php"; 35 private static final String SCRIPT7 = "contCronJava.php"; 36 private static final String SCRIPT8 = "userJava.php";cls_http.inc.php https://gitlab.com/Ltaimao/wecenter | PHP | 420 lines
1<?php 2/* 131 { 132 $filename = "filename*=" . $filename_charset . "''" . rawurlencode($filename); 133 //$filename = "filename==?'utf-8'?B?" . base64_encode($filename) . "?="; 154 { 155 $filename = 'filename="' . str_replace('+', ' ', urlencode($filename)) . '"'; 156 } 159 // encode the filename to stay within spec 160 $filename = 'filename="' . rawurlencode($filename) . '"'; 161 }akismet.php https://github.com/micz/elencode.git | PHP | 309 lines
28 <div> 29 <input class="text" name="akismet_key" id="akismet_key" value="<?php bb_form_option('akismet_key'); ?>" /> 30 <p><?php _e('You do not need a key to run bbPress, but if you want to take advantage of Akismet\'s powerful spam blocking, you\'ll need one.'); ?></p> 41</form> 42<?php 43} 82 global $bb_ksd_api_port; 83 $blog = urlencode( bb_get_option('uri') ); 84 $response = bb_ksd_http_post("key=$key&blog=$blog", 'rest.akismet.com', '/1.1/verify-key', $bb_ksd_api_port); 272 if ( !bb_akismet_verify_key( bb_get_option( 'akismet_key' ) ) ) : ?> 273<div class="error"><p><?php printf(__('The API key you have specified is invalid. Please double check the <strong>Akismet Key</strong> set in <a href="%s">Akismet configuration</a>. If you don\'t have an API key yet, you can get one at <a href="%s">WordPress.com</a>.'), 'admin-base.php?plugin=bb_ksd_configuration_page', 'http://wordpress.com/api-keys/'); ?></p></div> 274<?php endif; 296 else 297 $link .= " <a href='" . attribute_escape( bb_nonce_url( bb_get_option('uri') . 'bb-admin/delete-post.php?id=' . get_post_id() . '&status=2', 'delete-post_' . get_post_id() ) ) . "' >" . __('Spam') ."</a>"; 298 return $link;mail.php https://gitlab.com/2202Programming/navxmxp | PHP | 406 lines
1<?php 2class Mail { 95 $header .= 'Return-Path: ' . $this->from . $this->newline; 96 $header .= 'X-Mailer: PHP/' . phpversion() . $this->newline; 97 $header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline . $this->newline; 135 $message .= 'Content-Disposition: attachment; filename="' . basename($attachment) . '"' . $this->newline; 136 $message .= 'Content-ID: <' . basename(urlencode($attachment)) . '>' . $this->newline; 137 $message .= 'X-Attachment-Id: ' . basename(urlencode($attachment)) . $this->newline . $this->newline; 158 } else { 159 if (substr(PHP_OS, 0, 3) != 'WIN') { 160 socket_set_timeout($handle, $this->timeout, 0); 358 foreach ($results as $result) { 359 if (substr(PHP_OS, 0, 3) != 'WIN') { 360 fputs($handle, $result . $this->crlf);Controller.php https://github.com/imagesdesmaths/idm.git | PHP | 334 lines
1<?php 2/** 150 151 $currentUrl = 'index.php'; 152 196 { 197 $message = Piwik::translate('Login_InvalidNonceOrHeadersOrReferrer', array('<a href="?module=Proxy&action=redirect&url=' . urlencode('http://piwik.org/faq/how-to-install/#faq_98') . '" target="_blank">', '</a>')); 198 // Should mention trusted_hosts or link to FAQAction.js https://github.com/xenophy/PerfectDay.git | JavaScript | 313 lines
44 * input fields.</p> 45 * <p>Parameters are encoded as standard HTTP parameters using {@link Ext#urlEncode}.</p> 46 */ 119 fp.getForm().submit({ 120 url: 'form-submit.php', 121 waitMsg: 'Submitting your data...',myblocksadmin2.php https://github.com/severnaya99/Sg-2010.git | PHP | 347 lines
11 12include_once( 'mygrouppermform.php' ) ; 13include_once( XOOPS_ROOT_PATH.'/class/xoopsblock.php' ) ; 13include_once( XOOPS_ROOT_PATH.'/class/xoopsblock.php' ) ; 14include_once "../include/gtickets.php" ; 15 28 29$group_defs = file( "$xoops_system_path/language/$language/admin/groups.php" ) ; 30foreach( $group_defs as $def ) { 328 329 include( "mygroupperm.php" ) ; 330 redirect_header( XOOPS_URL."/modules/".$xoopsModule->dirname()."/admin/myblocksadmin.php$query4redirect" , 1 , _MD_AM_DBUPDATED ); 333xoops_cp_header() ; 334if( file_exists( './mymenu.php' ) ) include( './mymenu.php' ) ; 335xmlmem.html https://gitlab.com/thanhnhat041/padavan-ng | HTML | 122 lines
9A:link, A:visited, A:active { text-decoration: underline } 10</style><title>Memory Management</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000"><table border="0" width="100%" cellpadding="5" cellspacing="0" align="center"><tr><td width="120"><a href="http://swpat.ffii.org/"><img src="epatents.png" alt="Action against software patents" /></a></td><td width="180"><a href="http://www.gnome.org/"><img src="gnome2.png" alt="Gnome2 Logo" /></a><a href="http://www.w3.org/Status"><img src="w3c.png" alt="W3C Logo" /></a><a href="http://www.redhat.com/"><img src="redhat.gif" alt="Red Hat Logo" /></a><div align="left"><a href="http://xmlsoft.org/"><img src="Libxml2-Logo-180x168.gif" alt="Made with Libxml2 Logo" /></a></div></td><td><table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd"><tr><td align="center"><h1>The XML C parser and toolkit of Gnome</h1><h2>Memory Management</h2></td></tr></table></td></tr></table></td></tr></table><table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td valign="top" width="200" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Developer Menu</b></center></td></tr><tr><td bgcolor="#fffacd"><form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form><ul><li><a href="index.html" style="font-weight:bold">Main Menu</a></li><li><a href="html/index.html" style="font-weight:bold">Reference Manual</a></li><li><a href="examples/index.html" style="font-weight:bold">Code Examples</a></li><li><a href="guidelines.html">XML Guidelines</a></li><li><a href="tutorial/index.html">Tutorial</a></li><li><a href="xmlreader.html">The Reader Interface</a></li><li><a href="ChangeLog.html">ChangeLog</a></li><li><a href="XSLT.html">XSLT</a></li><li><a href="python.html">Python and bindings</a></li><li><a href="architecture.html">libxml2 architecture</a></li><li><a href="tree.html">The tree output</a></li><li><a href="interface.html">The SAX interface</a></li><li><a href="xmlmem.html">Memory Management</a></li><li><a href="xmlio.html">I/O Interfaces</a></li><li><a href="library.html">The parser interfaces</a></li><li><a href="entities.html">Entities or no entities</a></li><li><a href="namespaces.html">Namespaces</a></li><li><a href="upgrade.html">Upgrading 1.x code</a></li><li><a href="threads.html">Thread safety</a></li><li><a href="DOM.html">DOM Principles</a></li><li><a href="example.html">A real example</a></li><li><a href="xml.html">flat page</a>, <a href="site.xsl">stylesheet</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>API Indexes</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="APIchunk0.html">Alphabetic</a></li><li><a href="APIconstructors.html">Constructors</a></li><li><a href="APIfunctions.html">Functions/Types</a></li><li><a href="APIfiles.html">Modules</a></li><li><a href="APIsymbols.html">Symbols</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Related links</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="http://mail.gnome.org/archives/xml/">Mail archive</a></li><li><a href="http://xmlsoft.org/XSLT/">XSLT libxslt</a></li><li><a href="http://phd.cs.unibo.it/gdome2/">DOM gdome2</a></li><li><a href="http://www.aleksey.com/xmlsec/">XML-DSig xmlsec</a></li><li><a href="ftp://xmlsoft.org/">FTP</a></li><li><a href="http://www.zlatkovic.com/projects/libxml/">Windows binaries</a></li><li><a href="http://opencsw.org/packages/libxml2">Solaris binaries</a></li><li><a href="http://www.explain.com.au/oss/libxml2xslt.html">MacOsX binaries</a></li><li><a href="http://lxml.de/">lxml Python bindings</a></li><li><a href="http://cpan.uwinnipeg.ca/dist/XML-LibXML">Perl bindings</a></li><li><a href="http://libxmlplusplus.sourceforge.net/">C++ bindings</a></li><li><a href="http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4">PHP bindings</a></li><li><a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li><li><a href="http://libxml.rubyforge.org/">Ruby bindings</a></li><li><a href="http://tclxml.sourceforge.net/">Tcl bindings</a></li><li><a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Bug Tracker</a></li></ul></td></tr></table></td></tr></table></td><td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd"><p>Table of Content:</p><ol> 11 <li><a href="#General3">General overview</a></li>old_recording_reports.cfm https://gitlab.com/vince.omega/General-Code-Dump-From-Desktop | ColdFusion | 261 lines
78 <td> 79 <a href="export_recordings.php?custcode=#cust_codes#&family=&status_selection=#URLEncodedFormat(url.status_selection)#&sort_selection=#URLEncodedFormat(url.sort_selection)#"><span style="color: white;"><font color="FF0612"><font size="+1"><i></i></font></span><img src="/images/excel.png" border="0" alt=""></a> 80 </td> 88 <cfelse> 89 <a class="pager" href="recording_reports.cfm?status_selection=#URLEncodedFormat(url.status_selection)#&sort_selection=#URLEncodedFormat(url.sort_selection)#&page_offset=0"><<</a> 90 </cfif> 95 <cfelse> 96 <a class="pager" href="recording_reports.cfm?status_selection=#URLEncodedFormat(url.status_selection)#&sort_selection=#URLEncodedFormat(url.sort_selection)#&page_offset=#(url.page_offset-1)#"><</a> 97 </cfif> 101 <cfif (url.page_offset+1) lt num_pages> 102 <a class="pager" href="recording_reports.cfm?status_selection=#URLEncodedFormat(url.status_selection)#&sort_selection=#URLEncodedFormat(url.sort_selection)#&page_offset=#(url.page_offset+1)#">></a> 103 <cfelse> 183 <td> 184 <!--- <a href="edit_recording_details.cfm?order_id=#order_id#&status_selection=#URLEncodedFormat(url.status_selection)#&sort_selection=#URLEncodedFormat(url.sort_selection)#&page_offset=#URLEncodedFormat(url.page_offset)#" title="Click to edit">#order_id#</a> ---> 185 <a href="/secure/status2.cfm?order_id=#order_id#" target="new">#order_id#</a>filecloud.io_member.php https://gitlab.com/billyprice1/rapidleech | PHP | 137 lines
1<?php 2 77 $post = array(); 78 $post['username'] = urlencode($_REQUEST['up_login']); 79 $post['password'] = urlencode($_REQUEST['up_pass']); 97 echo "<script type='text/javascript'>document.getElementById('login').style.display='none';</script>\n<div id='apikey' width='100%' align='center'>Checking Apikey</div>\n"; 98 $page = geturl ('filecloud.io', 80, '/files.html', '', 'auth='.urlencode($_REQUEST['up_apikey']));is_page($page); 99 is_present($page, 'you are not authorized to view this page', 'Invalid apikey.');Route.php https://bitbucket.org/herloct/gagapi.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'; 41TwitterAPIExchange.php https://gitlab.com/Skull3x/pocketmine-plugins | PHP | 376 lines
1<?php 2namespace aliuly\livesigns; 4/** 5 * Twitter-API-PHP : Simple PHP wrapper for the v1.1 API 6 * 6 * 7 * PHP version 5.3.10 8 * 235 $base_info = $this->buildBaseString($url, $requestMethod, $oauth); 236 $composite_key = rawurlencode($consumer_secret) . '&' . rawurlencode($oauth_access_token_secret); 237 $oauth_signature = base64_encode(hash_hmac('sha1', $base_info, $composite_key, true)); 320 { 321 $return[] = rawurlencode($key) . '=' . rawurlencode($value); 322 } 323 324 return $method . "&" . rawurlencode($baseURI) . '&' . rawurlencode(implode('&', $return)); 325 }ConfigForm.php https://github.com/mischka/Garden.git | PHP | 368 lines
1<?php 2 138 if ($this->docURL) { 139 $url = str_replace('%s', urlencode("$ns.$directive"), $this->docURL); 140 $ret .= $this->start('a', array('href' => $url)); 265 case HTMLPurifier_VarParser::ALIST: 266 $value = implode(PHP_EOL, $value); 267 break; 270 foreach ($value as $i => $v) { 271 $nvalue .= "$i:$v" . PHP_EOL; 272 }pp_pro_iframe.php https://gitlab.com/reclamare/mao | PHP | 308 lines
1<?php 2class ControllerPaymentPPProIframe extends Controller { 91 foreach ($this->request->post as $key => $value) { 92 $request .= '&' . $key . '=' . urlencode(html_entity_decode($value, ENT_QUOTES, 'UTF-8')); 93 } 218 if ($this->cart->hasShipping()) { 219 $s_data['L_BUTTONVAR4'] = 'first_name=' . urlencode($order_info['shipping_firstname']); 220 $s_data['L_BUTTONVAR5'] = 'last_name=' . urlencode($order_info['shipping_lastname']); 220 $s_data['L_BUTTONVAR5'] = 'last_name=' . urlencode($order_info['shipping_lastname']); 221 $s_data['L_BUTTONVAR6'] = 'address1=' . urlencode($order_info['shipping_address_1']); 222 $s_data['L_BUTTONVAR7'] = 'address2=' . urlencode($order_info['shipping_address_2']); 222 $s_data['L_BUTTONVAR7'] = 'address2=' . urlencode($order_info['shipping_address_2']); 223 $s_data['L_BUTTONVAR8'] = 'city=' . urlencode($order_info['shipping_city']); 224 $s_data['L_BUTTONVAR9'] = 'state=' . urlencode($order_info['shipping_zone']); 224 $s_data['L_BUTTONVAR9'] = 'state=' . urlencode($order_info['shipping_zone']); 225 $s_data['L_BUTTONVAR10'] = 'zip=' . urlencode($order_info['shipping_postcode']); 226 $s_data['L_BUTTONVAR11'] = 'country=' . urlencode($order_info['shipping_iso_code_2']);class-wc-download-handler.php https://gitlab.com/webkod3r/tripolis | PHP | 426 lines
1<?php 2 132 if ( wc_get_page_id( 'myaccount' ) ) { 133 wp_safe_redirect( add_query_arg( 'wc_error', urlencode( __( 'You must be logged in to download files.', 'woocommerce' ) ), wc_get_page_permalink( 'myaccount' ) ) ); 134 exit; 338 } 339 if ( function_exists( 'get_magic_quotes_runtime' ) && get_magic_quotes_runtime() && version_compare( phpversion(), '5.4', '<' ) ) { 340 set_magic_quotes_runtime( 0 ); 369 * 370 * Reads file in chunks so big downloads are possible without changing PHP.INI - http://codeigniter.com/wiki/Download_helper_for_large_files/. 371 *Route.php https://gitlab.com/fabiorf/curso-zend1-aula1 | PHP | 413 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'; 41UrlGenerator.php https://gitlab.com/pomirleanu.florentin/SMS-Client | PHP | 674 lines
1<?php namespace Illuminate\Routing; 2 141 $tail = implode('/', array_map( 142 'rawurlencode', (array) $extra) 143 ); 175 176 // Once we get the root URL, we will check to see if it contains an index.php 177 // file in the paths. If it does, we will remove it since it is not needed 184 /** 185 * Remove the index.php file from a path. 186 * 191 { 192 $i = 'index.php'; 193 268 269 $uri = strtr(rawurlencode($this->addQueryString($this->trimUrl( 270 $root = $this->replaceRoot($route, $domain, $parameters),component.php https://gitlab.com/alexprowars/bitrix | PHP | 343 lines
55 if($arIBlock["INDEX_ELEMENT"]==="Y" || $arIBlock["INDEX_SECTION"]==="Y") 56 $arWarnings[] = GetMessage("CC_BSR_WARN_PHOTO_GROUP_IBLOCK", array("#href#" => htmlspecialcharsbx(BX_ROOT."/admin/iblock_edit.php?type=".urlencode($arIBlock["IBLOCK_TYPE_ID"])."&lang=".LANGUAGE_ID."&ID=".urlencode($arIBlock["ID"])."&admin=Y&return_url=".urlencode($APPLICATION->GetCurPageParam())))); 57 67 if($arIBlock["INDEX_ELEMENT"]==="Y" || $arIBlock["INDEX_SECTION"]==="Y") 68 $arWarnings[] = GetMessage("CC_BSR_WARN_PHOTO_USER_IBLOCK", array("#href#" => htmlspecialcharsbx(BX_ROOT."/admin/iblock_edit.php?type=".urlencode($arIBlock["IBLOCK_TYPE_ID"])."&lang=".LANGUAGE_ID."&ID=".urlencode($arIBlock["ID"])."&admin=Y&return_url=".urlencode($APPLICATION->GetCurPageParam())))); 69 93 if($arIBlock["INDEX_ELEMENT"]==="Y" || $arIBlock["INDEX_SECTION"]==="Y") 94 $arWarnings[] = GetMessage("CC_BSR_WARN_CALENDAR_GROUP_IBLOCK", array("#href#" => htmlspecialcharsbx(BX_ROOT."/admin/iblock_edit.php?type=".urlencode($arIBlock["IBLOCK_TYPE_ID"])."&lang=".LANGUAGE_ID."&ID=".urlencode($arIBlock["ID"])."&admin=Y&return_url=".urlencode($APPLICATION->GetCurPageParam())))); 95 125 if($arIBlock["INDEX_ELEMENT"]==="Y" || $arIBlock["INDEX_SECTION"]==="Y") 126 $arWarnings[] = GetMessage("CC_BSR_WARN_FILE_GROUP_IBLOCK", array("#href#" => htmlspecialcharsbx(BX_ROOT."/admin/iblock_edit.php?type=".urlencode($arIBlock["IBLOCK_TYPE_ID"])."&lang=".LANGUAGE_ID."&ID=".urlencode($arIBlock["ID"])."&admin=Y&return_url=".urlencode($APPLICATION->GetCurPageParam())))); 127 151 if($arIBlock["INDEX_ELEMENT"]==="Y" || $arIBlock["INDEX_SECTION"]==="Y") 152 $arWarnings[] = GetMessage("CC_BSR_WARN_FILE_USER_IBLOCK", array("#href#" => htmlspecialcharsbx(BX_ROOT."/admin/iblock_edit.php?type=".urlencode($arIBlock["IBLOCK_TYPE_ID"])."&lang=".LANGUAGE_ID."&ID=".urlencode($arIBlock["ID"])."&admin=Y&return_url=".urlencode($APPLICATION->GetCurPageParam())))); 153paypal.php https://gitlab.com/billyprice1/website | PHP | 375 lines
1<?php 2 /* 15# # 16# File : PayPal.php # 17# Version : 1.9 # 29 30require("../../../wp-blog-header.php"); 31global $wpdb; 56# Convert Super globals For backward compatibility 57if(phpversion() <= "4.0.6") {$_POST=($HTTP_POST_VARS);} 58 82 $postval = $postvals[$x]; 83 $postipn .= "&".$postkey."=".urlencode($postval); 84 $orgipn .= "<b>#".$y."</b> Key: ".$postkey." <b>=</b> ".$postval."<br>"; 93 "Host: www.paypal.com\r\n". 94 "Content-Type: application/x-www-form-urlencoded\r\n". 95 "Content-Length: ".strlen($postipn)."\r\n\r\n";interface.php https://bitbucket.org/mrmustarde/manhattan-beach.git | PHP | 293 lines
26 27 <a href="<?php echo wp_nonce_url( admin_url( 'tools.php?page=' . HMBKP_PLUGIN_SLUG . '&hmbkp_download_backup=' . $encoded_file . '&hmbkp_schedule_id=' . $schedule->get_id() ), 'hmbkp-download_backup' ); ?>"><?php _e( 'Download', 'hmbkp' ); ?></a> | 28 <a href="<?php echo wp_nonce_url( admin_url( 'tools.php?page=' . HMBKP_PLUGIN_SLUG . '&hmbkp_delete_backup=' . $encoded_file . '&hmbkp_schedule_id=' . $schedule->get_id() ), 'hmbkp-delete_backup' ); ?>" class="delete-action"><?php _e( 'Delete', 'hmbkp' ); ?></a> 71 function hmbkp_safe_mode_warning() { 72 echo '<div id="hmbkp-warning" class="updated fade"><p><strong>' . __( 'BackUpWordPress has detected a problem.', 'hmbkp' ) . '</strong> ' . sprintf( __( '%1$s is running in %2$s, please contact your host and ask them to disable it. BackUpWordPress may not work correctly whilst %3$s is on.', 'hmbkp' ), '<code>PHP</code>', sprintf( '<a href="%1$s">%2$s</a>', __( 'http://php.net/manual/en/features.safe-mode.php', 'hmbkp' ), __( 'Safe Mode', 'hmbkp' ) ), '<code>' . __( 'Safe Mode', 'hmbkp' ) . '</code>' ) . '</p></div>'; 73 } 244 245 <span class="hmbkp-status"><?php echo $schedule->get_status() ? $schedule->get_status() : __( 'Starting Backup', 'hmbkp' ); ?> <a href="<?php echo add_query_arg( array( 'action' => 'hmbkp_cancel', 'hmbkp_schedule_id' => $schedule->get_id() ), HMBKP_ADMIN_URL ); ?>"><?php _e( 'cancel', 'hmbkp' ); ?></a></span> 246 251 <?php if ( $schedule->get_type() !== 'database' ) { ?> 252 <a class="fancybox" href="<?php echo add_query_arg( array( 'action' => 'hmbkp_edit_schedule_excludes_load', 'hmbkp_schedule_id' => $schedule->get_id() ), admin_url( 'admin-ajax.php' ) ); ?>"><?php _e( 'Excludes', 'hmbkp' ); ?></a> | 253 <?php } ?> 254 255 <a class="hmbkp-run" href="<?php echo add_query_arg( array( 'action' => 'hmbkp_run_schedule', 'hmbkp_schedule_id' => $schedule->get_id() ), admin_url( 'admin-ajax.php' ) ); ?>"><?php _e( 'Run now', 'hmbkp' ); ?></a> | 256themes.php https://gitlab.com/thisishayat/itv-2016 | PHP | 329 lines
90 91 $url = self_admin_url('update.php?action=update-selected-themes&themes=' . urlencode( join(',', $themes) )); 92 $url = wp_nonce_url($url, 'bulk-update-themes'); 153 <h1><?php _e( 'Delete Theme' ); ?></h1> 154 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'This theme may be active on other sites in the network.' ); ?></p></div> 155 <p><?php _e( 'You are about to remove the following theme:' ); ?></p> 157 <h1><?php _e( 'Delete Themes' ); ?></h1> 158 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'These themes may be active on other sites in the network.' ); ?></p></div> 159 <p><?php _e( 'You are about to remove the following themes:' ); ?></p> 171 <?php else : ?> 172 <p><?php _e( 'Are you sure you wish to delete these themes?' ); ?></p> 173 <?php endif; ?> 269<div class="wrap"> 270<h1><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="page-title-action"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } 271if ( $s )class-wp-rest-search-controller.php https://gitlab.com/campus-academy/krowkaramel | PHP | 387 lines
1<?php 2/** 72 __METHOD__, 73 /* translators: %s: PHP class name. */ 74 sprintf( __( 'REST search handlers must extend the %s class.' ), 'WP_REST_Search_Handler' ), 169 $request_params = $request->get_query_params(); 170 $base = add_query_arg( urlencode_deep( $request_params ), rest_url( sprintf( '%s/%s', $this->namespace, $this->rest_base ) ) ); 171 188 * @since 5.6.0 The `$id` parameter can accept a string. 189 * @since 5.9.0 Renamed `$id` to `$item` to match parent class for PHP 8 named parameter support. 190 *mail.php https://github.com/severnaya99/Sg-2010.git | PHP | 224 lines
74 <tr> 75 <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft"> 76<!-- left_navigation //--> 123 <tr> 124 <td class="smallText"><b><?php echo TEXT_SUBJECT; ?></b><br><?php echo htmlspecialchars(stripslashes($HTTP_POST_VARS['subject'])); ?></td> 125 </tr> 129 <tr> 130 <td class="smallText"><b><?php echo TEXT_MESSAGE; ?></b><br><?php echo nl2br(htmlspecialchars(stripslashes($HTTP_POST_VARS['message']))); ?></td> 131 </tr> 218<!-- footer //--> 219<?php require(DIR_WS_INCLUDES . 'footer.php'); ?> 220<!-- footer_eof //--> 223</html> 224<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> 225README.md https://gitlab.com/alidzapp/Link-Preview | Markdown | 243 lines
5 6The algorithm keeps tracking what you are typing in the status field and through regular expressions identifies a url. Thereafter, the text is in the field is passed to PHP that does all the work to analyze all the source code of the url found. If you enter more than one url, it will consider that the first one is the more relevant and it will create a preview. 7Once the source code of the url is obtained, regular expressions begin to seek out and capture relevant information on it. This information is basically the title page, the images contained therein, and a brief description of the content covered in the page. 23 24- Apache (must support mod_php) 25 108 109To custom your database configurations, you need to change the following values in [Database.php](/src/link-preview/php/classes/Database.php) 110 130 131 var url = 'src/link-preview/php/retrieve.php'; 132 $http({ 182 183Also, check the file [database-template.php](src/link-preview/template/database-template.php) to see an example of how to display the data retrieved from database. 184DebugBar.php https://gitlab.com/ntphuc/FoodyBackend | PHP | 468 lines
1<?php 2/* 46 47 protected $stackSessionNamespace = 'PHPDEBUGBAR_STACK_DATA'; 48 183 * 184 * If no http driver where defined, a PhpHttpDriver is automatically created 185 * 190 if ($this->httpDriver === null) { 191 $this->httpDriver = new PhpHttpDriver(); 192 } 253 */ 254 public function getDataAsHeaders($headerName = 'phpdebugbar', $maxHeaderLength = 4096, $maxTotalHeaderLength = 250000) 255 { 255 { 256 $data = rawurlencode(json_encode(array( 257 'id' => $this->getCurrentRequestId(),Publisher.php https://bitbucket.org/acidel/buykoala.git | PHP | 418 lines
92 } elseif (!is_array($config)) { 93 #require_once 'Zend/Feed/Pubsubhubbub/Exception.php'; 94 throw new Zend_Feed_Pubsubhubbub_Exception('Array or Zend_Config object' 117 if (empty($url) || !is_string($url) || !Zend_Uri::check($url)) { 118 #require_once 'Zend/Feed/Pubsubhubbub/Exception.php'; 119 throw new Zend_Feed_Pubsubhubbub_Exception('Invalid parameter "url"' 269 if (empty($hubs)) { 270 #require_once 'Zend/Feed/Pubsubhubbub/Exception.php'; 271 throw new Zend_Feed_Pubsubhubbub_Exception('No Hub Server URLs' 300 if (empty($name) || !is_string($name)) { 301 #require_once 'Zend/Feed/Pubsubhubbub/Exception.php'; 302 throw new Zend_Feed_Pubsubhubbub_Exception('Invalid parameter "name"' 411 foreach ($optParams as $name => $value) { 412 $params[] = urlencode($name) . '=' . urlencode($value); 413 }plurkOAuth.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 204 lines
19 public function signing_base($request, $consumer_secret, $token) { 20 $sig = array(rawurlencode($request['method']), rawurlencode($request['normalized_url']), rawurlencode($request['normalized_parameters'])); 21 $key = sprintf("%s&", rawurlencode($consumer_secret)); 21 $key = sprintf("%s&", rawurlencode($consumer_secret)); 22 if (isset($token)) $key .= rawurlencode($token->secret); 23 $raw = implode('&', $sig); 28 $basestring = base64_encode (hash_hmac('sha1', $key_raw[1], $key_raw[0], true)); //echo $basestring; 29 return rawurlencode($basestring); 30 } 33 if (is_array($input)) { 34 return array_map(array('nxspk_SigMethod_HMAC_SHA1', 'urlencode_rfc3986'), $input); 35 } else if (is_scalar($input)) { 114 $item_parts[] = 115 sprintf("%s=%s",rawurlencode($key),rawurlencode($value)); 116 }class.wpcom-json-api-list-posts-v1-1-endpoint.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 370 lines
1<?php 2 249 } 250 return build_query( array( 'value' => urlencode($post[$column]), 'id' => $post['ID'] ) ); 251 }_utilities.class.php https://github.com/tinypay/KO3-Fusion.git | PHP | 475 lines
1<?php 2/** 85 * Examples: 86 * example::utilities/to_query_string.phpt: 87 */ 106 * Examples: 107 * example::utilities/to_signable_string.phpt: 108 */ 135 { 136 $string = rawurlencode($string); 137 return str_replace('%7E', '~', $string); 291 * example::utilities/try_these4.phpt: 292 * example::utilities/try_these5.phpt: 293 */ 354 * Author: 355 * http://us2.php.net/manual/en/function.json-encode.php#82904 356 *stats.php https://github.com/jasonmule/Ushahidi_Web.git | PHP | 294 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2 6 * 7 * PHP version 5 8 * LICENSE: This source file is subject to LGPL license 32 if($dp1 !== null && $dp2 !== null) { 33 $twodates = '&twodates='.urlencode($dp1.','.$dp2); 34 } 35 36 $stat_url = 'http://tracker.ushahidi.com/px.php?stat_key='.$settings->stat_key.'&task=stats&siteid='.urlencode($stat_id).'&period=day&range='.urlencode($range).$twodates; 37 $response = simplexml_load_string(self::_curl_req($stat_url)); 80 if($dp1 !== null && $dp2 !== null) { 81 $twodates = '&twodates='.urlencode($dp1.','.$dp2); 82 } 83 84 $stat_url = 'http://tracker.ushahidi.com/px.php?stat_key='.$settings->stat_key.'&task=stats&siteid='.urlencode($stat_id).'&period=day&range='.urlencode($range).$twodates; 85 $response = simplexml_load_string(self::_curl_req($stat_url));configure.php https://github.com/agnesrambaud/yacs.git | PHP | 313 lines
27 * 28 * The file [code]parameters/collections.include.php.bak[/code] can be used to restore 29 * the active configuration before the last change. 58if(!Surfer::is_logged()) 59 Safe::redirect($context['url_to_home'].$context['url_to_root'].'users/login.php?url='.urlencode('collections/configure.php')); 60 69 // load current parameters, if any 70 Safe::load('parameters/collections.include.php'); 71 247 Safe::unlink($context['path_to_root'].'parameters/collections.include.php.bak'); 248 Safe::rename($context['path_to_root'].'parameters/collections.include.php', $context['path_to_root'].'parameters/collections.include.php.bak'); 249 251 $content = '<?php'."\n" 252 .'// This file has been created by the configuration script collections/configure.php'."\n" 253 .'// on '.gmdate("F j, Y, g:i a").' GMT, for '.Surfer::get_name().'. Please do not modify it manually.'."\n"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'; 41errordocument.py https://bitbucket.org/eaviles/gobierno.git | Python | 372 lines
2# This module is part of the Python Paste Project and is released under 3# the MIT License: http://www.opensource.org/licenses/mit-license.php 4""" 123 from paste.recursive import RecursiveMiddleware 124 from urllib import urlencode 125 127 if code in [404, 500]: 128 params = urlencode({'message':message, 'code':code}) 129 url = '/error?'%(params)search.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 138 lines
40$search_t = isset($_REQUEST['t']); 41echo '<div class="phdr"><a href="index.php"><b>' . $lng['forum'] . '</b></a> | ' . $lng['search'] . '</div>' . 42 '<div class="gmenu"><form action="search.php" method="post"><p>' . 72 if ($total > $kmess) 73 echo '<div class="topmenu">' . functions::display_pagination('search.php?' . ($search_t ? 't=1&' : '') . 'search=' . urlencode($search) . '&', $start, $total, $kmess) . '</div>'; 74 if ($total) { 114 echo '...<a href="index.php?act=post&id=' . $res['id'] . '">' . $lng_forum['read_all'] . ' >></a>'; 115 echo '<br /><a href="index.php?id=' . ($search_t ? $res['id'] : $res_t['id']) . '">' . $lng_forum['to_topic'] . '</a>' . ($search_t ? '' : ' | <a href="index.php?act=post&id=' . $res['id'] . '">' . $lng_forum['to_post'] . '</a>'); 116 echo '</div>'; 124 echo '<div class="topmenu">' . functions::display_pagination('search.php?' . ($search_t ? 't=1&' : '') . 'search=' . urlencode($search) . '&', $start, $total, $kmess) . '</div>' . 125 '<p><form action="search.php?' . ($search_t ? 't=1&' : '') . 'search=' . urlencode($search) . '" method="post">' . 126 '<input type="text" name="page" size="2"/>' . 133} 134echo '<p>' . ($search ? '<a href="search.php">' . $lng['search_new'] . '</a><br />' : '') . '<a href="index.php">' . $lng['forum'] . '</a></p>'; 135theme-license-admin.php https://gitlab.com/CueFox/cf-utility-pro | PHP | 448 lines
150 <th scope="row" valign="top"> 151 <?php echo $strings['license-key']; ?> 152 </th> 153 <td> 154 <input id="<?php echo $this->theme_slug; ?>_license_key" name="<?php echo $this->theme_slug; ?>_license_key" type="text" class="regular-text" value="<?php echo esc_attr( $license ); ?>" /> 155 <p class="description"> 166 <td> 167 <?php 168 wp_nonce_field( $this->theme_slug . '_nonce', $this->theme_slug . '_nonce' ); 169 if ( 'valid' == $status ) { ?> 170 <input type="submit" class="button-secondary" name="<?php echo $this->theme_slug; ?>_license_deactivate" value="<?php esc_attr_e( $strings['deactivate-license'] ); ?>"/> 171 <?php } else { ?> 171 <?php } else { ?> 172 <input type="submit" class="button-secondary" name="<?php echo $this->theme_slug; ?>_license_activate" value="<?php esc_attr_e( $strings['activate-license'] ); ?>"/> 173 <?php }sanitizing_filters.cpp https://gitlab.com/iranjith4/hhvm | C++ | 329 lines
157 158Variant php_filter_string(PHP_INPUT_FILTER_PARAM_DECL) { 159 unsigned char enc[256] = {0}; 280 281Variant php_filter_url(PHP_INPUT_FILTER_PARAM_DECL) { 282 /* Strip all chars not part of section 5 of 292 293Variant php_filter_number_int(PHP_INPUT_FILTER_PARAM_DECL) { 294 /* strip everything [^0-9+-] */ 302 303Variant php_filter_number_float(PHP_INPUT_FILTER_PARAM_DECL) { 304 /* strip everything [^0-9+-] */ 323 324Variant php_filter_magic_quotes(PHP_INPUT_FILTER_PARAM_DECL) { 325 /* just call addslashes quotes */mercadopago.php https://gitlab.com/mvcarvalho/plataforma-e-commerce | PHP | 323 lines
1<?php 2 43 44 $access_data = MPRestClient::post("/oauth/token", $app_client_values, "application/x-www-form-urlencoded"); 45 233 foreach ($params as $name => $value) { 234 $elements[] = "{$name}=" . urlencode($value); 235 } 251 if (!extension_loaded ("curl")) { 252 throw new Exception("cURL extension not found. You need to enable cURL in your php.ini or another configuration you have."); 253 } 256 257 curl_setopt($connect, CURLOPT_USERAGENT, "MercadoPago PHP SDK v" . MP::version); 258 //curl_setopt($connect, CURLOPT_CAINFO, $GLOBALS["LIB_LOCATION"] . "/cacert.pem");contact-info.php https://gitlab.com/thisishayat/itv-2016 | PHP | 295 lines
228 <p><label for="<?php echo esc_attr( $this->get_field_id( 'address' ) ); ?>"><?php esc_html_e( 'Address:', 'jetpack' ); ?></label> 229 <textarea class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'address' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'address' ) ); ?>"><?php echo esc_textarea( $address ); ?></textarea> 230 <?php 232 ?> 233 <input class="" id="<?php echo esc_attr( $this->get_field_id( 'showmap' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'showmap' ) ); ?>" value="1" type="checkbox" <?php checked( $showmap , 1); ?> /> 234 <label for="<?php echo esc_attr( $this->get_field_id( 'showmap' ) ); ?>"><?php esc_html_e( 'Show map', 'jetpack' ); ?></label></p> 238 <span class="error-message"><?php _e( 'Sorry. We can not plot this address. A map will not be displayed. Is the address formatted correctly?', 'jetpack' ); ?></span></p> 239 <input id="<?php echo esc_attr( $this->get_field_id( 'showmap' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'showmap' ) ); ?>" value="<?php echo( intval( $instance['showmap'] ) ); ?>" type="hidden" /> 240 <?php 244 <p><label for="<?php echo esc_attr( $this->get_field_id( 'phone' ) ); ?>"><?php esc_html_e( 'Phone:', 'jetpack' ); ?></label> 245 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'phone' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'phone' ) ); ?>" type="text" value="<?php echo esc_attr( $phone ); ?>" /></p> 246 248 249 <textarea class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'hours' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'hours' ) ); ?>"><?php echo esc_textarea( $hours ); ?></textarea></p> 250class.hooks.php https://github.com/Dykam/Garden.git | PHP | 202 lines
1<?php if (!defined('APPLICATION')) exit(); 2/* 71 // Add the discussion tab 72 $Sender->AddProfileTab(T('Discussions'), 'profile/discussions/'.$Sender->User->UserID.'/'.urlencode($Sender->User->Name)); 73 // Add the discussion tab's css 91 public function SearchController_Search_Handler($Sender) { 92 include_once(dirname(__FILE__).DS.'..'.DS.'models'.DS.'class.vanillasearchmodel.php'); 93 $SearchModel = new VanillaSearchModel(); 189 $Explicit = TRUE; 190 $Validation = new Gdn_Validation(); // This is going to be needed by structure.php to validate permission names 191 include(PATH_APPLICATIONS . DS . 'vanilla' . DS . 'settings' . DS . 'structure.php'); 193 $ApplicationInfo = array(); 194 include(CombinePaths(array(PATH_APPLICATIONS . DS . 'vanilla' . DS . 'settings' . DS . 'about.php'))); 195 $Version = ArrayValue('Version', ArrayValue('Vanilla', $ApplicationInfo, array()), 'Undefined');class.ThinkUpController.php https://github.com/dash30/ThinkUp.git | PHP | 444 lines
1<?php 2/** 3 * 4 * ThinkUp/webapp/_lib/controller/class.ThinkUpController.php 5 * 106 $this->addToView('selected_instance_username', SessionCache::get('selected_instance_username')); 107 $this->addToView('logo_link', 'index.php?u='. SessionCache::get('selected_instance_username') 108 .'&n='. urlencode(SessionCache::get('selected_instance_network'))); 371 if ( file_exists( 372 THINKUP_WEBAPP_PATH.'plugins/'.$ap->folder_name."/controller/".$ap->folder_name.".php")) { 373 require_once THINKUP_WEBAPP_PATH.'plugins/'.$ap->folder_name."/controller/".$ap->folder_name. 373 require_once THINKUP_WEBAPP_PATH.'plugins/'.$ap->folder_name."/controller/".$ap->folder_name. 374 ".php"; 375 }index.html https://gitlab.com/thanhnhat041/padavan-ng | HTML | 77 lines
14</head> 15<body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000"><table border="0" width="100%" cellpadding="5" cellspacing="0" align="center"><tr><td width="120"><a href="http://swpat.ffii.org/"><img src="epatents.png" alt="Action against software patents" /></a></td><td width="180"><a href="http://www.gnome.org/"><img src="gnome2.png" alt="Gnome2 Logo" /></a><a href="http://www.w3.org/Status"><img src="w3c.png" alt="W3C Logo" /></a><a href="http://www.redhat.com/"><img src="redhat.gif" alt="Red Hat Logo" /></a><div align="left"><a href="http://xmlsoft.org/"><img src="Libxml2-Logo-180x168.gif" alt="Made with Libxml2 Logo" /></a></div></td><td><table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd"><tr><td align="center"><h1>The XML C parser and toolkit of Gnome</h1><h2>libxml</h2></td></tr></table></td></tr></table></td></tr></table><table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td valign="top" width="200" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Main Menu</b></center></td></tr><tr><td bgcolor="#fffacd"><form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form><ul><li><a href="index.html">Home</a></li><li><a href="html/index.html">Reference Manual</a></li><li><a href="intro.html">Introduction</a></li><li><a href="FAQ.html">FAQ</a></li><li><a href="docs.html" style="font-weight:bold">Developer Menu</a></li><li><a href="bugs.html">Reporting bugs and getting help</a></li><li><a href="help.html">How to help</a></li><li><a href="downloads.html">Downloads</a></li><li><a href="news.html">Releases</a></li><li><a href="XMLinfo.html">XML</a></li><li><a href="XSLT.html">XSLT</a></li><li><a href="xmldtd.html">Validation & DTDs</a></li><li><a href="encoding.html">Encodings support</a></li><li><a href="catalog.html">Catalog support</a></li><li><a href="namespaces.html">Namespaces</a></li><li><a href="contribs.html">Contributions</a></li><li><a href="examples/index.html" style="font-weight:bold">Code Examples</a></li><li><a href="html/index.html" style="font-weight:bold">API Menu</a></li><li><a href="guidelines.html">XML Guidelines</a></li><li><a href="ChangeLog.html">Recent Changes</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Related links</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="http://mail.gnome.org/archives/xml/">Mail archive</a></li><li><a href="http://xmlsoft.org/XSLT/">XSLT libxslt</a></li><li><a href="http://phd.cs.unibo.it/gdome2/">DOM gdome2</a></li><li><a href="http://www.aleksey.com/xmlsec/">XML-DSig xmlsec</a></li><li><a href="ftp://xmlsoft.org/">FTP</a></li><li><a href="http://www.zlatkovic.com/projects/libxml/">Windows binaries</a></li><li><a href="http://opencsw.org/packages/libxml2">Solaris binaries</a></li><li><a href="http://www.explain.com.au/oss/libxml2xslt.html">MacOsX binaries</a></li><li><a href="http://lxml.de/">lxml Python bindings</a></li><li><a href="http://cpan.uwinnipeg.ca/dist/XML-LibXML">Perl bindings</a></li><li><a href="http://libxmlplusplus.sourceforge.net/">C++ bindings</a></li><li><a href="http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4">PHP bindings</a></li><li><a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li><li><a href="http://libxml.rubyforge.org/">Ruby bindings</a></li><li><a href="http://tclxml.sourceforge.net/">Tcl bindings</a></li><li><a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Bug Tracker</a></li></ul></td></tr></table></td></tr></table></td><td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd"><p></p><p style="text-align: right; font-style: italic; font-size: 10pt">"Programming 16with libxml2 is like the thrilling embrace of an exotic stranger." <a href="http://diveintomark.org/archives/2004/02/18/libxml2">MarkUrlGenerator.php https://gitlab.com/mdabutaleb/bitm-laravel-1 | PHP | 324 lines
1<?php 2 52 * 53 * PHP's rawurlencode() encodes all chars except "a-zA-Z0-9-._~" according to RFC 3986. But we want to allow some chars 54 * to be used in their literal form (reasons below). Other chars inside the path must of course be encoded, e.g. 187 // the contexts base URL is already encoded (see Symfony\Component\HttpFoundation\Request) 188 $url = strtr(rawurlencode($url), $this->decodedChars); 189schedules_custom.php https://github.com/freedenizen/mythweb.git | PHP | 240 lines
52 53 <form name="custom_schedule" method="post" action="<?php echo root_url ?>tv/schedules/custom<?php if ($schedule->recordid) echo '/'.urlencode($schedule->recordid) ?>"> 54 62<?php } ?> 63 <li><input type="radio" class="radio" name="record" value="<?php echo rectype_always ?>" id="record_always"<?php 64 if ($schedule->type == rectype_always) echo ' CHECKED' ?> /> 85 <label for="searchtype_title"><?php echo t('Title Search') ?></label></li> 86 <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_keyword ?>" id="searchtype_keyword"<?php 87 if ($schedule->search == searchtype_keyword) echo ' CHECKED' 89 <label for="searchtype_keyword"><?php echo t('Keyword Search') ?></label></li> 90 <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_people ?>" id="searchtype_people"<?php 91 if ($schedule->search == searchtype_people) echo ' CHECKED' 93 <label for="searchtype_people"><?php echo t('People Search') ?></label></li> 94 <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_power ?>" id="searchtype_power"<?php 95 if ($schedule->search == searchtype_power) echo ' CHECKED'Route.php https://github.com/balupton/Zend-Framework-Mirror.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'; 41BlockControl.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 391 lines
1<?php 2namespace Concrete\Core\Page\Type\Composer\Control; 255 $c->getCollectionID(), 256 urlencode($area->getAreaHandle()), 257 $this->getPageTypeComposerFormLayoutSetControlObject()->getPageTypeComposerFormLayoutSetControlID(),mod-minichat.tpl https://gitlab.com/ElvisAns/tiki | Smarty Template | 196 lines
29 30 function minichat_urlencode(str) { 31 str = encodeURIComponent(str); 41 var date=new Date(); 42 var u="tiki-minichat_ajax.php?lasttimeout="+minichat_lasttimeout+"&iebug="+date.getTime(); 43 46 while(c) { 47 var cname=minichat_urlencode(c.name); 48 u+=cname+';'+c.lastid; 74 var obj=document.getElementById('minichatinput'); 75 var value=minichat_urlencode(obj.value); 76 77 var u=minichat_mkurl(); 78 if (minichat_selectedchan) u+="&msgon="+minichat_urlencode(minichat_selectedchan.name); 79 u+="&msg="+value;aws_s3.php https://github.com/tbleher/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")); 38 "&Expires=" . (time() + module::get_var("aws_s3", "sig_exp")) . 39 "&Signature=" . urlencode(self::getHash("GET\n\n\n" . (time() + module::get_var("aws_s3", "sig_exp")) . "\n/" . $host . "/" . $resource)); 40 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);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);phpbb.store.php https://gitlab.com/pirati.cz/simpleid | PHP | 451 lines
71 if (_store_is_valid_name($clean_uid)) { 72 $q = _store_phpbb_sock()->prepare("SELECT COUNT(*) FROM phpbb_users JOIN phpbb_user_group ON (phpbb_users.user_id = phpbb_user_group.user_id) JOIN phpbb_groups ON (phpbb_user_group.group_id = phpbb_groups.group_id) WHERE (group_name = 'Celostatni forum' or group_name = 'Registrovani priznivci') AND username_clean = ? AND user_type=0"); 73 $q->execute(array($clean_uid)); 94 95 $q = _store_phpbb_sock()->prepare("SELECT username as nickname, CONCAT(REPLACE(LOWER(username_clean),' ','.'),'@pirati.cz') as email,user_lang as language, phpbb_profile_fields_data.pf_fullname as fullname, user_birthday as dob FROM phpbb_users JOIN phpbb_profile_fields_data ON (phpbb_users.user_id = phpbb_profile_fields_data.user_id)JOIN phpbb_user_group ON (phpbb_users.user_id = phpbb_user_group.user_id) JOIN phpbb_groups ON (phpbb_user_group.group_id = phpbb_groups.group_id) WHERE (group_name = 'Celostatni forum' or group_name = 'Registrovani priznivci') AND username_clean = ? AND user_type=0"); 96 $q->execute(array($clean_uid)); 143 144 $q = _store_phpbb_sock()->prepare("SELECT user_passchg FROM phpbb_users WHERE username_clean = ? AND user_type=0"); 145 $q->execute(array($clean_uid)); 301 $clean_uid = _clean_username($uid); 302 $q = _store_phpbb_sock()->prepare("SELECT user_password FROM phpbb_users JOIN phpbb_user_group ON (phpbb_users.user_id = phpbb_user_group.user_id) JOIN phpbb_groups ON (phpbb_user_group.group_id = phpbb_groups.group_id) WHERE (group_name = 'Celostatni forum' or group_name = 'Registrovani priznivci') AND username_clean = ? AND user_type=0"); 303 335function _store_phpbb_sock() { 336 $arr = parse_ini_file(__DIR__."/../config/phpbb.store.ini"); 337class-gsc-table.php https://gitlab.com/bhargavi_dcw/dflocal | PHP | 385 lines
1<?php 2/** 6if ( ! class_exists( 'WP_List_Table' ) ) { 7 require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); 8} 209 $actions['view'] = '<a href="' . $item['url'] . '" target="_blank">' . __( 'View', 'wordpress-seo' ) . '</a>'; 210 $actions['markasfixed'] = '<a href="javascript:wpseo_mark_as_fixed(\'' . urlencode( $item['url'] ) . '\');">' . __( 'Mark as fixed', 'wordpress-seo' ) . '</a>'; 211 342 343 require WPSEO_PATH . '/admin/google_search_console/views/gsc-create-redirect.php'; 344Trackback.php https://gitlab.com/sittipongwork/impro_dashboard | PHP | 549 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 107 108 $data = "url=".rawurlencode($url)."&title=".rawurlencode($title)."&blog_name=".rawurlencode($blog_name)."&excerpt=".rawurlencode($excerpt)."&charset=".rawurlencode($charset); 109 256 fputs ($fp, "Host: " . $target['host'] . "\r\n" ); 257 fputs ($fp, "Content-type: application/x-www-form-urlencoded\r\n" ); 258 fputs ($fp, "Content-length: " . strlen($data) . "\r\n" ); 547 548/* End of file Trackback.php */ 549/* Location: ./system/libraries/Trackback.php */config.php https://gitlab.com/Fullerton/PolitePressCore | PHP | 234 lines
31 <div class="akismet-new-snapshot"> 32 <iframe allowtransparency="true" scrolling="no" frameborder="0" style="width: 100%; height: 220px; overflow: hidden;" src="<?php printf( '//akismet.com/web/1.0/snapshot.php?blog=%s&api_key=%s&height=200&locale=%s', urlencode( get_option( 'home' ) ), Akismet::get_api_key(), get_locale() );?>"></iframe> 33 <ul> 85 if ( ! function_exists( 'wp_http_supports' ) ) { 86 ?><b><?php esc_html_e( 'Disabled.', 'akismet' ); ?></b> <?php printf( esc_html( 'Your WordPress installation does not include the function %s; upgrade to the latest version of WordPress.', 'akismet' ), '<code>wp_http_supports</code>' ); ?><?php 87 } 88 else if ( ! wp_http_supports( array( 'ssl' ) ) ) { 89 ?><b><?php esc_html_e( 'Disabled.', 'akismet' ); ?></b> <?php esc_html_e( 'Your Web server cannot make SSL requests; contact your Web host and ask them to add support for SSL requests.', 'akismet' ); ?><?php 90 } 94 if ( $ssl_disabled ) { 95 ?><b><?php esc_html_e( 'Temporarily disabled.', 'akismet' ); ?></b> <?php esc_html_e( 'Akismet encountered a problem with a previous SSL request and disabled it temporarily. It will begin using SSL for requests again shortly.', 'akismet' ); ?><?php 96 } 97 else { 98 ?><b><?php esc_html_e( 'Enabled.', 'akismet' ); ?></b> <?php esc_html_e( 'All systems functional.', 'akismet' ); ?><?php 99 }File.php https://gitlab.com/yousafsyed/easternglamor | PHP | 224 lines
1<?php 2/** 29 */ 30 protected $urlEncoder; 31 37 * @param \Magento\Framework\View\Asset\Repository $assetRepo 38 * @param \Magento\Framework\Url\EncoderInterface $urlEncoder 39 * @param array $data 46 \Magento\Framework\View\Asset\Repository $assetRepo, 47 \Magento\Framework\Url\EncoderInterface $urlEncoder, 48 $data = [] 51 $this->_assetRepo = $assetRepo; 52 $this->urlEncoder = $urlEncoder; 53 parent::__construct($factoryElement, $factoryCollection, $escaper, $data); 183 'customer/index/viewfile', 184 ['file' => $this->urlEncoder->encode($this->getValue())] 185 );AccessToken.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 189 lines
1<?php 2/** 22/** Zend_Oauth_Http */ 23#require_once 'Zend/Oauth/Http.php'; 24 25/** Zend_Oauth_Token_Access */ 26#require_once 'Zend/Oauth/Token/Access.php'; 27 125 Zend_Http_Client::CONTENT_TYPE, 126 Zend_Http_Client::ENC_URLENCODED 127 );all_notice_repay.php https://gitlab.com/xusasuke6/Slg_php | PHP | 307 lines
1<?php 2define('IN_DATANG_SYSTEM', true); 2define('IN_DATANG_SYSTEM', true); 3include "../../../config/config.php"; 4include "../../../admin/class/admin_log_class.php"; 4include "../../../admin/class/admin_log_class.php"; 5include SYSDIR_ADMIN."/include/global.php"; 6 99 $text = str_replace("\\\\", "\\", $text); // 还原 \ 100 $text = base64_encode(urlencode($text)); 101 $flag_m=0; 107 $url = $v['url']; 108 $link = $url."web/center/notice_repay.php?action=bulletin&time={$dateEndStamp}&title={$title}&text={$text}&sign={$sign}"; 109 $result = make_request($link,'POST',3); 299 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 300 curl_setopt($ch, CURLOPT_USERAGENT, 'WEB.4399.COM API PHP Servert 0.1 (curl) ' . phpversion()); 301 curl_setopt($ch, CURLOPT_HTTPHEADER, $header);index.php https://github.com/zburnham/phergie.git | PHP | 416 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 22/** 23 * Phergie Log Viewer ... Currently designed as a single PHP file in order to make 24 * it easy to 'install' this. Just drop the index.php (or whatever name you wish 98 $html = utf8specialchars($row['c']); 99 $url = urlencode($row['c']); 100 echo "<li><a href=\"?m=channel&w={$url}\">{$html}</a></li>\n"; 124 $channel = $_GET['w']; 125 $url = urlencode($channel); 126class-gf-auto-upgrade.php https://gitlab.com/plusplusminus/aevitas | PHP | 256 lines
60 $new_version = version_compare( $this->_version, $version_info['version'], '<' ) ? __( "There is a new version of {$title} available.", 'gravityforms' ) . " <a class='thickbox' title='{$title}' href='plugin-install.php?tab=plugin-information&plugin=" . $this->_slug . "&TB_iframe=true&width=640&height=808'>" . sprintf( __( 'View version %s Details', 'gravityforms' ), $version_info['version'] ) . '</a>. ' : ''; 61 $message = $new_version . sprintf( __( '%sRegister%s your copy of Gravity Forms to receive access to automatic upgrades and support. Need a license key? %sPurchase one now%s.', 'gravityforms' ), '<a href="admin.php?page=gf_settings">', '</a>', '<a href="http://www.gravityforms.com">', '</a>' ) . '</div></td>'; 62 GFAddOn::display_plugin_message( $message ); 89 if ( ! function_exists( 'get_plugin_data' ) ) { 90 include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 91 } 200 201 return sprintf( 'of=%s&key=%s&v=%s&wp=%s&php=%s&mysql=%s', urlencode( $offering ), urlencode( $key ), urlencode( $version ), urlencode( get_bloginfo( 'version' ) ), urlencode( phpversion() ), urlencode( $wpdb->db_version() ) ); 202 } 223 <div class="gf_update_expired alert_red"> 224 <?php _e( sprintf( '%sRegister%s your copy of Gravity Forms to receive access to automatic updates and support. Need a license key? %sPurchase one now%s.', '<a href="admin.php?page=gf_settings">','</a>','<a href="http://www.gravityforms.com">', '</a>' ), 'gravityforms' ); ?> 225 </div> 232 $upgrade_url = wp_nonce_url( 'update.php?action=upgrade-plugin&plugin=' . urlencode( $plugin_file ), 'upgrade-plugin_' . $plugin_file ); 233 $details_url = self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . urlencode( $this->_slug ) . '§ion=changelog&TB_iframe=true&width=600&height=800' ); 234 $message = sprintf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s details</a>.', 'gravityforms' ), $this->_title, esc_url( $details_url ), esc_attr( $this->_title ), $version_info['version'] );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.HttpUtilsTest.php https://gitlab.com/martinstti/silex-microframework-rest | PHP | 267 lines
1<?php 2 20 21class HttpUtilsTest extends \PHPUnit_Framework_TestCase 22{ 145 // Checking unicode 146 $this->assertTrue($utils->checkRequestPath($this->getRequest(urlencode('/вход')), '/вход')); 147 }component.php https://gitlab.com/alexprowars/bitrix | PHP | 322 lines
9$arParams["LESSON_ID"] = (isset($arParams["LESSON_ID"]) && intval($arParams["LESSON_ID"]) > 0 ? intval($arParams["LESSON_ID"]) : intval($_REQUEST["LESSON_ID"])); 10$arParams["SELF_TEST_TEMPLATE"] = ($arParams["SELF_TEST_TEMPLATE"] <> '' ? htmlspecialcharsbx($arParams["SELF_TEST_TEMPLATE"]) : "self.php?SELF_TEST_ID=#SELF_TEST_ID#"); 11$arParams["CHECK_PERMISSIONS"] = (isset($arParams["CHECK_PERMISSIONS"]) && $arParams["CHECK_PERMISSIONS"]=="N" ? "N" : "Y"); 20 21$strUrlencodedLessonPath = ''; 22if ($arParams['LESSON_PATH'] <> '') 22if ($arParams['LESSON_PATH'] <> '') 23 $strUrlencodedLessonPath = 'LESSON_PATH=' . $arParams['LESSON_PATH']; 24 44 $oPath = new CLearnPath(); 45 $oPath->ImportUrlencoded ($arParams['LESSON_PATH']); 46 $arPath = $oPath->GetPathAsArray(); 311 "TITLE" => GetMessage("LEARNING_COURSES_LESSON_DELETE"), 312 "URL" => "javascript:if(confirm('".GetMessage("LEARNING_COURSES_LESSON_DELETE_CONF")."'))jsUtils.Redirect([], '".CUtil::JSEscape("/bitrix/admin/learn_unilesson_admin.php?ID=".$arParams["LESSON_ID"]."&action=delete&lang=".LANGUAGE_ID."&".bitrix_sessid_get()."&COURSE_ID=".$arParams["COURSE_ID"]).($deleteReturnUrl <> ''? "&return_url=".urlencode($deleteReturnUrl) : "")."')", 313 "ICON" => "bx-context-toolbar-delete-icon",audio.php https://gitlab.com/thisishayat/itv-2016 | PHP | 435 lines
1<?php 2 134 $sound_files = array_map( 'trim', $sound_files ); 135 $sound_files = array_map( array( $this, 'rawurlencode_spaces' ), $sound_files ); 136 $sound_files = array_map( 'esc_url_raw', $sound_files ); // Ensure each is a valid URL 169 foreach ( $options as $key => $value ) { 170 $flash_vars[] = rawurlencode( $key ) . '=' . rawurlencode( $value ); 171 } 428 */ 429 function rawurlencode_spaces( $url ) { 430 return str_replace( ' ', rawurlencode( ' ' ), $url );escape.html https://github.com/kissyteam/kissyteam.github.com.git | HTML | 286 lines
34 HEX_BASE = 16, 35 // http://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet 36 // http://wonko.com/post/html-escaping 88 89<span id='KISSY-method-urlEncode'> /** 90</span> * Call encodeURIComponent to encode a url component 94 */ 95 urlEncode: function (s) { 96 return encodeURIComponent(String(s)); 186 var buf = [], key, i, v, len, val, 187 encode = S.urlEncode; 188 for (key in o) {contact.tpl https://gitlab.com/dadangnh/sb1-bon | Smarty Template | 144 lines
4 <?php foreach ($breadcrumbs as $breadcrumb) { ?> 5 <li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li> 6 <?php } ?> 22 <?php if ($image) { ?> 23 <div class="col-sm-3"><img src="<?php echo $image; ?>" alt="<?php echo $store; ?>" title="<?php echo $store; ?>" class="img-thumbnail" /></div> 24 <?php } ?> 29 <?php if ($geocode) { ?> 30 <a href="https://maps.google.com/maps?q=<?php echo urlencode($geocode); ?>&hl=<?php echo $geocode_hl; ?>&t=m&z=15" target="_blank" class="btn btn-info"><i class="fa fa-map-marker"></i> <?php echo $button_map; ?></a> 31 <?php } ?> 66 <?php if ($location['image']) { ?> 67 <div class="col-sm-3"><img src="<?php echo $location['image']; ?>" alt="<?php echo $location['name']; ?>" title="<?php echo $location['name']; ?>" class="img-thumbnail" /></div> 68 <?php } ?> 73 <?php if ($location['geocode']) { ?> 74 <a href="https://maps.google.com/maps?q=<?php echo urlencode($location['geocode']); ?>&hl=<?php echo $geocode_hl; ?>&t=m&z=15" target="_blank" class="btn btn-info"><i class="fa fa-map-marker"></i> <?php echo $button_map; ?></a> 75 <?php } ?>config.php https://gitlab.com/campus-academy/krowkaramel | PHP | 248 lines
37 <div class="akismet-new-snapshot"> 38 <iframe allowtransparency="true" scrolling="no" frameborder="0" style="width: 100%; height: 220px; overflow: hidden;" src="<?php printf( '//akismet.com/web/1.0/snapshot.php?blog=%s&api_key=%s&height=200&locale=%s', urlencode( get_option( 'home' ) ), Akismet::get_api_key(), get_locale() );?>"></iframe> 39 <ul> 91 if ( ! wp_http_supports( array( 'ssl' ) ) ) { 92 ?><b><?php esc_html_e( 'Disabled.', 'akismet' ); ?></b> <?php esc_html_e( 'Your Web server cannot make SSL requests; contact your Web host and ask them to add support for SSL requests.', 'akismet' ); ?><?php 93 } 97 if ( $ssl_disabled ) { 98 ?><b><?php esc_html_e( 'Temporarily disabled.', 'akismet' ); ?></b> <?php esc_html_e( 'Akismet encountered a problem with a previous SSL request and disabled it temporarily. It will begin using SSL for requests again shortly.', 'akismet' ); ?><?php 99 } 100 else { 101 ?><b><?php esc_html_e( 'Enabled.', 'akismet' ); ?></b> <?php esc_html_e( 'All systems functional.', 'akismet' ); ?><?php 102 } 175 <div id="delete-action"> 176 <a class="submitdelete deletion" href="<?php echo esc_url( Akismet_Admin::get_page_url( 'delete_key' ) ); ?>"><?php esc_html_e('Disconnect this account', 'akismet'); ?></a> 177 </div>polldaddy.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 401 lines
1<?php 2 99 'unique_id' => $unique_id, 100 'title' => rawurlencode( trim( $title ) ), 101 'permalink' => esc_url( $permalink ),import.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 412 lines
57 $message->display(); 58 require './libraries/footer.inc.php'; 59} 82 if (strlen($table) && strlen($db)) { 83 $goto = 'tbl_structure.php'; 84 } elseif (strlen($db)) { 84 } elseif (strlen($db)) { 85 $goto = 'db_structure.php'; 86 } else { 98 . '?' . $common 99 . (preg_match('@^tbl_[a-z]*\.php$@', $goto) ? '&table=' . urlencode($table) : ''); 100} 405if ($go_sql) { 406 require './sql.php'; 407} else {yandex.php https://gitlab.com/alexprowars/bitrix | PHP | 474 lines
41 '#URL#' => \CYandexOAuthInterface::getRedirectUri(), 42 '#MAIL_URL#' => \CHttp::urn2uri('/bitrix/tools/mail_oauth.php'), 43 ) 56 { 57 $redirect_uri = static::CONTROLLER_URL."/redirect.php"; 58 $state = CYandexOAuthInterface::GetRedirectURI()."?check_key=".$_SESSION["UNIQUE_KEY"]."&state="; 59 $backurl = $APPLICATION->GetCurPageParam('', array("logout", "auth_service_error", "auth_service_id", "backurl")); 60 $state .= urlencode("state=".urlencode("backurl=".urlencode($backurl).'&mode='.$location.(isset($arParams['BACKURL']) ? '&redirect_url='.urlencode($arParams['BACKURL']) : ''))); 61 } 63 { 64 $state = 'site_id='.SITE_ID.'&backurl='.urlencode($APPLICATION->GetCurPageParam('check_key='.$_SESSION["UNIQUE_KEY"], array("logout", "auth_service_error", "auth_service_id", "backurl"))).'&mode='.$location.(isset($arParams['BACKURL']) ? '&redirect_url='.urlencode($arParams['BACKURL']) : ''); 65 $redirect_uri = CYandexOAuthInterface::GetRedirectURI(); 179 { 180 $redirect_uri = static::CONTROLLER_URL."/redirect.php"; 181 }