100+ results results for 'php urlencode repo:kucing2k/ediassoc' (315 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 );SpecialExport.php https://github.com/abma/spring-website.git | PHP | 414 lines
1<?php 2# Copyright (C) 2003-2008 Brion Vibber <brion@pobox.com> 139 // Provide a sane filename suggestion 140 $filename = urlencode( $wgSitename . '-' . wfTimestampNow() . '.xml' ); 141 $wgRequest->response()->header( "Content-disposition: attachment;filename={$filename}" );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})();settings_admin_modifyconfig.tpl https://github.com/ThiloWitt/core.git | Smarty Template | 180 lines
7 8<form class="z-form" action="{modurl modname="Settings" type="admin" func="updateconfig"}" method="post" enctype="application/x-www-form-urlencoded"> 9 <div> 65 </select> 66 <em class="z-formnote">{gt text="('index.php' points to this)"}</em> 67 </div> 85 <input id="settings_entrypoint" type="text" name="settings[entrypoint]" value="{$modvars.ZConfig.entrypoint|safetext}" size="20" maxlength="60" /> 86 <em class="z-formnote">{gt text="(Default: index.php)"}</em> 87 <p class="z-formnote z-informationmsg">{gt text="Notice: The entry point file must be present in the Zikula root directory before you set it here as your site's start page."}</p>internal-link-aliases.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 310 lines
1<?php 2 103 if (!isset($alias['to'])) $alias['to'] = ''; 104 $u_alias_to = urlencode($alias['to']); 105 260 foreach ($aliases as $alias) { 261 $to = urlencode($alias['to']); 262circulation_all.php https://github.com/yichaowang/Library-Circulation-Table.git | PHP | 291 lines
60 <div id="sitehead"><img src="images/site_title.gif" alt="" /><h1 id="siteName">北京大学图书馆社会学分馆</h1></div> 61 <div id="globalNav"> <a href="index.php">分馆简介</a> |<a href="#"></a> <a href="newbooks.php">新书通报</a> |<a href="#"></a> <a href="recommend.php">读者推荐</a> |<a href="#"></a> <a href="thesis.php">学位论文</a> |<a href="#"></a> <a href="reference.php">教学参考</a> |<a href="#"></a> <a href="archievement.php">科研成果</a> |<a href="#"></a> <a href="quotation.php">引文文献</a> |<a href="#"></a> <a href="allbook.php">馆藏书目</a> |<a href="#"></a> <a href="resource.php">电子资源</a> |<a href="#"></a> <a href="http://162.105.138.200/uhtbin/cgisirsi/0/0/0/49" target="_blank">书目检索</a> |<a href="#"></a> <a href="circulation.php">流通信息</a> </div> 62</div> 92 <div class="story"> 93 <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="application/x-www-form-urlencoded" name="fm_thesis" id="fm_thesis"> 94 <table width="67%" border="0" align="center"> 243 <ul> 244 <li><a href="circulation.php?<?php echo "year=$year&month=$month&stat=$stat"; ?>&type=1">本馆流通</a></li> 245 <li><a href="circulation_isa.php?<?php echo "year=$year"; ?>">借出与复印</a></li> 252 <li><a href="<?php echo $_SERVER['PHP_SELF'], "?year=$year&month=$month&stat=$stat"; ?>&type=3">续借统计</a></li> 253 <li><a href="<?php echo $_SERVER['PHP_SELF'], "?year=$year&month=$month&stat=$stat"; ?>&type=2">还书统计</a></li> 254 </ul> 260 <li><a href="<?php echo $_SERVER['PHP_SELF'], "?year=$year&month=$month&type=$type"; ?>&stat=1">月报</a></li> 261 <li><a href="<?php echo $_SERVER['PHP_SELF'], "?year=$year&type=$type"; ?>&stat=2">年报</a></li> 262 </ul>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 callbackMSG.php https://github.com/Basti-sama/Bengine.git | PHP | 386 lines
1<?php 2/** 6 * @copyright Copyright protected by / Urheberrechtlich geschützt durch "Sebastian Noll" <snoll@4ym.org> 7 * @version $Id: MSG.php 19 2011-05-27 10:30:33Z secretchampion $ 8 */ 96 Core::getTPL()->assign("maxpmlength", fNumber(Core::getOptions()->get("MAX_PM_LENGTH"))); 97 $sendAction = BASE_URL."game/".SID."/MSG/Write/".rawurlencode($receiver); 98 if($reply != "") 99 { 100 $sendAction .= "/".Link::urlEncode($reply); 101 }mail.php https://bitbucket.org/allanxyh/uniquemall.git | 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);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 }request.py https://github.com/subtleGradient/hue.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')view.php https://github.com/ayamyau/concrete5.git | PHP | 390 lines
67 <? }else{ ?> 68 ccm_openAreaAddBlock("<?=urlencode($globalScrapbookArea->getAreaHandle()) ?>", true); 69 <? } ?> 86 title: ccmi18n.changeBlockTemplate, 87 href: editBlockURL+'?cID='+CCM_CID+'&bID='+bID+'&arHandle=<?=urlencode($scrapbookName)?>&btask=template', 88 width: 300, 192 <td class="options"> 193 <a href="<?=View::url($cPath,'view','?scrapbookName='.urlencode($availableScrapbook['arHandle']) ) ?>"><?=t('View')?></a> | 194 <a onclick="GlobalScrapbook.toggleScrapbookRename(<?=intval($availableScrapbook['arID']) ?>); return false;" href="#"><?=t('Rename')?></a> | 195 <a onclick="if(!confirm('<?=t('Are you sure you want to permantly delete this scrapbook?')?>')) return false;" 196 href="<?php echo $this->action('delete_scrapbook', urlencode($availableScrapbook['arHandle']), $valt->generate('delete_scrapbook') ) ?>"><?=t('Delete')?></a> 197 </td> 256 <a title="<?php echo t('Remove from Scrapbook')?>" 257 href="<?php echo $this->action('deleteBlock', urlencode($scrapbookName), $pcID, 0, $valt->generate('delete_scrapbook_block')) ?>" 258 id="sb<?=$pcID ?>">proc_cc.php https://github.com/MyITCRM/myitcrm1.git | PHP | 356 lines
1<? 2require('include.php'); 3//print_r ($_POST); 131$fields = ""; 132foreach( $authnet_values as $key => $value ) $fields .= "$key=" . urlencode( $value ) . "&"; 133font_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;ConfigForm.php https://gitlab.com/unofficial-mirrors/moodle | 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 }Sqs.php https://bitbucket.org/jokusafet/magento2.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-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 );AuthenticationApi.php https://github.com/RusticiSoftware/SCORMCloud_WordPressPlugin.git | PHP | 394 lines
1<?php 2/** 3 * AuthenticationApi 4 * PHP version 7 5 * 310 ['application/json'], 311 ['application/x-www-form-urlencoded'] 312 );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 *helper.php https://github.com/Shigaru/shigaru.git | PHP | 471 lines
1<?php 2/** 69 if($url_format == 0){ 70 $link = JRoute::_("index.php?option=com_customproperties&task=tag&tagId=". $tag->vid .$itemid_url); 71 } 72 else{ 73 $link = JRoute::_("index.php?option=com_customproperties&task=tag&tagName=". urlencode($tag->name.":".$tag->label) . $itemid_url); 74 } 94 JHTML::_( 'behavior.modal' ); 95 $link = JRoute::_('index.php?option=com_customproperties&controller=tagging&view=tagging&tmpl=component&id='.$cid); 96 $rel = "{handler: 'iframe', size: {x: 570, y: 400}}"; 120* @subpackage Search 121* file : joomla.php 122* Modified by : Andrea Forghieri 465 466 $theEscapedPath = join('/', array_map('rawurlencode', $thePath) ); 467 $file = $theURL['scheme'] . '://' . $theURL['host']. '/'. $theEscapedPath;updates.php https://github.com/widgetfactory/jce-admin.git | PHP | 389 lines
1<?php 2 14// load base model 15require_once (dirname(__FILE__) . '/model.php'); 16 17// load helper class 18require_once(dirname(dirname(__FILE__)) . '/helpers/updates.php'); 19 21 22 protected static $updateURL = 'https://www.joomlacontenteditor.net/index.php?option=com_updates&format=raw'; 23 105 if (!empty($key)) { 106 $data['key'] = urlencode($key); 107 } 117 foreach ($extension as $item => $value) { 118 $data[$type . '[' . urlencode($item) . ']'] = urlencode($value); 119 }functions.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 464 lines
1<?php 2 3# 4# Some common functions for the Ganglia PHP website. 5# Assumes the Gmeta XML tree has already been parsed, 35 if ($var) { 36 #$url = rawurlencode($var); 37 $hidden = "<input type=\"hidden\" name=\"$name\" value=\"$var\">\n"; 282 $rowclass = $up ? rowStyle() : "down"; 283 $host_url=rawurlencode($hostname); 284 $cluster_url=rawurlencode($clustername);skeleditor_fonctions.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 334 lines
1<?php 2/** 47 48 $output .= "<a href='".generer_url_ecrire('skeleditor','f='.urlencode($path_base.$file))."' class='$class'>" 49 . "<img src='"._DIR_PLUGIN_SKELEDITOR."spip_210/img_pack/se-$icon-16.png' alt='$icon' /> " 271 272 case 'php': 273 case 'html': 276 $parsers = array("parsexml.js", "parsecss.js", "tokenizejavascript.js", "parsejavascript.js", 277 "../contrib/php/js/tokenizephp.js", "../contrib/php/js/parsephp.js", 278 "../contrib/php/js/parsephphtmlmixed.js"); 278 "../contrib/php/js/parsephphtmlmixed.js"); 279 $css = array("css/xmlcolors.css", "css/jscolors.css", "css/csscolors.css", "contrib/php/css/phpcolors.css"); 280 break;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() belowindex.php https://github.com/karpenoktem/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; ?>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);Heart.cs https://github.com/cazzar/MCaznowl-Build.git | C# | 332 lines
8 9 http://www.opensource.org/licenses/ecl2.php 10 http://www.gnu.org/licenses/gpl-3.0.html 61 "&max=" + Server.players + 62 "&name=" + UrlEncode(Server.name) + 63 "&public=" + Server.pub + 128 request.Method = "POST"; 129 request.ContentType = "application/x-www-form-urlencoded"; 130 request.UserAgent = "Mozilla/5.0 (compatible; Konqueror/3.5; Windows NT 6.0) KHTML/3.5.6 (like Gecko)"; 260 261 public static string UrlEncode(string input) 262 {spaceinput.php https://github.com/shafiqissani/ASTRA-College-Website.git | PHP | 374 lines
1<?php 2// +------------------------------------------------------------------------+ 15// | along with this program; if not, you can view it at | 16// | http://www.opensource.org/licenses/gpl-license.php | 17// +------------------------------------------------------------------------+ 26* @copyright Christchurch College of Education 2001 27* @version $Id: spaceinput.php,v 1.20 2007/07/30 01:57:07 glendavies Exp $ 28* 33*/ 34require_once('../local/config.inc.php'); 35 63 64require_once($CONFIG['LANGUAGE_CPATH'].'/space_strings.inc.php'); 65 71 72 $message = urlencode($general_strings['not_allowed']); 73 header("Location: {$CONFIG['FULL_URL']}/index.php?message=$message");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(); ?>',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' => '*',CakeHtmlReporter.php https://bitbucket.org/vishallogiciel/admin-bootstrap.git | PHP | 385 lines
6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @since CakePHP(tm) v 1.2.0.4433 16 * @since CakePHP(tm) v 1.2.0.4433 17 * @license http://www.opensource.org/licenses/mit-license.php MIT License 18 */ 107 $title = implode(' / ', $title); 108 $buffer .= "<li><a href='" . $this->baseUrl() . "?case=" . urlencode($testCase) . $urlExtra . "'>" . $title . "</a></li>\n"; 109 } 134 * 135 * @param PHPUnit_Framework_TestResult $result Result object 136 * @return voidxbmc_alshain.php https://bitbucket.org/kaigoh/xbmc-php.git | PHP | 312 lines
1<?php 2 5 +-----------------------------------------------+ 6 | XBMC PHP Library - (C) Kai Gohegan, 2010 | 7 +-----------------------------------------------+ 8 9 A PHP library for interacting with XBMC using 10 JSON-RPC and XBMC's HTTP-API. Inspiration was 10 JSON-RPC and XBMC's HTTP-API. Inspiration was 11 drawn from Jason Bryant-Greene's php-json-rpc 12 (https://bitbucket.org/jbg/php-json-rpc/src). 76 $xbmcHttp->COMMAND('arg1,arg2'); 77 $xbmcHttp->ExecBuiltIn("Notification(XBMC-PHP, Hello!)"); 78 80 recursively and wrapped with parenthenses. All parameters will be 81 urlencoded properly, regardless of the of the way the arguments are 82 being passed.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/agnesrambaud/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 *trackback.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 372 lines
1<?php 2/** 2/** 3 * PHP Class to handle TrackBacks (send/ping, receive, retreive, detect, seed, etc...) 4 * 5 * <code><?php 6 * include('trackback_cls.php'); 7 * $trackback = new Trackback('BLOGish', 'Ran Aroussi', 'UTF-8'); 11 * 12 * @version $Id: trackback_cls.php,v 1.2 2004/12/11 18:54:32 Ran Exp $ 13 * @copyright Copyright (c) 2004 Ran Aroussi (http://www.blogish.org) 14 * @author Ran Aroussi <ran@blogish.org> 15 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 16 * 82 // Put together the things we want to send 83 $tb_send = "url=" . rawurlencode($url) . "&title=" . rawurlencode($title) . "&blog_name=" . rawurlencode($this->blog_name) . "&excerpt=" . rawurlencode($excerpt); 84 // Send the trackbackConnection.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 );schedules_custom.php https://github.com/fracmak/mythweb.git | PHP | 242 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'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";kvm-storage-vm-create.php https://github.com/qyjohn/openqrm.git | PHP | 362 lines
27 28<?php 29/* 48// error_reporting(E_ALL); 49$thisfile = basename($_SERVER['PHP_SELF']); 50$RootDir = $_SERVER["DOCUMENT_ROOT"].'/openqrm/base/'; 51$BaseDir = $_SERVER["DOCUMENT_ROOT"].'/openqrm/'; 52require_once "$RootDir/include/user.inc.php"; 53require_once "$RootDir/include/openqrm-server-config.php"; 53require_once "$RootDir/include/openqrm-server-config.php"; 54require_once "$RootDir/class/image.class.php"; 55require_once "$RootDir/class/resource.class.php"; 55require_once "$RootDir/class/resource.class.php"; 56require_once "$RootDir/class/virtualization.class.php"; 57require_once "$RootDir/class/kernel.class.php";IPN.class.php https://github.com/vaughnpaul/NOS.git | PHP | 299 lines
1<?php 2/* 2/* 3 $Id: IPN.class.php,v 2.8 2004/09/11 devosc Exp $ 4 20 21require_once($modules_directory . 'payment/paypal/classes/Client/Connector.class.php'); 22 59 } 60 $this->response_string .= '&' . urlencode($var) . '=' . urlencode($val); 61 }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.phpapiOAuth2.php https://bitbucket.org/matheusmatos/kadum.git | PHP | 391 lines
1<?php 2/* 17 18require_once "apiVerifier.php"; 19require_once "apiLoginTicket.php"; 19require_once "apiLoginTicket.php"; 20require_once "service/apiUtils.php"; 21 122 'response_type=code', 123 'redirect_uri=' . urlencode($this->redirectUri), 124 'client_id=' . urlencode($this->clientId), 124 'client_id=' . urlencode($this->clientId), 125 'scope=' . urlencode($scope), 126 'access_type=' . urlencode($this->accessType), 126 'access_type=' . urlencode($this->accessType), 127 'approval_prompt=' . urlencode($this->approvalPrompt) 128 );class.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 {xmlmem.html https://github.com/CyanogenMod/android_external_libxml2.git | 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>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>() {Route.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 422 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Route.php 24593 2012-01-05 20:35:02Z matthew $ 20 */ 24 */ 25require_once 'Zend/Controller/Router/Route/Interface.php'; 26 29 */ 30require_once 'Zend/Controller/Router/Route/Module.php'; 31 34 */ 35require_once 'Zend/Controller/Dispatcher/Interface.php'; 36 39 */ 40require_once 'Zend/Controller/Request/Abstract.php'; 41Action.js https://github.com/D3f0/django-admin-extras.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...',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 }SiteMap.php https://github.com/kanitw/LampCMS.git | PHP | 364 lines
1<?php 2/** 66 * 67 * Always use urlencode() for location part of XML 68 * Always make sure it's in UTF-8, which is basically automatically doneipayment.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 }xmlmem.html https://github.com/akiernan/omnibus.git | HTML | 115 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://codespeak.net/lxml/">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><li><a href="#General3">General overview</a></li> 11 <li><a href="#setting">Setting libxml2 set of memory routines</a></li>takeeditcp.php https://github.com/Bigjoos/U-232-V1.git | PHP | 302 lines
1<?php 2/** 18*/ 19require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'bittorrent.php'); 20require_once(INCL_DIR.'user_functions.php'); 20require_once(INCL_DIR.'user_functions.php'); 21require_once(INCL_DIR.'page_verify.php'); 22require_once(INCL_DIR.'password_functions.php'); 198 $hash = md5($sec . $email . $sec); 199 $obemail = urlencode($email); 200 $updateset[] = "editsecret = " . sqlesc($sec); 203 $body = str_replace(array('<#USERNAME#>', '<#SITENAME#>', '<#USEREMAIL#>', '<#IP_ADDRESS#>', '<#CHANGE_LINK#>'), 204 array($CURUSER['username'], $TBDEV['site_name'], $email, $_SERVER['REMOTE_ADDR'], "{$TBDEV['baseurl']}/confirmemail.php?uid={$CURUSER['id']}&key=$hash&email=$obemail"), 205 $lang['takeeditcp_email_body']); 300 $mc1->delete_value('MyUser_'.$CURUSER['id']); 301 header("Location: {$TBDEV['baseurl']}/usercp.php?edited=1&action=$action" . $urladd); 302 ?>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();index.html https://github.com/CyanogenMod/android_external_libxml2.git | 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">MarkCodeRepository.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 610 lines
1<?php 2 166 return str_replace( '$1', 167 urlencode( $bugId ), $this->bugzilla ); 168 } 373 # Deal with optional compression of archived pages. 374 # This can be done periodically via maintenance/compressOld.php, and 375 # as pages are saved if $wgCompressRevisions is set.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 */install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
96 try{ 97 require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ; 98 $mail = new PHPMailer(true) ; 283 284 $regions_json = osc_file_get_contents('http://geo.osclass.org/geo.download.php?action=region&country=' . urlencode(implode(',', $country)) . '&term=' . urlencode(implode(',', $region))); 285 $regions = json_decode($regions_json); 305 foreach($countries as $c) { 306 $cities_json = osc_file_get_contents('http://geo.osclass.org/geo.download.php?action=city&country=' . urlencode($c->name) . '®ion=' . urlencode(implode(',', $region)) . '&term='); 307 $cities = json_decode($cities_json); 338 339 $countries_json = osc_file_get_contents('http://geo.osclass.org/geo.download.php?action=country&term='. urlencode(implode(',', $country)) . '&install=true&version='.osc_version() ); 340 $countries = json_decode($countries_json); 358 foreach($countries as $c) { 359 $cities_json = osc_file_get_contents('http://geo.osclass.org/geo.download.php?action=city&country=' . urlencode($c->name) . '&term=' . urlencode(implode(',', $city))); 360 $cities = json_decode($cities_json);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>users.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 326 lines
1<?php 2#################################################################### 5 6require_once dirname(__FILE__).'/accesscheck.php'; 7 9 10include dirname(__FILE__).'/commonlib/pages/users.php'; 11return; 37if ($findby && $find && !in_array($findby,$system_findby) ) { 38 $find_url = '&find='.urlencode($find)."&findby=".urlencode($findby); 39 $findatt = Sql_Fetch_Array_Query("select id,tablename,type,name from {$tables["attribute"]} where id = $findby"); 78 $findfieldname = "Email"; 79 $find_url = '&find='.urlencode($find); 80} 266<table border=0> 267<tr><td colspan=4><input type=hidden name=id value="<?php echo $listid?>"> 268Find a user: <input type=text name=find value="<?php echo $find != '%' ? $find : ""?>" size=30>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 }ProviderTestService.java https://bitbucket.org/haris_peco/debrief.git | Java | 379 lines
12 * You can obtain a copy of the LGPL 2.1 license at 13 * http://www.opensource.org/licenses/lgpl-2.1.php 14 * 15 * You can obtain a copy of the CDDL 1.0 license at 16 * http://www.opensource.org/licenses/cddl1.php 17 * 18 * You can obtain a copy of the EPL 1.0 license at 19 * http://www.opensource.org/licenses/eclipse-1.0.php 20 * 189 @Path("form") 190 @Produces("application/x-www-form-urlencoded") 191 public Form formGet() { 200 @Produces("text/plain") 201 @Consumes("application/x-www-form-urlencoded") 202 public String formPost(Form form) {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";preferences.php https://github.com/shafiqissani/ASTRA-College-Website.git | PHP | 223 lines
1<?php 2// +------------------------------------------------------------------------+ 15// | along with this program; if not, you can view it at | 16// | http://www.opensource.org/licenses/gpl-license.php | 17// +------------------------------------------------------------------------+ 26* @copyright Christchurch College of Education 2001 27* @version $Id: preferences.php,v 1.15 2007/07/30 01:57:07 glendavies Exp $ 28* 33*/ 34require_once('../local/config.inc.php'); 35 38 39require_once($CONFIG['LANGUAGE_CPATH'].'/space_strings.inc.php'); 40 110 111 $message = urlencode($space_strings['preferences_updated']); 112 header("Location: {$CONFIG['FULL_URL']}/spaceadmin/admin.php?space_key=$space_key&message=$message");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;PaymentProcessor.php https://github.com/michaelmcandrew/th.git | PHP | 349 lines
1<?php 2 32 * @copyright CiviCRM LLC (c) 2004-2011 33 * $Id: PaymentProcessor.php 9702 2007-05-29 23:57:16Z lobo $ 34 * 36 37require_once 'CRM/Admin/Form.php'; 38 72 $this->assign( 'ppType', $this->_ppType ); 73 require_once 'CRM/Core/DAO/PaymentProcessorType.php'; 74 $this->_ppDAO = new CRM_Core_DAO_PaymentProcessorType( ); 93 if ( $destination ) { 94 $destination = urlencode( $destination ); 95 $refreshURL .= "&civicrmDestination=$destination";Sqs.php https://github.com/Doap/iCms---intelligent-Content-management-system.git | PHP | 465 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Sqs.php 22984 2010-09-21 02:52:48Z matthew $ 21 */ 25 */ 26require_once 'Zend/Service/Amazon/Abstract.php'; 27 30 */ 31require_once 'Zend/Crypt/Hmac.php'; 32 118 } else { 119 require_once 'Zend/Service/Amazon/Sqs/Exception.php'; 120 throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code); 144 if ($result->Error->Code !== null) { 145 require_once 'Zend/Service/Amazon/Sqs/Exception.php'; 146 throw new Zend_Service_Amazon_Sqs_Exception($result->Error->Code);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 FAQfilecloud.io_member.php https://gitlab.com/dkiller1/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.');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' ) ; 335schedules_manual.php https://github.com/fracmak/mythweb.git | PHP | 198 lines
25 26 <form name="schedule_manually" method="post" action="<?php echo root_url ?>tv/schedules/manual<?php if ($schedule->recordid) echo '/'.urlencode($schedule->recordid) ?>"> 27 36<?php } ?> 37 <li><input type="radio" class="radio" name="record" value="<?php echo rectype_once ?>" id="record_once"<?php 38 echo $schedule->type == rectype_once ? ' CHECKED' : '' ?> /> 44 45 <li><input type="radio" class="radio" name="record" value="<?php echo rectype_weekly ?>" id="record_weekly"<?php 46 echo $schedule->type == rectype_weekly ? ' CHECKED' : '' ?> /> 62<?php } ?> 63 <li><input type="radio" class="radio" name="record" value="<?php echo rectype_override ?>" id="record_override"<?php 64 if ($schedule->type == rectype_override) echo ' CHECKED' ?> /> 65 <label for="record_override"><?php echo t('rectype-long: override') ?></label></li> 66 <li><input type="radio" class="radio" name="record" value="<?php echo rectype_dontrec ?>" id="record_dontrec"<?php 67 if ($schedule->type == rectype_dontrec) echo ' CHECKED' ?> />Route.php https://github.com/StefanRHRO/SCRM.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'; 41old_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>Client.php https://github.com/Doap/iCms---intelligent-Content-management-system.git | PHP | 339 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Client.php 23076 2010-10-10 21:37:20Z padraic $ 20 */ 22/** Zend_Oauth */ 23require_once 'Zend/Oauth.php'; 24 25/** Zend_Http_Client */ 26require_once 'Zend/Http/Client.php'; 27 28/** Zend_Oauth_Http_Utility */ 29require_once 'Zend/Oauth/Http/Utility.php'; 30 31/** Zend_Oauth_Config */ 32require_once 'Zend/Oauth/Config.php'; 33Route.php https://bitbucket.org/nblaudez/maerdo.git | PHP | 413 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Route.php 23486 2010-12-10 04:05:30Z mjh_ca $ 20 */ 24 */ 25require_once 'Zend/Controller/Router/Route/Interface.php'; 26 29 */ 30require_once 'Zend/Controller/Router/Route/Module.php'; 31 34 */ 35require_once 'Zend/Controller/Dispatcher/Interface.php'; 36 39 */ 40require_once 'Zend/Controller/Request/Abstract.php'; 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 }sso.class.php https://bitbucket.org/hanutimes/hanutimes.git | PHP | 234 lines
11 * overwrite its method, then modify the corresponding calling code in 12 * main/inc/local.inc.php 13 * @package chamilo.auth.sso 22 public $deauth_uri; // '/?q=logout', 23 public $referer; // http://my.chamilo.com/main/auth/profile.php 24 53 public function ask_master() { 54 $params = 'sso_referer='.urlencode($this->referer).'&sso_target='.urlencode($this->target); 55 if (strpos($this->master_url, "?") === false) { 75 * Validates the received active connection data with the database 76 * @return bool Return the loginFailed variable value to local.inc.php 77 */ 146 Session::erase('_uid'); 147 header('Location: '.api_get_path(WEB_PATH).'index.php?loginFailed=1&error=access_url_inactive'); 148 exit;Route.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 413 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Route.php 23485 2010-12-10 04:03:18Z mjh_ca $ 20 */ 24 */ 25require_once 'Zend/Controller/Router/Route/Interface.php'; 26 29 */ 30require_once 'Zend/Controller/Router/Route/Module.php'; 31 34 */ 35require_once 'Zend/Controller/Dispatcher/Interface.php'; 36 39 */ 40require_once 'Zend/Controller/Request/Abstract.php'; 41ConfigForm.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 }Cookie.php https://github.com/quarkness/piwik.git | PHP | 424 lines
1<?php 2 19 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 20 * @version $Id: Cookie.php 23775 2011-03-01 17:25:24Z ralph $ 21 * @license http://framework.zend.com/license/new-bsd New BSD License 26 */ 27// require_once 'Zend/Uri/Http.php'; 28 112 if (preg_match("/[=,; \t\r\n\013\014]/", $name)) { 113 // require_once 'Zend/Http/Exception.php'; 114 throw new Zend_Http_Exception("Cookie name cannot contain these characters: =,; \\t\\r\\n\\013\\014 ({$name})"); 117 if (! $this->name = (string) $name) { 118 // require_once 'Zend/Http/Exception.php'; 119 throw new Zend_Http_Exception('Cookies must have a name'); 122 if (! $this->domain = (string) $domain) { 123 // require_once 'Zend/Http/Exception.php'; 124 throw new Zend_Http_Exception('Cookies must have a domain');