PageRenderTime 3366ms queryTime 226ms sortTime 99ms getByIdsTime 227ms findMatchingLines 118ms

100+ results results for 'php md5 repo:amrishprajapati/neygengroup1' (3366 ms)

Not the results you expected?
bookmark.php https://gitlab.com/woxiprogrammers/infinia-wordpress | 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 );
                    
                
xxhash.h https://gitlab.com/gasabr/flappy-test | C Header | 164 lines
                    
4   Copyright (C) 2012-2014, Yann Collet.
                    
5   BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
                    
6
                    
51CRC32           0.43 GB/s     9
                    
52MD5-32          0.33 GB/s    10       Ronald L. Rivest
                    
53SHA1-32         0.28 GB/s    10
                    
                
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();
                    
                
LoggerDataCollector.php https://gitlab.com/nzqadri/bejeep | 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']);
                    
                
SubscribeController.php https://gitlab.com/tiagokalinkeiori/congresso | PHP | 273 lines
                    
1<?php
                    
2
                    
194                                    ->setEmail($data['Email'])
                    
195                                    ->setSalt(md5(uniqid(null, true)));
                    
196                            $factory = $this->get('security.encoder_factory');
                    
                
options.php https://gitlab.com/BenjaminHolm/wp-rocket | PHP | 301 lines
                    
1<?php
                    
2use WP_Rocket\Logger\Logger;
                    
61	// If it's different, clean the domain.
                    
62	if ( md5( wp_json_encode( $oldvalue_diff ) ) !== md5( wp_json_encode( $value_diff ) ) ) {
                    
63		// Purge all cache files.
                    
196
                    
197	// Regenerate advanced-cache.php file.
                    
198	if ( ! empty( $_POST ) && ( ( isset( $oldvalue['do_caching_mobile_files'] ) && ! isset( $value['do_caching_mobile_files'] ) ) || ( ! isset( $oldvalue['do_caching_mobile_files'] ) && isset( $value['do_caching_mobile_files'] ) ) || ( isset( $oldvalue['do_caching_mobile_files'], $value['do_caching_mobile_files'] ) ) && $oldvalue['do_caching_mobile_files'] !== $value['do_caching_mobile_files'] ) ) {
                    
207
                    
208	// Set WP_CACHE constant in wp-config.php.
                    
209	if ( ! defined( 'WP_CACHE' ) || ! WP_CACHE ) {
                    
296
                    
297	$scheme = rocket_extract_url_component( $value, PHP_URL_SCHEME );
                    
298
                    
                
Alignment.php https://gitlab.com/ptisky/API_prestashop | 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	 */
                    
                
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		}
                    
                
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
                    
                
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
                    
                
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    }
                    
                
paypal-return-in-web-accept-sp.inc.php https://gitlab.com/Gashler/sg | PHP | 148 lines
                    
1<?php
                    
2/**
                    
54
                    
55				if(!get_transient($transient_rtn = 's2m_rtn_'.md5('s2member_transient_'.$_paypal_s)) && set_transient($transient_rtn, time(), 31556926 * 10))
                    
56				{
                    
89																$paypal['s2member_log'][] = 'Storing Specific Post/Page Tracking Codes into a Transient Queue. These will be processed on-site.';
                    
90																set_transient('s2m_'.md5('s2member_transient_sp_tracking_codes_'.$paypal['txn_id']), $code, 43200);
                    
91															}
                    
                
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	 */
                    
                
Array.php https://gitlab.com/rsilveira1987/Expresso | 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,
                    
                
NormalModule.js https://gitlab.com/limorelv/trelloApp | 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());
                    
                
Array.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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,
                    
                
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
                    
                
Users.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 209 lines
                    
1<?php
                    
2/*
                    
166   * Public keys are identified by their fingerprint, which is defined by RFC4716
                    
167   * to be the MD5 digest of the public key.
                    
168   * @param array $optParams Optional parameters.
                    
                
ARC2_SemHTMLParser.php https://gitlab.com/klausmig/CloudSemanticWeb | PHP | 339 lines
                    
1<?php
                    
2/*
                    
26    $this->skip_dupes = false;
                    
27    $this->bnode_prefix = $this->v('bnode_prefix', 'arc'.substr(md5(uniqid(rand())), 0, 4).'b', $this->a);
                    
28    $this->bnode_id = 0;
                    
62    if ($this->skip_dupes) {
                    
63      $h = md5(serialize($t));
                    
64      if (!isset($this->added_triples[$h])) {
                    
                
bluepay_hosted.php https://gitlab.com/reclamare/mao | 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
                    
                
bluepay.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | 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	}
                    
                
unpack.php https://gitlab.com/milo-ft/osTicket | PHP | 270 lines
                    
54        # Read the main.inc.php script
                    
55        $bootstrap_php = $this->destination . '/bootstrap.php';
                    
56        $lines = explode("\n", file_get_contents($bootstrap_php));
                    
76        if (!file_put_contents($bootstrap_php, implode("\n", $lines)))
                    
77            die("Unable to configure location of INCLUDE_DIR in bootstrap.php\n");
                    
78    }
                    
115        if (!isset($hashes[$file])) {
                    
116            $md5 = md5_file($file);
                    
117            $sha1 = sha1_file($file);
                    
142     * Copy from source to desination, perhaps recursing up to n folders.
                    
143     * Exclusions are also permitted. If any files match an MD5 sum, they
                    
144     * will be excluded from the copy operation.
                    
206        $pipes = array();
                    
207        $php = proc_open('php', array(
                    
208            0 => array('pipe', 'r'),
                    
                
sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
                    
1<?php
                    
2class SiteMailer
                    
27		$cryptographer = Factory::getCryptographer();
                    
28		$this->randomHash = $cryptographer->MD5(date('r', time()));
                    
29		$this->fromMail = $config['PRMSConfig']->noreply_mail;  
                    
52		$this->headers .= "MIME-Version: 1.0\r\n";		
                    
53		//$this->headers .= "Content-Type: multipart/mixed; boundary=\"PHP-mixed-" . $this->randomHash . "\"\r\n";
                    
54		$this->headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
                    
90			{
                    
91				$this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
                    
92				$this->msgBody .= $this->attachment;				
                    
92				$this->msgBody .= $this->attachment;				
                    
93				$this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
                    
94			}*/		
                    
156	private function sendActivationToCustomer($property) {
                    
157		/*$htmlCT = "--PHP-alt-" . $this->randomHash . "\r\n";
                    
158		$htmlCT .= 'Content-Type: text/html; charset="iso-8859-1"' . "\r\n";
                    
                
bcmsdh.h https://gitlab.com/SerenityS/android_kernel_exynos3475 | C Header | 254 lines
                    
10 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
11 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
12 * following added to such license:
                    
91
                    
92/* Access SDIO address space (e.g. CCCR) using CMD52 (single-byte interface).
                    
93 *   fn:   function number
                    
113
                    
114/* Synchronous access to device (client) core registers via CMD53 to F1.
                    
115 *   addr: backplane address (i.e. >= regsva from attach)
                    
127
                    
128/* Buffer transfer to/from device (client) core via cmd53.
                    
129 *   fn:       function number
                    
160
                    
161/* Read/write to memory block (F1, no FIFO) via CMD53 (sync only).
                    
162 *   rw:       read or write (0/1)
                    
                
Bootstrap.php https://gitlab.com/cyrilchiu/gw2pins | PHP | 319 lines
                    
1<?php
                    
2/**
                    
5 * @copyright Copyright &copy; Christoffer Niska 2011-
                    
6 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
                    
7 * @version 2.0.3
                    
288		{
                    
289			$key = __CLASS__.'.'.md5($name.$selector.serialize($options));
                    
290			$options = !empty($options) ? CJavaScript::encode($options) : '';
                    
                
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					}
                    
                
class-wc-admin-profile.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 304 lines
                    
156					<tr>
                    
157						<th><label for="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $field['label'] ); ?></label></th>
                    
158						<td>
                    
158						<td>
                    
159							<input type="text" name="<?php echo esc_attr( $key ); ?>" id="<?php echo esc_attr( $key ); ?>" value="<?php echo esc_attr( get_user_meta( $user->ID, $key, true ) ); ?>" class="regular-text" /><br/>
                    
160							<span class="description"><?php echo wp_kses_post( $field['description'] ); ?></span>
                    
210									<input name="woocommerce_generate_api_key" type="checkbox" id="woocommerce_generate_api_key" value="0" />
                    
211									<span class="description"><?php _e( 'Generate API Key', 'woocommerce' ); ?></span>
                    
212								<?php else : ?>
                    
212								<?php else : ?>
                    
213									<strong><?php _e( 'Consumer Key:', 'woocommerce' ); ?>&nbsp;</strong><code id="woocommerce_api_consumer_key"><?php echo $user->woocommerce_api_consumer_key ?></code><br/>
                    
214									<strong><?php _e( 'Consumer Secret:', 'woocommerce' ); ?>&nbsp;</strong><code id="woocommerce_api_consumer_secret"><?php echo $user->woocommerce_api_consumer_secret; ?></code><br/>
                    
214									<strong><?php _e( 'Consumer Secret:', 'woocommerce' ); ?>&nbsp;</strong><code id="woocommerce_api_consumer_secret"><?php echo $user->woocommerce_api_consumer_secret; ?></code><br/>
                    
215									<strong><?php _e( 'Permissions:', 'woocommerce' ); ?>&nbsp;</strong><span id="woocommerce_api_key_permissions"><select name="woocommerce_api_key_permissions" id="woocommerce_api_key_permissions"><?php
                    
216										foreach ( $permissions as $permission_key => $permission_name ) { echo '<option value="' . esc_attr( $permission_key ) . '" '.selected($permission_key, $user->woocommerce_api_key_permissions, false).'>'.esc_html( $permission_name ) . '</option>';} ?>
                    
                
mail.php https://gitlab.com/shapcy/opencart | PHP | 427 lines
                    
103		$header .= 'Return-Path: ' . $this->from . PHP_EOL;
                    
104		$header .= 'X-Mailer: PHP/' . phpversion() . PHP_EOL;
                    
105		$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . PHP_EOL . PHP_EOL;
                    
113			$message  = '--' . $boundary . PHP_EOL;
                    
114			$message .= 'Content-Type: multipart/alternative; boundary="' . $boundary . '_alt"' . PHP_EOL . PHP_EOL;
                    
115			$message .= '--' . $boundary . '_alt' . PHP_EOL;
                    
116			$message .= 'Content-Type: text/plain; charset="utf-8"' . PHP_EOL;
                    
117			$message .= 'Content-Transfer-Encoding: 8bit' . PHP_EOL . PHP_EOL;
                    
118
                    
126			$message .= 'Content-Type: text/html; charset="utf-8"' . PHP_EOL;
                    
127			$message .= 'Content-Transfer-Encoding: 8bit' . PHP_EOL . PHP_EOL;
                    
128			$message .= $this->html . PHP_EOL;
                    
144				$message .= 'Content-ID: <' . basename(urlencode($attachment)) . '>' . PHP_EOL;
                    
145				$message .= 'X-Attachment-Id: ' . basename(urlencode($attachment)) . PHP_EOL . PHP_EOL;
                    
146				$message .= chunk_split(base64_encode($content));
                    
                
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
                    
                
profile.php https://gitlab.com/klausmig/CloudSemanticWeb | PHP | 237 lines
                    
1<?php require_once (ROOT . DS . 'application' . DS . 'views' . DS . 'activity_templates.php'); ?>
                    
2<script type="text/javascript" src="static/js/profile.js"></script>
                    
8filterFollowers(<?php echo $_GET['id']; ?>,'');
                    
9getUserStream(<?php echo $_GET['id']; ?>,'','');
                    
10
                    
21            <?php if ($email): ?>
                    
22                <img src="http://www.gravatar.com/avatar/<?php echo md5(strtolower(trim($email))); ?>?d=retro&amp;r=g" height="50" width="50" class="avatar" />
                    
23            <?php endif; ?>
                    
28		            <span class="r_prop r_name" itemprop="name"><?php echo trim($profile->username);?></span>
                    
29		            <meta itemprop="description" content="<?php echo trim($profile->description);?>" />
                    
30		            <meta itemprop="image" content="http://slidewiki.org/?url=ajax/getAvatarSrc&id=<?php echo trim($profile->id);?>" />
                    
47                    <a class="btn small danger" onclick="follow($(this),'user',<?php echo $_GET['id'];?>)">Unfollow user</a>
                    
48                <?php endif; ?>
                    
49
                    
54                <?php if (($user['is_authorized'] && $_GET['id'] != $user['id'])): ?>
                    
55                    <a  class="btn small " onclick="sendMsgDialog(<?php echo $_GET['id'];?>,'<?php echo $profile->username?>')"> <i class="icon-edit"></i> Write message</a>
                    
56                <?php endif; ?>	                
                    
                
auth_tkt.py https://bitbucket.org/eaviles/gobierno.git | Python | 380 lines
                    
1# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
                    
2# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
                    
3##########################################################################
                    
41try:
                    
42    from hashlib import md5
                    
43except ImportError:
                    
43except ImportError:
                    
44    from md5 import md5
                    
45import Cookie
                    
169    user_data = maybe_encode(user_data)
                    
170    digest0 = md5(
                    
171        encode_ip_timestamp(ip, timestamp) + secret + userid + '\0'
                    
172        + tokens + '\0' + user_data).hexdigest()
                    
173    digest = md5(digest0 + secret).hexdigest()
                    
174    return digest
                    
                
php-crypt_r.cpp https://gitlab.com/iranjith4/hhvm | C++ | 381 lines
                    
175
                    
176  if (strncpy_s(passwd + MD5_MAGIC_LEN, MD5_HASH_MAX_LEN - MD5_MAGIC_LEN, sp, sl + 1) != 0) {
                    
177    goto _destroyCtx1;
                    
305  /* Then our magic string */
                    
306  PHP_MD5Update(&ctx, (const unsigned char *)MD5_MAGIC, MD5_MAGIC_LEN);
                    
307
                    
314  PHP_MD5Update(&ctx1, (const unsigned char *)sp, sl);
                    
315  PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl);
                    
316  PHP_MD5Final(final, &ctx1);
                    
318  for (pl = pwl; pl > 0; pl -= 16)
                    
319    PHP_MD5Update(&ctx, final, (unsigned int)(pl > 16 ? 16 : pl));
                    
320
                    
348    else
                    
349      PHP_MD5Update(&ctx1, final, 16);
                    
350
                    
                
Array.php https://github.com/meritt/zf.git | PHP | 355 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Array.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
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');
                    
182            'body'       => $message,
                    
183            'md5'        => md5($message),
                    
184            'handle'     => null,
                    
                
session.php https://github.com/mathieu/fusionforge.git | PHP | 552 lines
                    
149
                    
150	//  Try to get the users from the database using user_id and (MD5) user_pw
                    
151	$res = db_query("
                    
157	if (!$res || db_numrows($res) < 1) {
                    
158		// No user whose MD5 passwd matches the MD5 of the provided passwd
                    
159		// Selecting by user_name only
                    
167		} else {
                    
168			// There is a user with the provided user_name, but the MD5 passwds do not match
                    
169			// We'll have to try checking the (crypt) unix_pw
                    
181			$res = db_query ("UPDATE users
                    
182				SET user_pw='" . md5($passwd) . "'
                    
183				WHERE user_id='".$usr['user_id']."'");
                    
491//TODO - this should be generalized and used for pre.php, squal_pre.php, 
                    
492//SOAP, forum_gateway.php, tracker_gateway.php, etc to 
                    
493//setup languages
                    
                
wp-background-process.php https://gitlab.com/campus-academy/krowkaramel | PHP | 503 lines
                    
1<?php // @codingStandardsIgnoreLine.
                    
2/**
                    
146	protected function generate_key( $length = 64 ) {
                    
147		$unique  = md5( microtime() . rand() );
                    
148		$prepend = $this->identifier . '_batch_';
                    
                
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':
                    
                
file2.kvdriver.php git://github.com/jelix/jelix.git | PHP | 292 lines
                    
1<?php
                    
2/**
                    
187
                    
188                $md5 = md5($key);
                    
189                $subdir = $md5[0].$md5[1];
                    
195                // write data to cache
                    
196                $fn = $this->dir.'/'.$subdir.'/'.$md5;
                    
197                if ($f = @gzopen($fn.'.tmp', 'w')) {
                    
232        // the name of the file
                    
233        $md5 = md5($key);
                    
234        $subdir = $md5[0].$md5[1];
                    
235
                    
236        $fn = $this->dir.'/'.$subdir.'/'.$md5;
                    
237
                    
274        // the name of the file
                    
275        $md5 = md5($key);
                    
276        $subdir = $md5[0].$md5[1];
                    
                
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
                    
                
EDD_SL_Plugin_Updater.php https://gitlab.com/lamovible/grand-regis | 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
                    
                
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>
                    
                
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));
                    
                
logs.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | 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 );
                    
                
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])) {
                    
                
Borders.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 411 lines
                    
1<?php
                    
2
                    
2
                    
3namespace PhpOffice\PhpSpreadsheet\Style;
                    
4
                    
4
                    
5use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
                    
6
                    
291        if (!$this->isSupervisor) {
                    
292            throw new PhpSpreadsheetException('Can only get pseudo-border for supervisor.');
                    
293        }
                    
305        if (!$this->isSupervisor) {
                    
306            throw new PhpSpreadsheetException('Can only get pseudo-border for supervisor.');
                    
307        }
                    
319        if (!$this->isSupervisor) {
                    
320            throw new PhpSpreadsheetException('Can only get pseudo-border for supervisor.');
                    
321        }
                    
                
upgrade-2.0.0.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 279 lines
                    
1<?php
                    
2function icl_upgrade_2_0_0_steps($step, $stepper){
                    
90						list($md5, $links_fixed) = $wpdb->get_row($wpdb->prepare("
                    
91							SELECT md5, links_fixed FROM {$wpdb->prefix}icl_node
                    
92							WHERE nid = %d
                    
95					if(!$md5){
                    
96						$md5 = $TranslationManagement->post_md5($row->element_id);
                    
97					}
                    
108
                    
109							list($rid, $status, $current_md5) = $wpdb->get_row($wpdb->prepare("
                    
110								SELECT c.rid, n.status , c.md5
                    
119							if($rid){
                    
120								if($current_md5 != $md5){
                    
121									$needs_update = 1;
                    
151								'needs_update'          => $needs_update,
                    
152								'md5'                   => $md5,
                    
153								'translation_service'   => $service,
                    
                
DataValidation.php https://gitlab.com/ptisky/API_prestashop | 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     */
                    
                
TrackEmailTest.php https://gitlab.com/e0/X2CRM | PHP | 273 lines
                    
1<?php
                    
2
                    
96        $track->actionId = $action->id;
                    
97        $track->uniqueId = md5(uniqid(rand(), true));
                    
98        $this->assertSaves($track);
                    
158        $track->actionId = $action->id;
                    
159        $track->uniqueId = md5(uniqid(rand(), true));
                    
160        $this->assertSaves($track);
                    
220        $track->actionId = $action->id;
                    
221        $track->uniqueId = md5(uniqid(rand(), true));
                    
222        $this->assertSaves($track);
                    
                
class-wp-embed.php https://gitlab.com/pankajmohale/chef2go | PHP | 386 lines
                    
1<?php
                    
2/**
                    
88	jQuery(document).ready(function($){
                    
89		$.get("<?php echo admin_url( 'admin-ajax.php?action=oembed-cache&post=' . $post->ID, 'relative' ); ?>");
                    
90	});
                    
91</script>
                    
92<?php
                    
93	}
                    
195			// Check for a cached result (stored in the post meta)
                    
196			$key_suffix = md5( $url . serialize( $attr ) );
                    
197			$cachekey = '_oembed_' . $key_suffix;
                    
267			if ( $html ) {
                    
268				/** This filter is documented in wp-includes/class-wp-embed.php */
                    
269				return apply_filters( 'embed_oembed_html', $html, $url, $attr, $post_ID );
                    
                
MkPkg.py https://gitlab.com/envieidoc/Clover | Python | 280 lines
                    
8# distribution. The full text of the license may be found at 
                    
9# http://opensource.org/licenses/bsd-license.php
                    
10#
                    
29from platform import python_version
                    
30import md5
                    
31from time import strftime
                    
196        #
                    
197        # Add Md5Sigature
                    
198        #
                    
198        #
                    
199        DistPkg.Header.Signature = md5.new(open(str(ContentFile), 'rb').read()).hexdigest()
                    
200        #
                    
                
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);
                    
                
install_check.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 314 lines
                    
1<?php
                    
2
                    
18
                    
19$filename = NV_ROOTDIR . '/' . NV_TEMP_DIR . '/' . NV_TEMPNAM_PREFIX . 'auto_' . md5( $global_config['sitekey'] . session_id() ) . '.zip';
                    
20if ( file_exists( $filename ) )
                    
21{
                    
22    require_once NV_ROOTDIR . '/includes/class/pclzip.class.php';
                    
23    $zip = new PclZip( $filename );
                    
26    $overwrite = $nv_Request->get_string( 'overwrite', 'get', '' );
                    
27    if ( $overwrite != md5( $filename . $global_config['sitekey'] . session_id() ) )
                    
28    {
                    
47    {
                    
48        $temp_extract_dir = NV_TEMP_DIR . '/' . md5( $filename . $global_config['sitekey'] . session_id() );
                    
49		
                    
199		$xtpl->assign( 'MODULE_NAME', $module_name );
                    
200		$xtpl->assign( 'CHECKSESS', md5( $filename . $global_config['sitekey'] . session_id() ) );
                    
201		
                    
                
MysqliManager.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 379 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
45* which generate the necessary SQL. This sql is then passed to PEAR DB classes.
                    
46* The helper class is chosen in DBManagerFactory, which is driven by 'db_type' in 'dbconfig' under config.php.
                    
47*
                    
93
                    
94require_once('include/database/MysqlManager.php');
                    
95
                    
127
                    
128		static $queryMD5 = array();
                    
129
                    
135		$result = $suppress?@mysqli_query($this->database,$sql):mysqli_query($this->database,$sql);
                    
136		$md5 = md5($sql);
                    
137
                    
137
                    
138		if (empty($queryMD5[$md5]))
                    
139			$queryMD5[$md5] = true;
                    
                
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
                    
                
DataValidation.php https://gitlab.com/rayhankhan/web-bitm-php | 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     */
                    
                
update-bridge.php https://gitlab.com/daniel.ritz/update-bridge | PHP | 398 lines
                    
1<?php
                    
2	
                    
81		function loadRewriteRules(){
                    
82			// $this -> rewriteRules[] = Array('search' => '/^@vpl$/', 'replace' => '/content/vpl.php');
                    
83		}
                    
205			move_uploaded_file($file['tmp_name'], $tmppath);
                    
206			$unzippath = sys_get_temp_dir() . '/ota_flash_' . md5(time());
                    
207			mkdir($unzippath);
                    
228			$dir = dirname($path);
                    
229			$flashfilename = '_' . basename($path) . '.ota.php';
                    
230			if(file_exists($dir . '/' . $flashfilename)){
                    
302
                    
303	// Check if we are on the update-bridge.php
                    
304	if($_SERVER['REQUEST_URI'] == '/update-bridge.php'){
                    
304	if($_SERVER['REQUEST_URI'] == '/update-bridge.php'){
                    
305		// We are on update-bridge.php
                    
306		// so let's invoke the update-bridge class
                    
                
imageupload.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 287 lines
                    
1<?php
                    
2
                    
68
                    
69    include_once AIU_BASE_PATH . 'includes/fileuploader/fileuploader.class.php';
                    
70
                    
78    // comma separated list of valid extensions
                    
79    $formUid = isset($uid) ? $uid : md5($modx->config['site_url']);
                    
80
                    
81    if (!function_exists('includeFile')) {
                    
82        function includeFile($name, $type = 'config', $defaultName = 'default', $fileType = '.inc.php') {
                    
83            $folder = (substr($type, -1) != 'y') ? $type . 's/' : substr($folder, 0, -1) . 'ies/';
                    
93                } else {
                    
94                    $modx->messageQuit('Default AjaxImageUpload ' . $type . ' file "' . AIU_BASE_PATH . $folder . $defaultName . '.' . $type . '.inc.php" not found. Did you upload all snippet files?');
                    
95                }
                    
106
                    
107    include_once AIU_BASE_PATH . 'includes/PhpThumbFactory/ThumbLib.inc.php';
                    
108    // delete uploaded images
                    
                
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);
                    
                
DataValidation.php https://gitlab.com/dmsapiens/physicians | 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     */
                    
                
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
                    
                
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
                    
                
Archiver.php https://gitlab.com/yasminmostfa/thomas-site | PHP | 277 lines
                    
1<?php
                    
2/**
                    
99
                    
100                $urlHash = substr(md5($row['referer_url']), 0, 10);
                    
101                if (!isset($this->distinctUrls[$urlHash])) {
                    
                
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);
                    
                
compat.php https://gitlab.com/campus-academy/krowkaramel | PHP | 489 lines
                    
2/**
                    
3 * WordPress implementation for PHP functions either missing from older PHP versions or not included by default.
                    
4 *
                    
35	if ( 'reset' === $utf8_pcre ) {
                    
36		// phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged -- intentional error generated to detect PCRE/u support.
                    
37		$utf8_pcre = @preg_match( '/^./u', 'a' );
                    
225	 *
                    
226	 * The Hash extension is bundled with PHP by default since PHP 5.1.2.
                    
227	 * However, the extension may be explicitly disabled on select servers.
                    
227	 * However, the extension may be explicitly disabled on select servers.
                    
228	 * As of PHP 7.4.0, the Hash extension is a core PHP extension and can no
                    
229	 * longer be disabled.
                    
303	 * However, the Hash extension may be explicitly disabled on select servers.
                    
304	 * As of PHP 7.4.0, the Hash extension is a core PHP extension and can no
                    
305	 * longer be disabled.
                    
                
snmp.h https://gitlab.com/jhalayashraj/nkernel | 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 */
                    
                
sbsdpcmdev.h https://gitlab.com/buktemirlnk/mirrors | C Header | 300 lines
                    
9 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
11 * following added to such license:
                    
114	/* counters */
                    
115	uint32 cmd52rd;			/* Cmd52RdCount, 0x110, rev8, SDIO: cmd52 reads */
                    
116	uint32 cmd52wr;			/* Cmd52WrCount, 0x114, rev8, SDIO: cmd52 writes */
                    
116	uint32 cmd52wr;			/* Cmd52WrCount, 0x114, rev8, SDIO: cmd52 writes */
                    
117	uint32 cmd53rd;			/* Cmd53RdCount, 0x118, rev8, SDIO: cmd53 reads */
                    
118	uint32 cmd53wr;			/* Cmd53WrCount, 0x11c, rev8, SDIO: cmd53 writes */
                    
                
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>
                    
                
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		}
                    
                
class-wp-embed.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 334 lines
                    
1<?php
                    
2/**
                    
81	jQuery(document).ready(function($){
                    
82		$.get("<?php echo admin_url( 'admin-ajax.php?action=oembed-cache&post=' . $post->ID, 'relative' ); ?>");
                    
83	});
                    
85</script>
                    
86<?php
                    
87	}
                    
184			// Check for a cached result (stored in the post meta)
                    
185			$cachekey = '_oembed_' . md5( $url . serialize( $attr ) );
                    
186			if ( $this->usecache ) {
                    
228			if ( $html ) {
                    
229				/** This filter is documented in wp-includes/class-wp-embed.php */
                    
230				return apply_filters( 'embed_oembed_html', $html, $url, $attr, $post_ID );
                    
                
Index.php https://github.com/robinsk/zym.git | PHP | 427 lines
                    
1<?php
                    
2/**
                    
19 */
                    
20require_once 'Zend/Paginator.php';
                    
21
                    
24 */
                    
25require_once 'Zend/Search/Lucene.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Search/Lucene/Index/Term.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Registry.php';
                    
36
                    
166             */
                    
167            require_once 'Zym/Search/Lucene/Exception.php';
                    
168    
                    
                
Query.php https://github.com/wrobel/horde.git | PHP | 372 lines
                    
1<?php
                    
2/**
                    
280    /**
                    
281     * Returns a MD5 hash of the current query object.
                    
282     *
                    
282     *
                    
283     * @return string  MD5 hash.
                    
284     */
                    
286    {
                    
287        return hash('md5', serialize($this));
                    
288    }
                    
                
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'],
                    
                
user.lib.php https://gitlab.com/paulmfoster/grotworx | PHP | 492 lines
                    
1<?php
                    
2
                    
3if (!class_exists('database')) {
                    
4    include LIBDIR . 'database.lib.php';
                    
5}
                    
38            'email' => 'me@example.com',
                    
39            'nonce' => md5('admin'),
                    
40            'level' => 0
                    
136			'email' => $post['email'],
                    
137			'nonce' => md5($post['login']),
                    
138			'level' => 255,
                    
282		$post['password'] = password_hash($post['password'], PASSWORD_BCRYPT);
                    
283		$post['nonce'] = md5($post['login']);
                    
284
                    
                
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    }
                    
                
mcu-cli.php https://gitlab.com/Slind/MCUpdater | PHP | 380 lines
                    
210				$dl_md5 = md5_file($tmp);
                    
211				if( $dl_md5 != $md5 ) {
                    
212					msg("      ! MD5 mismatch on downloaded file", true);
                    
248	$id = (string)$attrs->id;
                    
249	$md5 = (string)$xml->MD5;
                    
250
                    
251	// check md5
                    
252	$cache_file = ($md5?"cache/$md5":"cache/tmp");
                    
253	$need_download = true;
                    
262				$local_md5 = md5_file($path);
                    
263				if( $local_md5 == $md5 )
                    
264					$need_download = false;
                    
283				$dl_md5 = md5_file($tmp);
                    
284				if( $dl_md5 != $md5 ) {
                    
285					msg("  ! MD5 mismatch on downloaded file", true);
                    
                
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'])) {
                    
                
BaseDrawing.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 532 lines
                    
2
                    
3namespace PhpOffice\PhpSpreadsheet\Worksheet;
                    
4
                    
5use PhpOffice\PhpSpreadsheet\Cell\Hyperlink;
                    
6use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
                    
7use PhpOffice\PhpSpreadsheet\IComparable;
                    
210        if ($this->worksheet === null) {
                    
211            // Add drawing to \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
                    
212            $this->worksheet = $pValue;
                    
216            if ($pOverrideOld) {
                    
217                // Remove drawing from old \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
                    
218                $iterator = $this->worksheet->getDrawingCollection()->getIterator();
                    
231            } else {
                    
232                throw new PhpSpreadsheetException('A Worksheet has already been assigned. Drawings can only exist on one \\PhpOffice\\PhpSpreadsheet\\Worksheet.');
                    
233            }
                    
                
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
                    
                
class-gsc-table.php https://gitlab.com/bhargavi_dcw/dflocal | PHP | 385 lines
                    
1<?php
                    
2/**
                    
6if ( ! class_exists( 'WP_List_Table' ) ) {
                    
7	require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
                    
8}
                    
205
                    
206			$actions['create_redirect'] = '<a href="#TB_inline?width=600&height=' . $this->modal_heights[ $modal_height ] . '&inlineId=redirect-' . md5( $item['url'] ) . '" class="thickbox wpseo-open-gsc-redirect-modal aria-button-if-js">' . __( 'Create redirect', 'wordpress-seo' ) . '</a>';
                    
207		}
                    
342
                    
343		require WPSEO_PATH . '/admin/google_search_console/views/gsc-create-redirect.php';
                    
344
                    
                
LockerTest.php https://gitlab.com/imamul68e/137619_PHP31 | 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
                    
                
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"/>
                    
                
PostObject.php https://gitlab.com/x33n/respond | 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     *
                    
                
class-yoast-plugin-conflict.php https://gitlab.com/najomie/fit-hippie | PHP | 333 lines
                    
1<?php
                    
2/**
                    
117		if ( ! function_exists( 'get_plugin_data' ) ) {
                    
118			require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
                    
119		}
                    
201			/* translators: %s: 'Facebook' plugin name of possibly conflicting plugin */
                    
202			$error_message .= '<a class="button button-primary" href="' . wp_nonce_url( 'plugins.php?action=deactivate&amp;plugin=' . $plugin_file . '&amp;plugin_status=all', 'deactivate-plugin_' . $plugin_file ) . '">' . sprintf( __( 'Deactivate %s', 'wordpress-seo' ), WPSEO_Utils::get_plugin_name( $plugin_file ) ) . '</a> ';
                    
203
                    
330	private function get_notification_identifier( $plugin_file ) {
                    
331		return md5( $plugin_file );
                    
332	}
                    
                
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;
                    
                
Cache_File.php https://gitlab.com/karlen/ayo_wp | PHP | 455 lines
                    
1<?php
                    
2namespace W3TC;
                    
117		@fputs( $fp, pack( 'L', $expires_at ) );
                    
118		@fputs( $fp, '<?php exit; ?>' );
                    
119		@fputs( $fp, @serialize( $var ) );
                    
313		else
                    
314			$hash = md5( $key );
                    
315
                    
315
                    
316		$path = sprintf( '%s/%s/%s.php', substr( $hash, 0, 3 ), substr( $hash, 3, 3 ), $hash );
                    
317
                    
409		@fputs( $fp, pack( 'L', $expires_at ) );
                    
410		@fputs( $fp, '<?php exit; ?>' );
                    
411		@fputs( $fp, (int)$value );
                    
                
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());
                    
                
baseufcomponent.php https://gitlab.com/neuser/bitrix-core | PHP | 541 lines
                    
1<?php
                    
2
                    
398	{
                    
399		return md5(static::getUserTypeId() . json_encode($this->getAvailableModes()));
                    
400	}
                    
                
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
                    
                
Cache.php https://github.com/adatta02/comp190-code.git | PHP | 416 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 *  $Id: Cache.php 5801 2009-06-02 17:30:27Z piccoloprincipe $
                    
4 *
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
27 * @author      Konsta Vesterinen <kvesteri@cc.hut.fi>
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @link        www.phpdoctrine.org
                    
251
                    
252                $hash = md5($query);
                    
253
                    
315
                    
316        $data = $this->_driver->fetch(md5(serialize($query)));
                    
317
                    
                
html.php https://bitbucket.org/selfeky/xclusivescardwebsite.git | PHP | 265 lines
                    
1<?php 
                    
2/**
                    
85		$css->file .= (strpos($css->file, '?') > -1) ? '&amp;' : '?';
                    
86		$css->file .= 'v=' . md5(APP_VERSION . PASSWORD_SALT);		
                    
87		// for the javascript addHeaderItem we need to have a full href available
                    
132		$js->file .= (strpos($js->file, '?') > -1) ? '&amp;' : '?';
                    
133		$js->file .= 'v=' . md5(APP_VERSION . PASSWORD_SALT);
                    
134		
                    
                
AuthorizeNetIPN.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 361 lines
                    
1<?php
                    
2/*
                    
162    }
                    
163    $objects['contribution']->invoice_id = md5(uniqid(rand(), TRUE));
                    
164    $objects['contribution']->total_amount = $input['amount'];
                    
238    $input['response_code'] = $this->retrieve('x_response_code', 'Integer');
                    
239    $input['MD5_Hash'] = $this->retrieve('x_MD5_Hash', 'String', FALSE, '');
                    
240    $input['response_reason_code'] = $this->retrieve('x_response_reason_code', 'String', FALSE);
                    
253      $input['is_test'] = 1;
                    
254      $input['trxn_id'] = md5(uniqid(rand(), TRUE));
                    
255    }
                    
                
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'] = '';
                    
                
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>
                    
                
user_waiting.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 222 lines
                    
1<?php
                    
2
                    
34    {
                    
35        Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
36        die();
                    
43    {
                    
44        Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
45        die();
                    
49    $sql = "INSERT INTO `" . NV_USERS_GLOBALTABLE . "` (
                    
50    `userid`, `username`, `md5username`, `password`, `email`, `full_name`, `gender`, `photo`, `birthday`, 
                    
51    `regdate`, `website`, `location`, `yim`, `telephone`, `fax`, `mobile`, `question`, 
                    
56    " . $db->dbescape( $row['username'] ) . ", 
                    
57    " . $db->dbescape( md5( $row['username'] ) ) . ", 
                    
58    " . $db->dbescape( $row['password'] ) . ", 
                    
73        $subject = $lang_module['adduser_register'];
                    
74        $message = sprintf( $lang_module['adduser_register_info'], $full_name, $global_config['site_name'], NV_MY_DOMAIN . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name, $row['username'] );
                    
75        $message .= "<br /><br />------------------------------------------------<br /><br />";
                    
                
UpgradeWizardCommon.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 251 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
45
                    
46require_once('include/utils/db_utils.php');
                    
47require_once('include/utils/zip_utils.php');
                    
60}
                    
61$form_action = "index.php?module=Administration&view=" . $view . "&action=UpgradeWizard";
                    
62
                    
71{
                    
72	define('SUGARCRM_PRE_INSTALL_FILE', 'scripts/pre_install.php');
                    
73	define('SUGARCRM_POST_INSTALL_FILE', 'scripts/post_install.php');
                    
73	define('SUGARCRM_POST_INSTALL_FILE', 'scripts/post_install.php');
                    
74	define('SUGARCRM_PRE_UNINSTALL_FILE', 'scripts/pre_uninstall.php');
                    
75	define('SUGARCRM_POST_UNINSTALL_FILE', 'scripts/post_uninstall.php');
                    
97function extractManifest( $zip_file ){
                    
98    return( extractFile( $zip_file, "manifest.php" ) );
                    
99}
                    
                
DataValidation.php https://gitlab.com/techniconline/kmc | PHP | 500 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 */
                    
188     * @param  string $value
                    
189     * @return PHPExcel_Cell_DataValidation
                    
190     */
                    
232     * @param  string $value
                    
233     * @return PHPExcel_Cell_DataValidation
                    
234     */
                    
                
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,
                    
                
 

Source

Language