PageRenderTime 1581ms queryTime 371ms sortTime 74ms getByIdsTime 348ms findMatchingLines 413ms

100+ results results for 'php md5 repo:frapi/frapi' (1581 ms)

Not the results you expected?
axel.py https://gitlab.com/132nd-etcher/CouchPotatoServer | Python | 381 lines
                    
9# This module is part of Axel and is released under
                    
10# the MIT License: http://www.opensource.org/licenses/mit-license.php
                    
11#
                    
111    def hash(self, handler):
                    
112        return hashlib.md5(str(handler)).hexdigest()
                    
113
                    
                
bookmark.php https://gitlab.com/gregtyka/helloworld1234 | PHP | 414 lines
                    
1<?php
                    
2/**
                    
88 *
                    
89 * Attempts to retrieve from the cache first based on MD5 hash of arguments. If
                    
90 * that fails, then the query will be built from the arguments and executed. The
                    
129
                    
130	$key = md5( serialize( $r ) );
                    
131	if ( $cache = wp_cache_get( 'get_bookmarks', 'bookmark' ) ) {
                    
199			wp_cache_set( 'get_bookmarks', $cache, 'bookmark' );
                    
200			/** This filter is documented in wp-includes/bookmark.php */
                    
201			return apply_filters( 'get_bookmarks', array(), $r );
                    
290
                    
291	/** This filter is documented in wp-includes/bookmark.php */
                    
292	return apply_filters( 'get_bookmarks', $results, $r );
                    
380	if ( 'edit' == $context ) {
                    
381		/** This filter is documented in wp-includes/post.php */
                    
382		$value = apply_filters( "edit_$field", $value, $bookmark_id );
                    
                
Rscf.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 359 lines
                    
1<?php
                    
2
                    
9
                    
10require_once W3TC_LIB_W3_DIR . '/Cdn/Base.php';
                    
11require_once W3TC_LIB_CF_DIR . '/cloudfiles.php';
                    
38    /**
                    
39     * PHP5 Constructor
                    
40     *
                    
55    /**
                    
56     * PHP4 Constructor
                    
57     *
                    
181                if ($status >= 200 && $status < 300) {
                    
182                    $hash = @md5_file($local_path);
                    
183
                    
245
                    
246        $string = 'test_rscf_' . md5(time());
                    
247
                    
                
Message.php https://gitlab.com/devtoannh/cafe | PHP | 246 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Message.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
24/**
                    
25 * A message envelope that can be passed to Zend_Wildfire_Plugin_FirePhp to be
                    
26 * logged to Firebug instead of a variable.
                    
33 */
                    
34class Zend_Wildfire_Plugin_FirePhp_Message
                    
35{
                    
91        $this->_message = $message;
                    
92        $this->_ruid = md5(microtime().mt_rand());
                    
93    }
                    
                
LoggerDataCollector.php https://gitlab.com/susmitha.plts/photographer_portfolio | PHP | 216 lines
                    
1<?php
                    
2
                    
124            if (isset($context['type'], $context['file'], $context['line'], $context['level'])) {
                    
125                $errorId = md5("{$context['type']}/{$context['line']}/{$context['file']}\x00{$log['message']}", true);
                    
126                $silenced = !($context['type'] & $context['level']);
                    
                
Change.php https://gitlab.com/yousafsyed/easternglamor | PHP | 204 lines
                    
1<?php
                    
2/**
                    
102        if (null === $key) {
                    
103            $key = md5($this->getRandom()->getRandomString(ConfigOptionsListConstants::STORE_KEY_RANDOM_STRING_SIZE));
                    
104        }
                    
111
                    
112        // update database and config.php
                    
113        $this->beginTransaction();
                    
                
class.jetpack-xmlrpc-server.php https://gitlab.com/ibnukipa/cakra | PHP | 429 lines
                    
1<?php
                    
2
                    
211
                    
212		$hmac = hash_hmac( 'md5', json_encode( (object) array(
                    
213			'client_id' => (int) $client_id,
                    
404		// needed?
                    
405		require_once ABSPATH . 'wp-admin/includes/admin.php';
                    
406
                    
406
                    
407		require_once JETPACK__PLUGIN_DIR . 'class.json-api.php';
                    
408		$api = WPCOM_JSON_API::init( $method, $url, $post_body );
                    
409		$api->token_details['user'] = $user_details;
                    
410		require_once JETPACK__PLUGIN_DIR . 'class.json-api-endpoints.php';
                    
411
                    
418		$nonce = wp_generate_password( 10, false );
                    
419		$hmac  = hash_hmac( 'md5', $nonce . $output, $token->secret );
                    
420
                    
                
bluepay_hosted.php https://gitlab.com/firstrate/firstrate | PHP | 231 lines
                    
1<?php
                    
2class ModelPaymentBluePayHosted extends Model {
                    
58
                    
59			$void_data['APPROVED_URL'] = HTTP_CATALOG . 'index.php?route=payment/bluepay_hosted/adminCallback';
                    
60			$void_data['DECLINED_URL'] = HTTP_CATALOG . 'index.php?route=payment/bluepay_hosted/adminCallback';
                    
60			$void_data['DECLINED_URL'] = HTTP_CATALOG . 'index.php?route=payment/bluepay_hosted/adminCallback';
                    
61			$void_data['MISSING_URL'] = HTTP_CATALOG . 'index.php?route=payment/bluepay_hosted/adminCallback';
                    
62
                    
68
                    
69			$void_data["TAMPER_PROOF_SEAL"] = md5($tamper_proof_data);
                    
70
                    
98
                    
99			$release_data['APPROVED_URL'] = HTTP_CATALOG . 'index.php?route=payment/bluepay_hosted/adminCallback';
                    
100			$release_data['DECLINED_URL'] = HTTP_CATALOG . 'index.php?route=payment/bluepay_hosted/adminCallback';
                    
100			$release_data['DECLINED_URL'] = HTTP_CATALOG . 'index.php?route=payment/bluepay_hosted/adminCallback';
                    
101			$release_data['MISSING_URL'] = HTTP_CATALOG . 'index.php?route=payment/bluepay_hosted/adminCallback';
                    
102
                    
                
Array.php https://gitlab.com/blingbang2016/shop | PHP | 355 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26#require_once 'Zend/Queue/Adapter/AdapterAbstract.php';
                    
27
                    
28/**
                    
29 * Class for using a standard PHP array as a queue
                    
30 *
                    
148             */
                    
149            #require_once 'Zend/Queue/Exception.php';
                    
150            throw new Zend_Queue_Exception('Queue does not exist');
                    
174        if (!$this->isExists($queue->getName())) {
                    
175            #require_once 'Zend/Queue/Exception.php';
                    
176            throw new Zend_Queue_Exception('Queue does not exist:' . $queue->getName());
                    
182            'body'       => $message,
                    
183            'md5'        => md5($message),
                    
184            'handle'     => null,
                    
                
Alignment.php https://gitlab.com/dmsapiens/physicians | PHP | 409 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Alignment extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable
                    
37{
                    
143	 *		array(
                    
144	 *			'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,
                    
145	 *			'vertical'   => PHPExcel_Style_Alignment::VERTICAL_CENTER,
                    
338	 * @param boolean $pValue
                    
339	 * @return PHPExcel_Style_Alignment
                    
340	 */
                    
                
class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
                    
1<?php
                    
2/**
                    
12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes
                    
13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes.
                    
14 *
                    
14 *
                    
15 * @see config/map.php
                    
16 * @see include/helpers/helpers_api.php
                    
126	 * You need to shortcode's tag and  settings to map correctly.
                    
127	 * Default shortcodes are mapped in config/map.php file.
                    
128	 * The best way is to call this method with "init" action callback function of WP.
                    
217							}
                    
218							$values['_category_ids'][] = md5( $c ); // array_search($category, self::$categories);
                    
219						}
                    
223						}
                    
224						$values['_category_ids'][] = md5( $categories ); // array_search($category, self::$categories);
                    
225					}
                    
                
Font.php https://gitlab.com/adamlwalker/generatedata | PHP | 640 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Font implements PHPExcel_IComparable
                    
37{
                    
153			$this->_strikethrough	= NULL;
                    
154			$this->_color			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
                    
155		} else {
                    
155		} else {
                    
156			$this->_color	= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
                    
157		}
                    
                
NormalModule.js https://gitlab.com/naorsh/trello_api_site | JavaScript | 322 lines
                    
1/*
                    
2	MIT License http://www.opensource.org/licenses/mit-license.php
                    
3	Author Tobias Koppers @sokra
                    
119NormalModule.prototype.source = function(dependencyTemplates, outputOptions, requestShortener) {
                    
120	var hash = require("crypto").createHash("md5");
                    
121	this.updateHash(hash);
                    
221	if(!this._source) return "";
                    
222	var hash = require("crypto").createHash("md5");
                    
223	hash.update(this._source.source());
                    
                
Fill.php https://gitlab.com/devtoannh/cafe | PHP | 409 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Fill implements PHPExcel_IComparable
                    
37{
                    
129		$this->_startColor			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE, $isSupervisor, $isConditional);
                    
130		$this->_endColor			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
                    
131
                    
141	 *
                    
142	 * @param PHPExcel_Style $parent
                    
143	 * @return PHPExcel_Style_Fill
                    
                
bluepay.php https://gitlab.com/sheldonels/pyrocms | PHP | 310 lines
                    
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
11 * @created 08/24/2011
                    
12 * @license http://www.opensource.org/licenses/mit-license.php
                    
13 * @link https://github.com/calvinfroedge/codeigniter-payments
                    
203	 *
                    
204	 * This function creates a md5 checksum to validate the integrity of the request
                    
205	 * The secret key is never passed directly and is used as a salt to provide a check
                    
208	 * FORMAT:
                    
209	 * md5(SECRET KEY + ACCOUNT_ID + TRANS_TYPE + AMOUNT + MASTER_ID + NAME1 + PAYMENT_ACCOUNT)
                    
210	 * 
                    
219		foreach($tps_contents as $key) $hash .= (isset($params[$key])) ? $params[$key]: '';
                    
220		return bin2hex( md5($hash, TRUE) );		
                    
221	}
                    
                
ps_csv.inc http://phpshop.googlecode.com/svn/trunk/ | PHP | 328 lines
                    
1<?php
                    
2/*
                    
234          else { // Category does not exist - create it
                    
235            $hash_secret="PHPShopIsCool";
                    
236            $category_id = md5(uniqid($hash_secret));
                    
                
emogrifier.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 228 lines
                    
1<?php defined('_JEXEC') or die('Restricted access'); ?>
                    
2<?php
                    
20    2010-06-16  Added static caching for less processing overhead in situations where multiple emogrification takes place
                    
21    2010-07-26  Fixed bug where '0' values were getting discarded because of php's empty() function... Thanks Scott!
                    
22    2010-09-03  Added checks to invisible node removal to ensure that we don't try to remove non-existent child nodes of parents that have already been deleted
                    
83        static $csscache = array();
                    
84        $csskey = md5($css);
                    
85        if (!isset($csscache[$csskey])) {
                    
159        static $selectorcache = array();
                    
160        $selectorkey = md5($selector);
                    
161        if (!isset($selectorcache[$selectorkey])) {
                    
184        static $xpathcache = array();
                    
185        $xpathkey = md5($css_selector);
                    
186        if (!isset($xpathcache[$xpathkey])) {
                    
                
Cookie.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 355 lines
                    
1<?php
                    
2/*
                    
9* It is also available through the world-wide-web at this URL:
                    
10* http://opensource.org/licenses/osl-3.0.php
                    
11* If you did not receive a copy of the license and are unable to
                    
23*  @version  Release: $Revision: 6851 $
                    
24*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25*  International Registered Trademark & Property of PrestaShop SA
                    
65		$this->_expire = isset($expire) ? (int)($expire) : (time() + 1728000);
                    
66		$this->_name = md5($name);
                    
67		$this->_path = trim(__PS_BASE_URI__.$path, '/\\').'/';
                    
282	/**
                    
283	  * Setcookie according to php version
                    
284	  */
                    
296		}
                    
297		if (PHP_VERSION_ID <= 50200) /* PHP version > 5.2.0 */
                    
298			return setcookie($this->_name, $content, $time, $this->_path, $this->_domain, 0);
                    
                
aws_s3.php git://github.com/gallery/gallery3-contrib.git | PHP | 330 lines
                    
1<?php defined("SYSPATH") or die("No direct script access.");
                    
2
                    
12        if (!self::$_s3) {
                    
13            require_once(MODPATH . "aws_s3/lib/s3.php");
                    
14            S3::setAuth(module::get_var("aws_s3", "access_key"), module::get_var("aws_s3", "secret_key"));
                    
121
                    
122        $item->s3_item_hash = md5($item->relative_path());
                    
123
                    
234    static function validate_access_details($access_key, $secret_key, $bucket_name) {
                    
235        require_once(MODPATH . "aws_s3/lib/s3.php");
                    
236        S3::setAuth($access_key, $secret_key);
                    
                
class.Cache.inc.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 326 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
33*
                    
34* Tested with Apache 1.3.24 and PHP 4.2.3
                    
35*
                    
126		//return $filename;
                    
127		return (string) md5($filename);
                    
128	} // end function
                    
                
odf.php https://bitbucket.org/chamilo/chamilo/ | PHP | 369 lines
                    
1<?php
                    
2require 'zip/PclZipProxy.php';
                    
2require 'zip/PclZipProxy.php';
                    
3require 'zip/PhpZipProxy.php';
                    
4require 'Segment.php';
                    
8 * Templating class for odt file
                    
9 * You need PHP 5.2 at least
                    
10 * You need Zip Extension or PclZip library
                    
14 * SVN Revision - $Rev: 42 $
                    
15 * Id : $Id: odf.php 42 2009-06-17 09:11:57Z neveldo $
                    
16 *
                    
52        if (! class_exists($this->config['ZIP_PROXY'])) {
                    
53            throw new OdfException($this->config['ZIP_PROXY'] . ' class not found - check your php settings');
                    
54        }
                    
68
                    
69        $tmp = tempnam($this->config['PATH_TO_TMP'], md5(uniqid()));
                    
70        copy($filename, $tmp);
                    
                
template_header.php https://github.com/azeckoski/az-php-sandbox.git | PHP | 175 lines
                    
1<?php
                    
2// $Header: /cvsroot/phpldapadmin/phpldapadmin/templates/template_header.php,v 1.6.4.5 2005/12/09 14:32:37 wurley Exp $
                    
3
                    
9
                    
10include './header.php';
                    
11
                    
12$time = gettimeofday();
                    
13$random_junk = md5(strtotime('now').$time['usec']);
                    
14$url_base = sprintf('server_id=%s&amp;dn=%s',$ldapserver->server_id,$encoded_dn);
                    
19$copy_href = sprintf('copy_form.php?%s',$url_base);
                    
20$intattr_href = sprintf('template_engine.php?%s&amp;show_internal_attrs=true',$url_base);
                    
21$delete_href = sprintf('delete_form.php?%s',$url_base);
                    
138			if ($ldapserver->isAttrBinary($attr)) {
                    
139				$href = sprintf('download_binary_attr.php?server_id=%s&amp;dn=%s&amp;attr=%s',$server_id,$encoded_dn,$attr);
                    
140
                    
                
EDD_SL_Plugin_Updater.php https://gitlab.com/stevie007/cinostaging | PHP | 337 lines
                    
1<?php if ( ! defined( 'ABSPATH' ) ) exit;
                    
2
                    
32        $this->name     = plugin_basename( $_plugin_file );
                    
33        $this->slug     = basename( $_plugin_file, '.php' );
                    
34        $this->version  = $_api_data['version'];
                    
61     * It is reassembled from parts of the native WordPress plugin update code.
                    
62     * See wp-includes/update.php line 121 for the original wp_update_plugins() function.
                    
63     *
                    
76
                    
77        if( 'plugins.php' == $pagenow && is_multisite() ) {
                    
78            return $_transient_data;
                    
131
                    
132            $cache_key    = md5( 'edd_plugin_' .sanitize_key( $this->name ) . '_version_info' );
                    
133            $version_info = get_transient( $cache_key );
                    
172
                    
173            $changelog_link = self_admin_url( 'index.php?edd_sl_action=view_plugin_changelog&plugin=' . $this->name . '&slug=' . $this->slug . '&TB_iframe=true&width=772&height=911' );
                    
174
                    
                
PDO.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 333 lines
                    
1<?php
                    
2
                    
273
                    
274        return '"' . md5($cardData) . '"';
                    
275
                    
310
                    
311        return '"' . md5($cardData) . '"';
                    
312
                    
                
profile.php https://gitlab.com/ivaang94/DB_Proyect | PHP | 311 lines
                    
1<?php
                    
2	/**
                    
6	*/
                    
7	require_once '../boot.php';
                    
8
                    
125						$updated = TRUE;
                    
126						$currentUser['password'] = md5($newPassword);
                    
127					} else {
                    
146
                    
147				if ($currentPassword == md5($password)) {
                    
148					if (!$errors) {
                    
184			<div class="col-xs-12">
                    
185				<?php include 'header.php'; ?>
                    
186			</div>
                    
191			<div class="col-xs-3">
                    
192				<?php include 'sidebar.php'; ?>
                    
193			</div>
                    
                
after-the-deadline.php https://gitlab.com/endomorphosis/falkenstein | PHP | 286 lines
                    
1<?php
                    
2/**
                    
27include( 'after-the-deadline/config-options.php' );
                    
28include( 'after-the-deadline/config-unignore.php' );
                    
29include( 'after-the-deadline/proxy.php' );
                    
90
                    
91	/* kill the spellchecker.. don't need no steenkin PHP spell checker */
                    
92	foreach ( $buttons as $key => $button ) {
                    
123	$init_array['atd_rpc_url']        = admin_url( 'admin-ajax.php?action=proxy_atd&url=' );
                    
124	$init_array['atd_ignore_rpc_url'] = admin_url( 'admin-ajax.php?action=atd_ignore&phrase=' );
                    
125	$init_array['atd_rpc_id']         = 'WPORG-' . md5(get_bloginfo('wpurl'));
                    
151	/* set the RPC URL for AtD */
                    
152	echo "AtD.rpc = " . json_encode( esc_url_raw( admin_url( 'admin-ajax.php?action=proxy_atd&url=' ) ) ) . ";\n";
                    
153
                    
252
                    
253	$pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'admin.php', 'profile.php' );
                    
254
                    
                
admin.php https://gitlab.com/Poorchop/Jirafeau | PHP | 304 lines
                    
24require (JIRAFEAU_ROOT . 'lib/functions.php');
                    
25require (JIRAFEAU_ROOT . 'lib/lang.php');
                    
26
                    
28if (file_exists (JIRAFEAU_ROOT . 'install.php')
                    
29    && !file_exists (JIRAFEAU_ROOT . 'lib/config.local.php'))
                    
30{
                    
80               t('Wrong password.') . '</p></div>';
                    
81          require (JIRAFEAU_ROOT.'lib/template/footer.php');
                    
82          exit;
                    
146          require (JIRAFEAU_ROOT . 'lib/template/header.php');
                    
147          ?><h2><?php echo t('Admin interface'); ?></h2><?php
                    
148          ?><h2>(version <?php echo JIRAFEAU_VERSION ?>)</h2><?php
                    
152          <table>
                    
153          <form action = "<?php echo basename(__FILE__); ?>" method = "post">
                    
154          <tr>
                    
                
comments.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 484 lines
                    
2
                    
3require dirname( __FILE__ ) . '/base.php';
                    
4
                    
217			<div id="cancel-comment-reply-link" style="display:none; float:right;"><a href="#"><?php echo esc_html( __( 'Cancel Reply', 'jetpack' ) ); ?></a></div>
                    
218			<iframe src="<?php echo esc_url( $url ); ?>" allowtransparency="<?php echo $transparent; ?>" style="width:100%; height: <?php echo $height; ?>px;border:0px;" frameBorder="0" scrolling="no" name="jetpack_remote_comment" id="jetpack_remote_comment"></iframe>
                    
219		</div>
                    
220
                    
221		<?php // Below is required for comment reply JS to work ?>
                    
222
                    
299
                    
300	<?php endif; ?>
                    
301
                    
464try {
                    
465	window.parent.location = <?php echo json_encode( $url ); ?>;
                    
466	window.parent.location.reload();
                    
                
cas_user_request.class.php https://bitbucket.org/chamilo/chamilo-app-cas-user-dev/ | PHP | 221 lines
                    
1<?php
                    
2namespace application\cas_user;
                    
14
                    
15require_once dirname(__FILE__) . '/cas_account.class.php';
                    
16
                    
214        $cas_account->set_group('-');
                    
215        $cas_account->set_password(md5(Text :: generate_password()));
                    
216        $cas_account->set_status(CasAccount :: STATUS_ENABLED);
                    
                
contact-dist.php http://simplemodal.googlecode.com/svn/trunk/ | PHP | 203 lines
                    
1<?php
                    
2
                    
9 * Licensed under the MIT license:
                    
10 *   http://www.opensource.org/licenses/mit-license.php
                    
11 */
                    
94function smcf_token($s) {
                    
95	return md5("smcf-" . $s . date("WY"));
                    
96}
                    
130	}
                    
131	$headers .= "X-Mailer: PHP/SimpleModalContactForm";
                    
132
                    
                
util.php http://oregon-caspages.googlecode.com/svn/trunk/ | PHP | 517 lines
                    
1<?php
                    
2include 'editor_conf.php';
                    
25   //echo 'pass = ' . $password . '<br>';
                    
26   $password = md5($password);
                    
27   //echo $password;
                    
182      $link = connect_db();
                    
183      $new_pass = md5($new_pass);
                    
184      $user_list[$user_name] = $new_pass;
                    
195
                    
196$index_page = '<?php
                    
197include "../../../editor_conf.php";
                    
200                <div id="global_nav">
                    
201                        <?php include $basepath."global_nav.php";?>
                    
202                </div>
                    
203                <div id="main_content">
                    
204                        <?php echo file_get_contents("content.html");?>
                    
205                </div>
                    
                
People.Class.Session.php http://lussumo-vanilla.googlecode.com/svn/trunk/ | PHP | 214 lines
                    
1<?php
                    
2/**
                    
132		if (session_id()) {
                    
133			if (version_compare(phpversion(), '5.0.0', '>=')) {
                    
134				session_regenerate_id(true);
                    
137				session_destroy();
                    
138				session_id(md5(uniqid(rand(), true) . rand()));
                    
139				if ($Context->Configuration['SESSION_NAME']) {
                    
187	/**
                    
188	 * Start the PHP session
                    
189	 *
                    
201			$UseSsl = ($Context->Configuration['HTTP_METHOD'] === "https");
                    
202			if (version_compare(PHP_VERSION, '5.2.0', '>=')) {
                    
203				session_set_cookie_params(0, $Context->Configuration['COOKIE_PATH'],
                    
                
Alignment.php https://github.com/EOL/eol_php_code.git | PHP | 409 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Alignment extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable
                    
37{
                    
143	 *		array(
                    
144	 *			'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,
                    
145	 *			'vertical'   => PHPExcel_Style_Alignment::VERTICAL_CENTER,
                    
338	 * @param boolean $pValue
                    
339	 * @return PHPExcel_Style_Alignment
                    
340	 */
                    
                
DataValidation.php https://gitlab.com/Abubakker/web_apps_php_26 | PHP | 472 lines
                    
2/**
                    
3 * PHPExcel
                    
4 *
                    
22 * @package    PHPExcel_Cell
                    
23 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
                    
33 * @package    PHPExcel_Cell
                    
34 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
187     * @param  string    $value
                    
188     * @return PHPExcel_Cell_DataValidation
                    
189     */
                    
227     * @param  string    $value
                    
228     * @return PHPExcel_Cell_DataValidation
                    
229     */
                    
                
default.php https://gitlab.com/Mansikka/effigy-pro | PHP | 143 lines
                    
37			<h3 class="jsn-section-header">
                    
38			<?php echo JText::_('CPANEL_CPANEL_SHOWLIST'); ?>
                    
39			</h3>
                    
41				<p>
                    
42				<?php echo JText::_('CPANEL_SETUP_WHAT_IMAGES_TO_BE_SHOWN_IN_THE_GALLERY'); ?>
                    
43				</p>
                    
56						<a href="javascript: void(0);" id="cannot-add-showlist"
                    
57							rel='{"title": "<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_UPGRADE_TO_PRO_EDITION_FOR_MORE')); ?>", "content": "<?php echo $this->objJSNUtils->escapeSpecialString(JText::sprintf('SHOWLIST_YOU_HAVE_REACHED_THE_LIMITATION_OF_3_SHOWLISTS_IN_FREE_EDITION', '<a href="' . JSN_IMAGESHOW_UPGRADE_LINK . '" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only">' .  JText::_('UPGRADE_TO_PRO_EDITION') . '</a>')); ?>"}'
                    
58							title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_CREATE_NEW_SHOWCASE')); ?>">
                    
75							target="_blank"
                    
76							title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_SEE_ALL_SHOWLISTS')); ?>">
                    
77							<i class="jsn-icon24 jsn-icon-folder"></i> </a>
                    
134						class="btn disabled jsn-is-modal" id="jsn-go-link-modal"
                    
135						title="<?php echo $this->objJSNUtils->escapeSpecialString(JText::_('CPANEL_GO')); ?>"><?php echo JText::_('CPANEL_GO'); ?>
                    
136					</a>
                    
                
usuarios.php https://gestion001.svn.codeplex.com/svn | PHP | 110 lines
                    
52<head>
                    
53<?php include_once ("inc_head_adm.php"); ?>
                    
54<title><?php echo $titulo_seccion;?></title>
                    
62  <tr align="right">
                    
63    <td colspan="2" class="tr2" >&nbsp;<?php echo ($startRow_rs_usuarios_administrativos + 1) ?> a <?php echo min($startRow_rs_usuarios_administrativos + $maxRows_rs_usuarios_administrativos, $totalRows_rs_usuarios_administrativos) ?> de <?php echo $totalRows_rs_usuarios_administrativos ?> </td>
                    
64  </tr>
                    
71    <tr>
                    
72      <td class="tr1"><?php echo $row_rs_usuarios_administrativos['nombre1']; ?>&nbsp;<?php echo $row_rs_usuarios_administrativos['nombre2']; ?>&nbsp;<?php echo $row_rs_usuarios_administrativos['apellido1']; ?>&nbsp;<?php echo $row_rs_usuarios_administrativos['apellido2']; ?>&nbsp;(<?php echo $row_rs_usuarios_administrativos['Usuario']; ?>)</td>
                    
73      <td width="20%" class="tr1"><a href="usuarios_editar.php?idUsuario=<?php echo $row_rs_usuarios_administrativos['idUsuario']; ?>">Editar</a> -
                    
73      <td width="20%" class="tr1"><a href="usuarios_editar.php?idUsuario=<?php echo $row_rs_usuarios_administrativos['idUsuario']; ?>">Editar</a> -
                    
74          <a href="javascript:abrirlink('borrar','delete_main.php?tabla=Usuario&nombre_campo=idUsuario&idUsuario=<?php echo $row_rs_usuarios_administrativos['idUsuario']; ?>','<?php echo str_replace(" ",'',md5(microtime()))?>');">Borrar</a></td>
                    
75    </tr>
                    
106</table>
                    
107<?php include_once ("inc_bottom_adm.php");?>
                    
108</body>
                    
                
MessageParser.php https://gitlab.com/BGCX261/zibo-svn-to-git.git | PHP | 401 lines
                    
1<?php
                    
2
                    
397    private function generateSalt($salt = '') {
                    
398        return md5($salt . microtime());
                    
399    }
                    
                
getLocations.php http://webpagetest.googlecode.com/svn/trunk/ | PHP | 200 lines
                    
1<?php
                    
2include 'common.inc';
                    
176    
                    
177    $server_hash = md5($server);
                    
178    
                    
180    if (!array_key_exists($server_hash, $remote_cache)) {
                    
181        $remote = json_decode(json_encode((array)simplexml_load_file("$server/getLocations.php?hidden=1")), true);
                    
182        if (is_array($remote) && array_key_exists('data', $remote) && array_key_exists('location', $remote['data'])) {
                    
                
DataValidation.php https://gitlab.com/dmsapiens/okralive | PHP | 472 lines
                    
2/**
                    
3 * PHPExcel
                    
4 *
                    
22 * @package    PHPExcel_Cell
                    
23 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
                    
33 * @package    PHPExcel_Cell
                    
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
187     * @param  string    $value
                    
188     * @return PHPExcel_Cell_DataValidation
                    
189     */
                    
227     * @param  string    $value
                    
228     * @return PHPExcel_Cell_DataValidation
                    
229     */
                    
                
Phalcon.php https://gitlab.com/merial/WETE_Ryhma3 | PHP | 460 lines
                    
1<?php
                    
2namespace Codeception\Lib\Connector;
                    
3
                    
4use Codeception\Lib\Connector\Shared\PhpSuperGlobalsConverter;
                    
5use Symfony\Component\BrowserKit\Response;
                    
20{
                    
21    use PhpSuperGlobalsConverter;
                    
22
                    
82        $uri         = $request->getUri() ?: $phRequest->getURI();
                    
83        $pathString  = parse_url($uri, PHP_URL_PATH);
                    
84        $queryString = parse_url($uri, PHP_URL_QUERY);
                    
199    {
                    
200        if ($this->status() !== PHP_SESSION_ACTIVE) {
                    
201            $this->memory = [];
                    
313     *
                    
314     * ``` php
                    
315     * <?php
                    
                
PackageXmlParserTest.php git://github.com/c9s/Onion.git | PHP | 133 lines
                    
84        <dir name="/">
                    
85            <file install-as="Onion/Application.php" name="src/Onion/Application.php" role="php" md5sum="cd08c9e1a21ce6d2f7ef0c0fc2ed849f"/>
                    
86            <file install-as="Onion/Command/BuildCommand.php" name="src/Onion/Command/BuildCommand.php" role="php" md5sum="c6c609136de4828b2f4e9d1624dbfd6c"/>
                    
91            <file install-as="Onion/GlobalConfig.php" name="src/Onion/GlobalConfig.php" role="php" md5sum="b2de5f4a4f385dea7e86598d6f3f11d9"/>
                    
92            <file install-as="Onion/Onion.php" name="src/Onion/Onion.php" role="php" md5sum="6a4e7d381b3cb0d8d67d3a7e35ac2537"/>
                    
93            <file install-as="Onion/PackageConfigReader.php" name="src/Onion/PackageConfigReader.php" role="php" md5sum="22fd847bbffeec43e82563351540441f"/>
                    
93            <file install-as="Onion/PackageConfigReader.php" name="src/Onion/PackageConfigReader.php" role="php" md5sum="22fd847bbffeec43e82563351540441f"/>
                    
94            <file install-as="Onion/Packager.php" name="src/Onion/Packager.php" role="php" md5sum="2fffec686af34345d9faef2efc04eb4a"/>
                    
95            <file install-as="Onion/PackageXml/PackageXmlWriter.php" name="src/Onion/PackageXml/PackageXmlWriter.php" role="php" md5sum="0913c185e0731fc1f8b2a126d24a39fb"/>
                    
95            <file install-as="Onion/PackageXml/PackageXmlWriter.php" name="src/Onion/PackageXml/PackageXmlWriter.php" role="php" md5sum="0913c185e0731fc1f8b2a126d24a39fb"/>
                    
96            <file install-as="Onion/SpecUtils.php" name="src/Onion/SpecUtils.php" role="php" md5sum="3acf35cf3fd15ae23eef6dabb0d210bd"/>
                    
97            <file install-as="Onion/TestCommand/ParentCommand/SubCommand.php" name="src/Onion/TestCommand/ParentCommand/SubCommand.php" role="php" md5sum="a69e9e6477f7d4d82f30b5769eae073e"/>
                    
97            <file install-as="Onion/TestCommand/ParentCommand/SubCommand.php" name="src/Onion/TestCommand/ParentCommand/SubCommand.php" role="php" md5sum="a69e9e6477f7d4d82f30b5769eae073e"/>
                    
98            <file install-as="Onion/TestCommand/ParentCommand.php" name="src/Onion/TestCommand/ParentCommand.php" role="php" md5sum="9bec2094c780a962306c2febc669f8b8"/>
                    
99            <file install-as="bootstrap.php" name="tests/bootstrap.php" role="test" md5sum="a4dcfe19452fe6d10e9349fdb424b80d"/>
                    
                
Mail.php git://github.com/jakubkulhan/shopaholic.git | PHP | 458 lines
                    
1<?php
                    
2
                    
10 *
                    
11 * For more information please see http://nettephp.com
                    
12 *
                    
13 * @copyright  Copyright (c) 2004, 2009 David Grudl
                    
14 * @license    http://nettephp.com/license  Nette license
                    
15 * @link       http://nettephp.com
                    
17 * @package    Nette\Mail
                    
18 * @version    $Id: Mail.php 368 2009-06-25 14:26:59Z david@grudl.com $
                    
19 */
                    
22
                    
23require_once dirname(__FILE__) . '/../Mail/MailMimePart.php';
                    
24
                    
290		$part->setHeader('Content-Disposition', 'inline; filename="' . basename($file) . '"');
                    
291		$part->setHeader('Content-ID', '<' . md5(uniqid('', TRUE)) . '>');
                    
292		return $this->inlines[$file] = $part;
                    
                
geofence_mgnt_ctrl.php https://bitbucket.org/tonygeorge2017/icat2.git | PHP | 199 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2class Geofence_mgnt_ctrl extends CI_Controller {
                    
135		
                    
136		$delete=($opt==md5('delete'))?true:false;
                    
137		$result=$this->geofence_mgnt_model->get_VhRouteList( null, null, $vhRouteOrVehicleID, $delete);
                    
150			}
                    
151			else if($opt==md5('delete'))
                    
152			{
                    
181		$config['uri_segment']=URI_SEGMENT_FOR_FOUR;
                    
182		$config['base_url'] = base_url("index.php/geofence_mgnt_ctrl/table_pagination");
                    
183		$config['total_rows'] = count($this->geofence_mgnt_model->get_VhRouteList());
                    
                
Form.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 457 lines
                    
1<?php
                    
2
                    
28 * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
                    
29 * @version    SVN: $Id: Form.php 245 2010-01-31 22:22:39Z flo $
                    
30 */
                    
62        } else {
                    
63            $this->setCsrfSecret(md5(__FILE__.php_uname()));
                    
64        }
                    
242    {
                    
243        return md5($this->csrfSecret.session_id().get_class($this));
                    
244    }
                    
421            switch (strtolower(substr($max, -1))) {
                    
422                // The 'G' modifier is available since PHP 5.1.0
                    
423                case 'g':
                    
                
rapidshare.php https://bitbucket.org/awylie199/s5t.git | PHP | 213 lines
                    
1<?php
                    
2/*
                    
89				6:Short host (Use the short host to get the best download mirror: http://rs$serverid$shorthost.rapidshare.com/files/$fileid/$filename)
                    
90				7:MD5 (hexadecimal)
                    
91
                    
                
retrievefileinfo.php https://github.com/zikula-modules/MediaAttach.git | PHP | 138 lines
                    
1<?php
                    
2/**
                    
41
                    
42    Loader::requireOnce('modules/MediaAttach/pnincludes/getid3/getid3/getid3.php');
                    
43
                    
49
                    
50    // auto-get md5_data, md5_file, sha1_data, sha1_file if filesize < 50MB
                    
51    $hashesBool = (bool) (filesize($filenameOS) < $threshold);
                    
63    if ($hashesBool) {
                    
64        $fileInfo['md5_file']  = getid3_lib::md5_file($filenameOS);
                    
65        $fileInfo['sha1_file'] = getid3_lib::sha1_file($filenameOS);
                    
94
                    
95    if (!isset($fileInfo['md5_file'])) $fileInfo['md5_file'] = '';
                    
96    if (!isset($fileInfo['md5_data_source'])) $fileInfo['md5_data_source'] = '';
                    
96    if (!isset($fileInfo['md5_data_source'])) $fileInfo['md5_data_source'] = '';
                    
97    if (!isset($fileInfo['md5_data'])) $fileInfo['md5_data'] = '';
                    
98    if (!isset($fileInfo['sha1_file'])) $fileInfo['sha1_file'] = '';
                    
                
snmp.h https://github.com/ido/linux.git | C Header | 318 lines
                    
187	LINUX_MIB_LISTENDROPS,			/* ListenDrops */
                    
188	LINUX_MIB_TCPHPHITS,			/* TCPHPHits */
                    
189	LINUX_MIB_TCPPUREACKS,			/* TCPPureAcks */
                    
189	LINUX_MIB_TCPPUREACKS,			/* TCPPureAcks */
                    
190	LINUX_MIB_TCPHPACKS,			/* TCPHPAcks */
                    
191	LINUX_MIB_TCPRENORECOVERY,		/* TCPRenoRecovery */
                    
229	LINUX_MIB_TCPSPURIOUSRTOS,		/* TCPSpuriousRTOs */
                    
230	LINUX_MIB_TCPMD5NOTFOUND,		/* TCPMD5NotFound */
                    
231	LINUX_MIB_TCPMD5UNEXPECTED,		/* TCPMD5Unexpected */
                    
231	LINUX_MIB_TCPMD5UNEXPECTED,		/* TCPMD5Unexpected */
                    
232	LINUX_MIB_TCPMD5FAILURE,		/* TCPMD5Failure */
                    
233	LINUX_MIB_SACKSHIFTED,
                    
                
Manager.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 770 lines
                    
1<?php
                    
2
                    
123		if (\preg_match('/^[a-z0-9\-]+$/', $sName) &&
                    
124			\file_exists(APP_PLUGINS_PATH.$sName.'/index.php'))
                    
125		{
                    
129			{
                    
130				include APP_PLUGINS_PATH.$sName.'/index.php';
                    
131			}
                    
170				if (\preg_match('/^[a-z0-9\-]+$/', $sName) &&
                    
171					\file_exists($sPathName.'/index.php'))
                    
172				{
                    
215	{
                    
216		$sResult = \md5(APP_VERSION);
                    
217		foreach ($this->aPlugins as $oPlugin)
                    
218		{
                    
219			$sResult = \md5($sResult.$oPlugin->Path().$oPlugin->Hash());
                    
220		}
                    
                
snmp.h https://gitlab.com/mrimp/linaro-toolchains | C Header | 274 lines
                    
179	LINUX_MIB_TCPPREQUEUEDROPPED,		/* TCPPrequeueDropped */
                    
180	LINUX_MIB_TCPHPHITS,			/* TCPHPHits */
                    
181	LINUX_MIB_TCPHPHITSTOUSER,		/* TCPHPHitsToUser */
                    
182	LINUX_MIB_TCPPUREACKS,			/* TCPPureAcks */
                    
183	LINUX_MIB_TCPHPACKS,			/* TCPHPAcks */
                    
184	LINUX_MIB_TCPRENORECOVERY,		/* TCPRenoRecovery */
                    
221	LINUX_MIB_TCPSPURIOUSRTOS,		/* TCPSpuriousRTOs */
                    
222	LINUX_MIB_TCPMD5NOTFOUND,		/* TCPMD5NotFound */
                    
223	LINUX_MIB_TCPMD5UNEXPECTED,		/* TCPMD5Unexpected */
                    
                
swift.php https://gitlab.com/Red54/core | PHP | 582 lines
                    
1<?php
                    
2/**
                    
119
                    
120		$this->id = 'swift::' . $params['user'] . md5($params['bucket']);
                    
121		$this->bucket = $params['bucket'];
                    
                
genmenu.php http://opixido-ocms.googlecode.com/svn/trunk/ | PHP | 325 lines
                    
1<?php
                    
2
                    
82         */
                    
83        $this->cache2 = new GenCache('arbo' . md5($this->site->g_url->topRubId . '-' . $this->site->getCurId() . '_' . $this->nom_menu), GetParam('date_update_arbo'));
                    
84        if (!$this->cache2->cacheExists()) {
                    
                
phmagick.php http://bedita.googlecode.com/svn/trunk/ | PHP | 341 lines
                    
1<?php
                    
2/*
                    
51        if(is_null($this->escapeChars) ){
                    
52            $this->escapeChars = !( strtolower ( substr( php_uname('s'), 0, 3))  == "win" ) ;
                    
53        }
                    
86            $ext = end (explode('.', $source)) ;
                    
87            $this->destinationFile = dirname($source) . '/' . md5(microtime()) . '.' . $ext;
                    
88        }
                    
163        $base = dirname(__FILE__) . '/plugins';
                    
164        $plugins = glob($base . '/*.php');
                    
165        foreach($plugins as $plugin){
                    
166            include_once $plugin ;
                    
167            $name = basename($plugin, '.php');
                    
168            $className = 'phMagick_'.$name ;
                    
                
LiftiumConfig.php https://github.com/liftiuminc/liftium.git | PHP | 217 lines
                    
1<?php
                    
2
                    
11		$AdTag = new AdTag();
                    
12		$cacheKey = __CLASS__ . ':' . __METHOD__ . ":" . md5(serialize($criteria)) . self::getCacheVersion();
                    
13
                    
                
PasswordEncryptorTest.php git://github.com/silverstripe/sapphire.git | PHP | 168 lines
                    
8use SilverStripe\Dev\SapphireTest;
                    
9use SilverStripe\Security\PasswordEncryptor_LegacyPHPHash;
                    
10use SilverStripe\Security\PasswordEncryptor_PHPHash;
                    
52
                    
53    public function testEncryptorPHPHashWithArguments()
                    
54    {
                    
57            'encryptors',
                    
58            ['test_md5' => [PasswordEncryptor_PHPHash::class=>'md5']]
                    
59        );
                    
60        /** @var PasswordEncryptor_PHPHash $e */
                    
61        $e = PasswordEncryptor::create_for_algorithm('test_md5');
                    
62        $this->assertEquals('md5', $e->getAlgorithm());
                    
64
                    
65    public function testEncryptorPHPHash()
                    
66    {
                    
                
class-wc-query.php https://gitlab.com/hop23typhu/list-theme | PHP | 496 lines
                    
1<?php
                    
2/**
                    
306		// Generate a transient name based on current query
                    
307		$transient_name = 'wc_uf_pid_' . md5( http_build_query( $current_wp_query ) );
                    
308		$transient_name = ( is_search() ) ? $transient_name . '_s' : $transient_name;
                    
                
DataObject.php https://gitlab.com/endomorphosis/falkenstein | PHP | 416 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHP OpenCloud library.
                    
4 *
                    
275    {
                    
276        return $this->etag ?: $this->content->getContentMd5();
                    
277    }
                    
                
icmp.php https://bitbucket.org/nav_subhamkumar/crm.git | PHP | 204 lines
                    
1<?php
                    
2session_start();
                    
6{
                    
7	echo '<script>location.replace("../../../../index.php");</script>';
                    
8}
                    
9
                    
10require_once "../../conn/conn.php";
                    
11
                    
15
                    
16<?php
                    
17
                    
50function NewGuid() { 
                    
51    $s = strtoupper(md5(uniqid(rand(),true))); 
                    
52    
                    
155            {
                    
156                echo '<script>alert("Sorry!! Maximum Description Reached");location.replace("../../opr/addcust.php");</script>';
                    
157            }
                    
                
SaltFactoryTest.php https://bitbucket.org/followupcio/website.git | PHP | 143 lines
                    
1<?php
                    
2namespace TYPO3\CMS\Saltedpasswords\Tests\Unit\Salt;
                    
73        // 3 Bytes should result in a 6 char length base64 encoded string
                    
74        // used for MD5 and PHPass salted hashing
                    
75        $byteLength = 3;
                    
89     */
                    
90    public function objectInstanceForMD5Salts()
                    
91    {
                    
91    {
                    
92        $saltMD5 = '$1$rasmusle$rISCgZzpwk3UhDidwXvin0';
                    
93        $this->objectInstance = \TYPO3\CMS\Saltedpasswords\Salt\SaltFactory::getSaltingInstance($saltMD5);
                    
93        $this->objectInstance = \TYPO3\CMS\Saltedpasswords\Salt\SaltFactory::getSaltingInstance($saltMD5);
                    
94        $this->assertTrue(get_class($this->objectInstance) == \TYPO3\CMS\Saltedpasswords\Salt\Md5Salt::class || is_subclass_of($this->objectInstance, \TYPO3\CMS\Saltedpasswords\Salt\Md5Salt::class));
                    
95    }
                    
113        $this->objectInstance = \TYPO3\CMS\Saltedpasswords\Salt\SaltFactory::getSaltingInstance($saltPhpass);
                    
114        $this->assertTrue(get_class($this->objectInstance) == \TYPO3\CMS\Saltedpasswords\Salt\PhpassSalt::class || is_subclass_of($this->objectInstance, \TYPO3\CMS\Saltedpasswords\Salt\PhpassSalt::class));
                    
115    }
                    
                
logs.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 336 lines
                    
1<?php
                    
2
                    
24$sql = "SELECT SQL_CALC_FOUND_ROWS * FROM `" . $db_config['prefix'] . "_logs` WHERE `id`!=0";
                    
25$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op;
                    
26
                    
39	$checksess = filter_text_input( 'checksess', 'get', '', 1 );
                    
40	if ( $checksess != md5 ( "siteinfo_" . session_id() . "_" . $admin_info['userid'] ) )
                    
41	{
                    
42		nv_insert_logs( NV_LANG_DATA, $module_name, sprintf ( $lang_module['filter_check_log'], $op ), $admin_info['username'] . " - " . $admin_info['userid'], 0 );
                    
43		Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
44		exit();
                    
276$xtpl->assign( 'OP', $op );
                    
277$xtpl->assign( 'checksess', md5 ( "siteinfo_" . session_id() . "_" . $admin_info['userid'] ) );
                    
278$xtpl->assign( 'URL_DEL', $base_url . "&" . NV_OP_VARIABLE . "=logs_del" );
                    
278$xtpl->assign( 'URL_DEL', $base_url . "&" . NV_OP_VARIABLE . "=logs_del" );
                    
279$xtpl->assign( 'URL_CANCEL', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
280$xtpl->assign( 'DISABLE', $disabled );
                    
                
l10n_client.php git://github.com/gallery/gallery3.git | PHP | 323 lines
                    
1<?php defined("SYSPATH") or die("No direct script access.");
                    
2/**
                    
31  static function client_token() {
                    
32    return md5("l10n_client_client_token" . access::private_key());
                    
33  }
                    
49    $api_key = $api_key == null ? l10n_client::api_key() : $api_key;
                    
50    return md5($api_key . $payload . l10n_client::client_token());
                    
51  }
                    
194    //   uid = <l10n server user id>
                    
195    //   signature = md5(user_api_key($uid, $client_token) . $data . $client_token))
                    
196    //   data = // JSON payload
                    
                
cloud.mod.php https://gitlab.com/llqbaimao/o2o.git | PHP | 404 lines
                    
1<?php
                    
2/**
                    
10	return array(
                    
11		'/framework/function/communication.func.php',
                    
12		'/framework/model/cloud.mod.php',
                    
12		'/framework/model/cloud.mod.php',
                    
13		'/web/source/cloud/upgrade.ctrl.php',
                    
14		'/web/source/cloud/process.ctrl.php',
                    
14		'/web/source/cloud/process.ctrl.php',
                    
15		'/web/source/cloud/dock.ctrl.php',
                    
16		'/web/themes/default/cloud/upgrade.html',
                    
32	$pars['module'] = $name;
                    
33	$dat = ihttp_post('http://v2.addons.we7.cc/gateway.php', $pars);
                    
34	if (is_error($dat)) {
                    
52	$pars['key'] = $_W['setting']['site']['key'];
                    
53	$pars['password'] = md5($_W['setting']['site']['key'] . $_W['setting']['site']['token']);
                    
54	$clients = cloud_client_define();
                    
                
4661.py https://bitbucket.org/DinoRex99/exploit-database.git | Python | 126 lines
                    
27
                    
28import httplib, urllib, sys, md5
                    
29from random import randint
                    
92	if upass == "" or userid == "":
                    
93		conn.request("POST", path + "misc.php?sub=register", urllib.urlencode({'submit': 'Register','name': 'th331337.%d' % (rand) , 'pass': botpass,'pass2': botpass,'email': 'root%d@yoursystemgotpowned.it' % (rand) }), {"Accept": "text/plain","Content-type": "application/x-www-form-urlencoded"})
                    
94		response = conn.getresponse()
                    
107	sys.exit("[-]AttributeError Check your Target/path.")
                    
108############################################################################################Doing some Md5
                    
109if upass=="" or userid=="":
                    
109if upass=="" or userid=="":
                    
110	hash = md5.new()
                    
111	hash.update(botpass)
                    
119conn = httplib.HTTPConnection(target,port)
                    
120conn.request("POST", path+"cp.php?sub=settings", urllib.urlencode({'submit': 'Update','xemail': real_email}), {"Accept": "text/plain","Cookie": "memberid="+mid+"; membercookie="+admin_nick+";memberpw="+passmd5+";" ,"Content-type": "application/x-www-form-urlencoded"})
                    
121response = conn.getresponse()
                    
                
4548.php https://bitbucket.org/DinoRex99/exploit-database.git | PHP | 172 lines
                    
1<?php
                    
2## Vanilla <= 1.1.3 Remote Blind SQL Injection Exploit
                    
15echo "~~~~~~\n";
                    
16echo "php {$argv[0]} [url] OPTIONS\n\n";
                    
17echo "[url]        - target server where Vanilla is installed\n\n";
                    
25echo "examples:\n";
                    
26echo "php {$argv[0]} http://site.com/vanilla/ -p=forum_ -id=2\n";
                    
27echo "php {$argv[0]} http://forum.site.com:8080/ -c=400000\n";
                    
32*
                    
33* Script /ajax/sortcategories.php is supposed to be used by admin to sort
                    
34* the categories. However it isnt protected from unathorized users. Besides,
                    
34* the categories. However it isnt protected from unathorized users. Besides,
                    
35* it doesnt properly sanitize user's input data, so we can inject the SQL * code into the UPDATE query. Script /ajax/sortroles.php is also vulnerable.
                    
36*/
                    
59$path = $url_parts['path'];
                    
60$query_pattern = "-99'+OR+IF(%s,BENCHMARK(%d,MD5(31337)),1)/*";
                    
61print "[~] Testing probe delays...\n";
                    
                
user_add.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 275 lines
                    
1<?php
                    
2
                    
63    }
                    
64    elseif ( $db->sql_numrows( $db->sql_query( "SELECT `userid` FROM `" . NV_USERS_GLOBALTABLE . "` WHERE `md5username`=" . $db->dbescape( md5( $_user['username'] ) ) ) ) != 0 )
                    
65    {
                    
118        $sql = "INSERT INTO `" . NV_USERS_GLOBALTABLE . "` (
                    
119        `userid`, `username`, `md5username`, `password`, `email`, `full_name`, `gender`, `birthday`, `sig`, `regdate`, 
                    
120        `website`, `location`, `yim`, `telephone`, `fax`, `mobile`, `question`, `answer`, `passlostkey`, `view_mail`, 
                    
124		" . $db->dbescape( $_user['username'] ) . ",
                    
125		" . $db->dbescape( md5( $_user['username'] ) ) . ",
                    
126		" . $db->dbescape( $password ) . ",
                    
153            {
                    
154                @require_once ( NV_ROOTDIR . "/includes/class/upload.class.php" );
                    
155                
                    
195            
                    
196            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
197            exit();
                    
                
instagram.php https://gitlab.com/mina/kirbycms-extensions.git | PHP | 152 lines
                    
1<?php
                    
2
                    
51            
                    
52            $images_cache_id    = 'instagram/images.' . md5($_token) . '.' . $_count . '.php';
                    
53            $images_cache_data  = false;
                    
                
storageverification.php https://github.com/sfsergey/knowledgetree.git | PHP | 190 lines
                    
1<?php
                    
2/**
                    
37
                    
38require_once(dirname(__FILE__) . '/../config/dmsDefaults.php');
                    
39require_once(KT_LIB_DIR . '/storage/storagemanager.inc.php');
                    
134        $sql = "SELECT
                    
135                    dmv.id as metadata_version_id, dcv.document_id, dcv.md5hash, dcv.size
                    
136               FROM
                    
170
                    
171            $expectedHash = $row['md5hash'];
                    
172            $currentHash = md5_file($tmpPath);
                    
                
DKIMSignerTest.php git://github.com/swiftmailer/swiftmailer.git | PHP | 220 lines
                    
1<?php
                    
2
                    
67        $sig = reset($dkim);
                    
68        $this->assertEquals($sig->getValue(), 'v=1; a=rsa-sha256; bh=f+W+hu8dIhf2VAni89o8lF6WKTXi7nViA4RrMdpD5/U=; d=dummy.nxdomain.be; h=; i=@dummy.nxdomain.be; s=dummySelector; t=1299879181; b=jqPmieHzF5vR9F4mXCAkowuphpO4iJ8IAVuioh1BFZ3VITXZj5jlOFxULJMBiiApm2keJirnh u4mzogj444QkpT3lJg8/TBGAYQPdcvkG3KC0jdyN6QpSgpITBJG2BwWa+keXsv2bkQgLRAzNx qRhP45vpHCKun0Tg9LrwW/KCg=');
                    
69    }
                    
92        $sig = reset($dkim);
                    
93        $this->assertEquals($sig->getValue(), 'v=1; a=rsa-sha256; bh=f+W+hu8dIhf2VAni89o8lF6WKTXi7nViA4RrMdpD5/U=; d=dummy.nxdomain.be; h=; i=@dummy.nxdomain.be; s=dummySelector; c=relaxed/relaxed; t=1299879181; b=gzOI+PX6HpZKQFzwwmxzcVJsyirdLXOS+4pgfCpVHQIdqYusKLrhlLeFBTNoz75HrhNvGH6T0 Rt3w5aTqkrWfUuAEYt0Ns14GowLM7JojaFN+pZ4eYnRB3CBBgW6fee4NEMD5WPca3uS09tr1E 10RYh9ILlRtl+84sovhx5id3Y=');
                    
94    }
                    
                
LockerTest.php https://gitlab.com/tigefa/composer | PHP | 284 lines
                    
1<?php
                    
2
                    
17
                    
18class LockerTest extends \PHPUnit_Framework_TestCase
                    
19{
                    
120
                    
121        $hash = md5($jsonContent);
                    
122        $contentHash = md5(trim($jsonContent));
                    
181            ->method('read')
                    
182            ->will($this->returnValue(array('hash' => md5($jsonContent))));
                    
183
                    
214            ->method('read')
                    
215            ->will($this->returnValue(array('hash' => md5($jsonContent . '  '), 'content-hash' => md5($jsonContent))));
                    
216
                    
227
                    
228        $differentHash = md5($this->getJsonContent(array('name' => 'test2')));
                    
229
                    
                
Fuzzer.pm https://code.google.com/p/perl-http-fuzzer/ | Perl | 376 lines
                    
88=item BASE64
                    
89=item MD5
                    
90=item SHA1
                    
94
                    
95 my $url = 'login.php?username=URLENCODE{{username}}&password=URLENCODE{SHA1{{username}:{password}}}';
                    
96 
                    
                
RAcceso.php https://gitlab.com/pedroperafan18/ikel | PHP | 212 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
99                    }else {
                    
100                        $data["Password"] = sha1(md5($data["Password"]));
                    
101                        $result = $this->macceso->login($data);
                    
156	                	date_default_timezone_set('America/Mexico_City');
                    
157	                    $data["Password"] = sha1(md5($data["Password"]));
                    
158	                    $result = $this->macceso->nuevousuario($data);
                    
210
                    
211/* End of file acceso.php */
                    
212/* Location: ./application/controllers/acceso.php */ 
                    
                
UserTest.php git://github.com/croogo/croogo.git | PHP | 348 lines
                    
1<?php
                    
2namespace Croogo\Users\Test\TestCase\Model;
                    
71            'website' => 'http://croogo.org',
                    
72            'activation_key' => md5(uniqid()),
                    
73        ]);
                    
124            'website' => 'http://croogo.org',
                    
125            'activation_key' => md5(uniqid()),
                    
126            'status' => true,
                    
147            'website' => 'http://croogo.org',
                    
148            'activation_key' => md5(uniqid()),
                    
149            'status' => true,
                    
159            'website' => 'http://croogo.org',
                    
160            'activation_key' => md5(uniqid()),
                    
161            'status' => true,
                    
                
worldpay.php https://github.com/digineo/xt-commerce.git | PHP | 201 lines
                    
14   (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
                    
15   (c) 2002-2003 osCommerce(world.php,v Version 1.6); www.oscommerce.com
                    
16
                    
133		// Ian-san: Added dynamic callback and languages link here 6/4/2003:
                    
134		xtc_draw_hidden_field('lang', $language_code).xtc_draw_hidden_field('MC_callback', xtc_href_link('wpcallback.php')).xtc_draw_hidden_field('MC_XTCsid', $XTCsid);
                    
135
                    
137		if (MODULE_PAYMENT_WORLDPAY_USEMD5 == '1') {
                    
138			$md5_signature_fields = 'amount:language:email';
                    
139			$md5_signature = MODULE_PAYMENT_WORLDPAY_MD5KEY.':'. (number_format($order->info['total'] * $currencies->get_value($currency), $currencies->get_decimal_places($currency), '.', '')).':'.$language_code.':'.$order->customer['email_address'];
                    
139			$md5_signature = MODULE_PAYMENT_WORLDPAY_MD5KEY.':'. (number_format($order->info['total'] * $currencies->get_value($currency), $currencies->get_decimal_places($currency), '.', '')).':'.$language_code.':'.$order->customer['email_address'];
                    
140			$md5_signature_md5 = md5($md5_signature);
                    
141
                    
141
                    
142			$process_button_string .= xtc_draw_hidden_field('signatureFields', $md5_signature_fields).xtc_draw_hidden_field('signature', $md5_signature_md5);
                    
143		}
                    
                
UltraUser.php https://gitlab.com/hersan/ultra | PHP | 389 lines
                    
1<?php
                    
2
                    
260        $this->roles = new ArrayCollection();
                    
261        $this->salt = md5(uniqid('ultra.dsad',true));
                    
262    }
                    
314    /**
                    
315     * (PHP 5 &gt;= 5.1.0)<br/>
                    
316     * String representation of object
                    
316     * String representation of object
                    
317     * @link http://php.net/manual/en/serializable.serialize.php
                    
318     * @return string the string representation of the object or null
                    
330    /**
                    
331     * (PHP 5 &gt;= 5.1.0)<br/>
                    
332     * Constructs the object
                    
332     * Constructs the object
                    
333     * @link http://php.net/manual/en/serializable.unserialize.php
                    
334     * @param string $serialized <p>
                    
                
sha1.c https://github.com/ifeghali/php-src.git | C | 434 lines
                    
23
                    
24/* This code is heavily based on the PHP md5 implementation */ 
                    
25
                    
186 */
                    
187PHPAPI void PHP_SHA1Init(PHP_SHA1_CTX * context)
                    
188{
                    
204 */
                    
205PHPAPI void PHP_SHA1Update(PHP_SHA1_CTX * context, const unsigned char *input,
                    
206			   unsigned int inputLen)
                    
245 */
                    
246PHPAPI void PHP_SHA1Final(unsigned char digest[20], PHP_SHA1_CTX * context)
                    
247{
                    
421	for (i = 0, j = 0; j < len; i++, j += 4)
                    
422		output[i] = ((php_uint32) input[j + 3]) | (((php_uint32) input[j + 2]) << 8) |
                    
423			(((php_uint32) input[j + 1]) << 16) | (((php_uint32) input[j]) << 24);
                    
                
PostObject.php https://gitlab.com/gregtyka/helloworld1234 | PHP | 275 lines
                    
1<?php
                    
2/**
                    
81     * - x-amz-server-side​-encryption​-customer-key:       The SSE-C customer secret key
                    
82     * - x-amz-server-side​-encryption​-customer-key-MD5:   The MD5 hash of the SSE-C customer secret key
                    
83     *
                    
                
Diagnostic.html https://github.com/yinhm/sugarcrm.git | HTML | 137 lines
                    
113<script type="text/javascript" language="Javascript">
                    
114  var md5filesmd5_checked;
                    
115  var md5calculated_checked;
                    
120    if (document.Diagnostic.md5.checked == false){
                    
121      md5filesmd5_checked = document.Diagnostic.md5filesmd5.checked;
                    
122      md5calculated_checked = document.Diagnostic.md5calculated.checked;
                    
124      document.Diagnostic.md5calculated.checked=false;
                    
125      document.Diagnostic.md5filesmd5.disabled=true;
                    
126      document.Diagnostic.md5calculated.disabled=true;
                    
128    else{
                    
129      document.Diagnostic.md5filesmd5.disabled=false;
                    
130      document.Diagnostic.md5calculated.disabled=false;
                    
130      document.Diagnostic.md5calculated.disabled=false;
                    
131      document.Diagnostic.md5filesmd5.checked=md5filesmd5_checked;
                    
132      document.Diagnostic.md5calculated.checked=md5calculated_checked;
                    
                
Util.php https://github.com/nateabele/Minerva-Plugin.git | PHP | 169 lines
                    
1<?php
                    
2/*
                    
31     * A simple method to return a unique string, useful for approval codes and such.
                    
32     * An md5 hash of the unique id will be 32 characters long and the sha1 will be 40 characters long.
                    
33     * Without hashing, the unique id will be 13 characters long and 23 long if more entropy is used.
                    
35     * @params $options Array
                    
36     *      - hash: The hash method to use to hash the uid, md5, sha1, or false (default is md5)
                    
37     *      - prefix: The prefix to use for uniqid() method
                    
40    public function unique_string($options=array()) {
                    
41        $options += array('hash' => 'md5', 'prefix' => '', 'entropy' => false);
                    
42        switch($options['hash']) {
                    
42        switch($options['hash']) {
                    
43            case 'md5':
                    
44                return md5(uniqid($options['prefix'], $options['entropy']));
                    
                
admin.php https://gitlab.com/jaydee888/Jirafeau.git | PHP | 286 lines
                    
1<?php
                    
2/*
                    
21
                    
22require (JIRAFEAU_ROOT . 'lib/config.original.php');
                    
23require (JIRAFEAU_ROOT . 'lib/settings.php');
                    
23require (JIRAFEAU_ROOT . 'lib/settings.php');
                    
24require (JIRAFEAU_ROOT . 'lib/functions.php');
                    
25require (JIRAFEAU_ROOT . 'lib/lang.php');
                    
27/* Check if installation is OK. */
                    
28if (file_exists (JIRAFEAU_ROOT . 'install.php')
                    
29    && !file_exists (JIRAFEAU_ROOT . 'lib/config.local.php'))
                    
30{
                    
31    header('Location: install.php'); 
                    
32    exit;
                    
129        require (JIRAFEAU_ROOT . 'lib/template/header.php');
                    
130        ?><h2><?php echo t('Admin interface'); ?></h2><?php
                    
131
                    
                
Fill.php https://PHPExcel.svn.codeplex.com/svn | PHP | 332 lines
                    
22 * @package    PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
32/** PHPExcel_IComparable */
                    
33require_once 'PHPExcel/IComparable.php';
                    
34
                    
119		$this->_startColor			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE);
                    
120		$this->_endColor			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK);
                    
121    }
                    
141     *
                    
142     * Returns the PHPExcel_Style_Fill that is actual bound to PHPExcel_Style
                    
143	 *
                    
158     *
                    
159     * If no PHPExcel_Style_Fill has been bound to PHPExcel_Style then bind this one. Return the actual bound one.
                    
160	 *
                    
                
default-constants.php https://gitlab.com/Gashler/dp | PHP | 309 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Defines constants and global variables that can be overridden, generally in wp-config.php.
                    
4 *
                    
50
                    
51	// Add define('WP_DEBUG', true); to wp-config.php to enable display of notices during development.
                    
52	if ( !defined('WP_DEBUG') )
                    
54
                    
55	// Add define('WP_DEBUG_DISPLAY', null); to wp-config.php use the globally configured setting for
                    
56	// display_errors and not force errors to be displayed. Use false to force display_errors off.
                    
87 *
                    
88 * Defines must-use plugin directory constants, which may be overridden in the sunrise.php drop-in
                    
89 *
                    
160		if ( $siteurl )
                    
161			define( 'COOKIEHASH', md5( $siteurl ) );
                    
162		else
                    
                
login.php https://github.com/gregorysmart/MODx.git | PHP | 178 lines
                    
1<?php
                    
2/**
                    
37if (is_array($rt)) {
                    
38    foreach ($rt as $key => $value) {   /* php4 compatible */
                    
39        if ($value !== true) {
                    
130    /* check user password - local authentication */
                    
131    if($user->get('password') != md5($givenPassword)) {
                    
132        return $modx->error->failure($modx->lexicon('login_username_password_incorrect'));
                    
                
ApiTestCase.php https://gitlab.com/mcepl/dumpathome.git | PHP | 239 lines
                    
1<?php
                    
2
                    
132			// add token to request parameters
                    
133			$params['token'] = md5( $session['wsToken'] ) . User::EDIT_TOKEN_SUFFIX;
                    
134			return $this->doApiRequest( $params, $session, false, $user );
                    
170	public function testApiTestGroup() {
                    
171		$groups = PHPUnit_Util_Test::getGroups( get_class( $this ) );
                    
172		$constraint = PHPUnit_Framework_Assert::logicalOr(
                    
                
MockConfiguration.php https://gitlab.com/ntphuc/FoodyBackend | PHP | 460 lines
                    
1<?php
                    
2
                    
93
                    
94        return md5(serialize($vars));
                    
95    }
                    
                
Common.php https://gitlab.com/varsha_evonix/intranet | PHP | 565 lines
                    
34*
                    
35* Since there are a few places where we conditionally test for PHP > 5
                    
36* we'll set a static variable.
                    
41*/
                    
42if ( ! function_exists('is_php'))
                    
43{
                    
50		{
                    
51			$_is_php[$version] = (version_compare(PHP_VERSION, $version) < 0) ? FALSE : TRUE;
                    
52		}
                    
158			{
                    
159				require(APPPATH.$directory.'/'.config_item('subclass_prefix').$class.'.php');
                    
160			}
                    
205/**
                    
206* Loads the main config.php file
                    
207*
                    
                
Message.php https://github.com/Riges/KawaiViewModel.git | PHP | 246 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Message.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
24/**
                    
25 * A message envelope that can be passed to Zend_Wildfire_Plugin_FirePhp to be
                    
26 * logged to Firebug instead of a variable.
                    
33 */
                    
34class Zend_Wildfire_Plugin_FirePhp_Message
                    
35{
                    
91        $this->_message = $message;
                    
92        $this->_ruid = md5(microtime().mt_rand());
                    
93    }
                    
                
db.php https://gitlab.com/lttu1620/TEPPAN-API | PHP | 337 lines
                    
1<?php
                    
2/**
                    
9 * @copyright  2010 - 2014 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
56		$this->keys['previous_id']	= $this->keys['session_id'];	// prevents errors if previous_id has a unique index
                    
57		$this->keys['ip_hash']		= md5(\Input::ip().\Input::real_ip());
                    
58		$this->keys['user_agent']	= \Input::user_agent();
                    
124			}
                    
125			elseif ($this->config['match_ip'] and $payload[0]['ip_hash'] !== md5(\Input::ip().\Input::real_ip()))
                    
126			{
                    
                
imagemagick.php https://gitlab.com/lttu1620/TEPPAN-API | PHP | 358 lines
                    
1<?php
                    
2/**
                    
9 * @copyright  2010 - 2014 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
31			{
                    
32				$this->image_temp = $this->config['temp_dir'].substr($this->config['temp_append'].md5(time() * microtime()), 0, 32).'.png';
                    
33			}
                    
                
empresas_perfil.php https://gitlab.com/juanjmt/merintec_siems | PHP | 247 lines
                    
1<?php 
                    
2include("sistema/comunes/verificar_empresa.php");
                    
37$datos2[4] = prepara_datos ("logi_usua",$_POST['emai_empr'],'');
                    
38$datos2[5] = prepara_datos ("pass_usua",md5($clave),'');
                    
39$datos2[6] = prepara_datos ("tipo_usua",'2','');
                    
123	<div class="titulo_formulario" align="center">REGISTRO DE EMPRESAS</div>
                    
124	<?php include('sistema/general/mensaje.php'); ?>
                    
125	<?php if ($nresultados>1){ 
                    
138		$buscar_varios[5][1]="tlfc_empr";
                    
139		include('sistema/general/busqueda_varios.php'); 
                    
140		echo '<br>'; 
                    
145      </br>	
                    
146      <?php 
                    
147         /// No Borrar campo usado para auditoría    
                    
242			echo '<tr><td>';
                    
243			include('sistema/general/botonera2.php');
                    
244			echo '</td></tr></table>';         		  	   
                    
                
Google_HttpRequest.php https://gitlab.com/hop23typhu/doan_tienganh | PHP | 304 lines
                    
1<?php
                    
2/*
                    
26class Google_HttpRequest {
                    
27  const USER_AGENT_SUFFIX = "google-api-php-client/0.6.0";
                    
28  private $batchHeaders = array(
                    
250   * cache key unique per authenticated user, else use the plain request url
                    
251   * @return string The md5 hash of the request cache key.
                    
252   */
                    
263
                    
264    return md5($key);
                    
265  }
                    
290
                    
291    $path = parse_url($this->getUrl(), PHP_URL_PATH);
                    
292    $str .= $this->getRequestMethod() . ' ' . $path . " HTTP/1.1\n";
                    
                
_md5_8php_source.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 132 lines
                    
34<a name="l00026"></a>00026 
                    
35<a name="l00035"></a><a class="code" href="class_zend___validate___file___md5.html">00035</a> <span class="keyword">class </span><a class="code" href="class_zend___validate___file___md5.html">Zend_Validate_File_Md5</a> <span class="keyword">extends</span> <a class="code" href="class_zend___validate___file___hash.html">Zend_Validate_File_Hash</a>
                    
36<a name="l00036"></a>00036 {
                    
36<a name="l00036"></a>00036 {
                    
37<a name="l00040"></a><a class="code" href="class_zend___validate___file___md5.html#a0e9755eea7ef4ea25cd96ff8ced4d734">00040</a>     <span class="keyword">const</span> <a class="code" href="class_zend___validate___file___md5.html#a0e9755eea7ef4ea25cd96ff8ced4d734">DOES_NOT_MATCH</a> = <span class="stringliteral">&#39;fileMd5DoesNotMatch&#39;</span>;
                    
38<a name="l00041"></a>00041     <span class="keyword">const</span> NOT_DETECTED   = <span class="stringliteral">&#39;fileMd5NotDetected&#39;</span>;
                    
62<a name="l00081"></a>00081 
                    
63<a name="l00087"></a><a class="code" href="class_zend___validate___file___md5.html#a8ffe7cebad881b26dc1bb014dea34d4b">00087</a>     <span class="keyword">public</span> function <a class="code" href="class_zend___validate___file___md5.html#a8ffe7cebad881b26dc1bb014dea34d4b">getMd5</a>()
                    
64<a name="l00088"></a>00088     {
                    
78<a name="l00109"></a>00109 
                    
79<a name="l00116"></a><a class="code" href="class_zend___validate___file___md5.html#a838c699d63acedd05f69035892db10fd">00116</a>     <span class="keyword">public</span> function <a class="code" href="class_zend___validate___file___md5.html#a838c699d63acedd05f69035892db10fd">setMd5</a>($options)
                    
80<a name="l00117"></a>00117     {
                    
95<a name="l00139"></a>00139 
                    
96<a name="l00146"></a><a class="code" href="class_zend___validate___file___md5.html#addb853ff803761b2c0bb04759046d2a4">00146</a>     <span class="keyword">public</span> function <a class="code" href="class_zend___validate___file___md5.html#addb853ff803761b2c0bb04759046d2a4">addMd5</a>($options)
                    
97<a name="l00147"></a>00147     {
                    
                
cinemassacre.py https://gitlab.com/gregtyka/ka-lite | Python | 118 lines
                    
17            'url': 'http://cinemassacre.com/2012/11/10/avgn-the-movie-trailer/',
                    
18            'md5': 'fde81fbafaee331785f58cd6c0d46190',
                    
19            'info_dict': {
                    
23                'title': '“Angry Video Game Nerd: The Movie” – Trailer',
                    
24                'description': 'md5:fb87405fcb42a331742a0dce2708560b',
                    
25            },
                    
28            'url': 'http://cinemassacre.com/2013/10/02/the-mummys-hand-1940',
                    
29            'md5': 'd72f10cd39eac4215048f62ab477a511',
                    
30            'info_dict': {
                    
44        video_date = mobj.group('date_Y') + mobj.group('date_m') + mobj.group('date_d')
                    
45        mobj = re.search(r'src="(?P<embed_url>http://player\.screenwavemedia\.com/play/[a-zA-Z]+\.php\?[^"]*\bid=(?P<full_video_id>(?:Cinemassacre-)?(?P<video_id>.+?)))"', webpage)
                    
46        if not mobj:
                    
                
Font.php https://PHPExcel.svn.codeplex.com/svn | PHP | 505 lines
                    
32/** PHPExcel_IComparable */
                    
33require_once 'PHPExcel/IComparable.php';
                    
34
                    
42 */
                    
43class PHPExcel_Style_Font implements PHPExcel_IComparable
                    
44{
                    
136		$this->_striketrough		= false;
                    
137		$this->_color				= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK);
                    
138    }
                    
158     *
                    
159     * Returns the PHPExcel_Style_Font that is actual bound to PHPExcel_Style
                    
160	 *
                    
175     *
                    
176     * If no PHPExcel_Style_Font has been bound to PHPExcel_Style then bind this one. Return the actual bound one.
                    
177	 *
                    
                
Wincache.php https://github.com/bshaffer/Donate-Nashville.git | PHP | 201 lines
                    
2/**
                    
3 * PHPExcel
                    
4 *
                    
20 *
                    
21 * @category   PHPExcel
                    
22 * @package	PHPExcel_CachedObjectStorage
                    
22 * @package	PHPExcel_CachedObjectStorage
                    
23 * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_CachedObjectStorage
                    
34 * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_CachedObjectStorage_Wincache extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache {
                    
37
                    
                
Array.php https://gitlab.com/cakephp-2-x-plugins/zendframework.git | PHP | 355 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26require_once 'Zend/Queue/Adapter/AdapterAbstract.php';
                    
27
                    
28/**
                    
29 * Class for using a standard PHP array as a queue
                    
30 *
                    
148             */
                    
149            require_once 'Zend/Queue/Exception.php';
                    
150            throw new Zend_Queue_Exception('Queue does not exist');
                    
174        if (!$this->isExists($queue->getName())) {
                    
175            require_once 'Zend/Queue/Exception.php';
                    
176            throw new Zend_Queue_Exception('Queue does not exist:' . $queue->getName());
                    
182            'body'       => $message,
                    
183            'md5'        => md5($message),
                    
184            'handle'     => null,
                    
                
DataValidation.php https://github.com/EOL/eol_php_code.git | PHP | 472 lines
                    
2/**
                    
3 * PHPExcel
                    
4 *
                    
22 * @package    PHPExcel_Cell
                    
23 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
                    
33 * @package    PHPExcel_Cell
                    
34 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
187     * @param  string    $value
                    
188     * @return PHPExcel_Cell_DataValidation
                    
189     */
                    
227     * @param  string    $value
                    
228     * @return PHPExcel_Cell_DataValidation
                    
229     */
                    
                
default.py http://seppius-xbmc-repo.googlecode.com/svn/trunk/ | Python | 407 lines
                    
21try:
                    
22    from hashlib import md5
                    
23except:
                    
23except:
                    
24    from md5 import md5
                    
25
                    
92    err=0
                    
93    m = hashlib.md5()
                    
94    m.update(str(n))
                    
125def get_inf_db(n):
                    
126    m = hashlib.md5()
                    
127    m.update(str(n))
                    
336        sts=kbd.getText();
                    
337        params['href'] = 'http://serialonline.net/index.php?do=search'
                    
338	post={}
                    
                
cnt1.inc.php http://phpwcms.googlecode.com/svn/trunk/ | PHP | 205 lines
                    
82			      <td><input name="cimage_name" type="text" id="cimage_name" class="f11b" style="width: 300px; color: #727889;" value="<?php echo  isset($content["image_name"]) ? html_specialchars($content["image_name"]) : '' ?>" size="40" maxlength="250" onfocus="this.blur()" /></td>
                    
83			      <td><img src="img/leer.gif" alt="" width="3" height="1" /><a href="javascript:;" title="<?php echo  $BL['be_cnt_openimagebrowser'] ?>" onclick="openFileBrowser('filebrowser.php?opt=0&amp;target=nolist')"><img src="img/button/open_image_button.gif" alt="" width="20" height="15" border="0" /></a></td>
                    
84			      <td><img src="img/leer.gif" alt="" width="3" height="1" /><a href="javascript:;" title="<?php echo  $BL['be_cnt_delimage'] ?>" onclick="document.articlecontent.cimage_name.value='';document.articlecontent.cimage_id.value='0';this.blur();return false;"><img src="img/button/del_image_button.gif" alt="" width="15" height="15" border="0" /></a>
                    
102			    <option value="4" <?php is_selected(4, $content["image_pos"]) ?>><?php echo  $BL['be_cnt_pos4'] ?></option>
                    
103			    <option value="5" <?php is_selected(5, $content["image_pos"]) ?>><?php echo  $BL['be_cnt_pos5'] ?></option>
                    
104			    <option value="6" <?php is_selected(6, $content["image_pos"]) ?>><?php echo  $BL['be_cnt_pos6'] ?></option>
                    
104			    <option value="6" <?php is_selected(6, $content["image_pos"]) ?>><?php echo  $BL['be_cnt_pos6'] ?></option>
                    
105			    <option value="7" <?php is_selected(7, $content["image_pos"]) ?>><?php echo  $BL['be_cnt_pos7'] ?></option>
                    
106				<option value="8" <?php is_selected(8, $content["image_pos"]) ?>><?php echo  $BL['be_cnt_pos8'] ?></option>
                    
106				<option value="8" <?php is_selected(8, $content["image_pos"]) ?>><?php echo  $BL['be_cnt_pos8'] ?></option>
                    
107			    <option value="9" <?php is_selected(9, $content["image_pos"]) ?>><?php echo  $BL['be_cnt_pos9'] ?></option>
                    
108		      </select></td>
                    
190								"image_name"	=>	$content["image_hash"] . '.' . $content["image_ext"],
                    
191								"thumb_name"	=>	md5($content["image_hash"].$phpwcms["img_list_width"].$phpwcms["img_list_height"].$phpwcms["sharpen_level"])
                    
192        					  )
                    
                
File.php https://gitlab.com/rio.munas/gddc | PHP | 145 lines
                    
1<?php
                    
2/*
                    
17
                    
18require_once APSL_PLUGIN_DIR."google/Cache/Abstract.php";
                    
19require_once APSL_PLUGIN_DIR."google/Cache/Exception.php";
                    
92  {
                    
93    return $this->getCacheDir($file, $forWrite) . '/' . md5($file);
                    
94  }
                    
100    // and thus give some basic amount of scalability
                    
101    $storageDir = $this->path . '/' . substr(md5($file), 0, 2);
                    
102    if ($forWrite && ! is_dir($storageDir)) {
                    
                
class-product.php https://gitlab.com/VTTE/sitios-vtte | PHP | 323 lines
                    
1<?php
                    
2
                    
157				if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
                    
158					require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
                    
159				}
                    
197		public function get_transient_prefix() {
                    
198			return substr( md5( $this->file ), 0, 15 );
                    
199		}
                    
                
sys_repair.php http://pj-photohost.googlecode.com/svn/trunk/ | PHP | 286 lines
                    
1<?php
                    
2require_once(dirname(__FILE__).'/config.php');
                    
3CheckPurview('sys_ArcBatch');
                    
4require_once(dirname(__FILE__).'/../include/oxwindow.class.php');
                    
5ShowMsg("?????????????????????????????<br /><a href='index_body.php'>&lt;&lt;?????&gt;&gt;</a>", "javascript:;");
                    
9	$win = new OxWindow();
                    
10	$win->Init("sys_repair.php","js/blank.js","POST' enctype='multipart/form-data' ");
                    
11	$win->mainTitle = "??????";
                    
11	$win->mainTitle = "??????";
                    
12	$wecome_info = "<a href='index_body.php'>????</a> &gt;&gt; ????????";
                    
13	$win->AddTitle('?????????????????????');
                    
25    <br />
                    
26    <a href='sys_repair.php?dopost=1' style='font-size:14px;color:red'><b>???????????&gt;&gt;</b></a>
                    
27    <br /><br /><br />
                    
72	$upsqls[] = "INSERT INTO `#@__sysconfig` (`aid` ,`varname` ,`info` ,`value` ,`type` ,`groupid`) VALUES (713, 'cfg_need_typeid2', '???????', 'N', 'bool', 6); ";
                    
73  $upsqls[] = "INSERT INTO `#@__sysconfig` (`aid` ,`varname` ,`info` ,`value` ,`type` ,`groupid`) VALUES (715, 'cfg_mb_pwdtype', '???????????32 — 32?md5????<br />l16 — ?16?? r16 — ?16?? m16 — ??16?', '32', 'string', 4); ";
                    
74  $upsqls[] = "Update `#@__sysconfig` set `groupid` = '8' where `varname` like 'cfg_group_%'; ";
                    
                
Border.php https://github.com/okbutton/ispCP-distributed.git | PHP | 428 lines
                    
37/** PHPExcel_Style_Color */
                    
38require_once PHPEXCEL_ROOT . 'PHPExcel/Style/Color.php';
                    
39
                    
40/** PHPExcel_IComparable */
                    
41require_once PHPEXCEL_ROOT . 'PHPExcel/IComparable.php';
                    
42
                    
48 * @package    PHPExcel_Style
                    
49 * @copyright  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
50 */
                    
50 */
                    
51class PHPExcel_Style_Border implements PHPExcel_IComparable
                    
52{
                    
113		$this->_borderStyle			= PHPExcel_Style_Border::BORDER_NONE;
                    
114		$this->_color			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
                    
115
                    
                
 

Source

Language