PageRenderTime 812ms queryFilters 0ms Sphinxql 272ms GetByIds 375ms meta 0ms repositoryFilters 23ms languageFilters 1ms sourceFilters 40ms

66,045 results for 'php md5' (812 ms)

Source

Language

Repository

class.MyBBIntegrator.php https://bitbucket.org/Captain_Lightning/arflux.git | PHP | 3,406 lines
1<?php
2
8 *
9 * @author: David Olah (aka PHPDave - http://phpdave.com)
10 * @version 1.3.1
176		
177		$this->MyBBIntegratorClassObject('moderation', 'Moderation', MYBB_ROOT.'/inc/class_moderation.php');
178		
198	{		
199		require_once MYBB_ADMIN_DIR.'inc/functions.php';
200		
1418	 * Returns post data of specified post
1419	 * Refers to: inc/functions.php & inc/class_parser.php
1420	 *
2478			$message = preg_replace("#\s*<meta[^>]*>\s*#is", "", $message);
2479			$message = str_replace(array('<?php', '<!--', '-->', '?>', "<br />\n", "<br>\n"), array('&lt;?php', '&lt;!--', '--&gt;', '?&gt;', "\n", "\n"), $message);
2480		}
admincp.php https://bitbucket.org/johnroyer/phpwind8.7.git | PHP | 833 lines
1<?php
2/**
5*  Support : http://www.phpwind.net
6*  This software is the proprietary information of phpwind.com.
7*
14
15require_once(R_P.'require/common.php');
16require_once(R_P.'require/functions.php');
22
23//* include_once pwCache::getPath(D_P.'data/bbscache/config.php');
24pwCache::getData(D_P.'data/bbscache/config.php');
127	$safecv = $db_ifsafecv ? questcode($_POST['question'],$_POST['customquest'],$_POST['answer']) : '';
128	$CK = array($timestamp,$_POST['admin_name'],md5(PwdCode(md5($_POST['admin_pwd'])).$timestamp.getHashSegment()),$safecv);
129	Cookie('AdminUser',StrCode(implode("\t",$CK)));
676	$question = $question=='-1' ? $customquest : $question;
677	return $question ? substr(md5(md5($question).md5($answer)),8,10) : '';
678}
general-template.php https://bitbucket.org/sephora99/kmirock.git | PHP | 2,287 lines
1<?php
2/**
28	if ( isset($name) )
29		$templates[] = "header-{$name}.php";
30
30
31	$templates[] = 'header.php';
32
34	if ('' == locate_template($templates, true))
35		load_template( ABSPATH . WPINC . '/theme-compat/header.php');
36}
43 *
44 * For the parameter, if the file is called "footer-special.php" then specify
45 * "special".
650 *
651 * This is optimized for archive.php and archive-{$post_type}.php template files
652 * for displaying the title of the post type.
File.php https://bitbucket.org/Sinfin/pawtucket.git | PHP | 507 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
22 */
26 */
27require_once "Zend/OpenId/Consumer/Storage.php";
28
75                 */
76                require_once 'Zend/OpenId/Exception.php';
77                throw new Zend_OpenId_Exception(
85             */
86            require_once 'Zend/OpenId/Exception.php';
87            throw new Zend_OpenId_Exception(
95             */
96            require_once 'Zend/OpenId/Exception.php';
97            throw new Zend_OpenId_Exception(
Password.php https://bitbucket.org/thesyncim/admin-biarq.git | PHP | 240 lines
1<?php
2/**
13/**
14 * `Password` utility class that makes use of PHP's `crypt()` function. Includes a
15 * cryptographically strong salt generator, and utility functions to hash and check
30	/**
31	 * Hashes a password using PHP's `crypt()` and an optional salt. If no
32	 * salt is supplied, a cryptographically strong salt will be generated
35	 * Using this function is the proper way to hash a password. Using naive
36	 * methods such as sha1 or md5, as is done in many web applications, is
37	 * improper due to the lack of a cryptographically strong salt.
142	 *        - `'xdes'`: XDES (24 salt bits, max 8 chars)
143	 *        - `'md5'`: MD5 (48 salt bits, unlimited length)
144	 * @param integer $count Optional. The base-2 logarithm of the iteration
148	 * @return string The salt string.
149	 * @link http://php.net/manual/en/function.crypt.php
150	 * @link http://www.postgresql.org/docs/9.0/static/pgcrypto.html
Password.php https://bitbucket.org/thesyncim/front-biarq.git | PHP | 240 lines
1<?php
2/**
13/**
14 * `Password` utility class that makes use of PHP's `crypt()` function. Includes a
15 * cryptographically strong salt generator, and utility functions to hash and check
30	/**
31	 * Hashes a password using PHP's `crypt()` and an optional salt. If no
32	 * salt is supplied, a cryptographically strong salt will be generated
35	 * Using this function is the proper way to hash a password. Using naive
36	 * methods such as sha1 or md5, as is done in many web applications, is
37	 * improper due to the lack of a cryptographically strong salt.
142	 *        - `'xdes'`: XDES (24 salt bits, max 8 chars)
143	 *        - `'md5'`: MD5 (48 salt bits, unlimited length)
144	 * @param integer $count Optional. The base-2 logarithm of the iteration
148	 * @return string The salt string.
149	 * @link http://php.net/manual/en/function.crypt.php
150	 * @link http://www.postgresql.org/docs/9.0/static/pgcrypto.html
general-template.php https://bitbucket.org/perchten/open-platform.git | PHP | 2,320 lines
1<?php
2/**
57	if ( isset($name) )
58		$templates[] = "footer-{$name}.php";
59
59
60	$templates[] = "footer.php";
61
650 *
651 * This is optimized for archive.php and archive-{$post_type}.php template files
652 * for displaying the title of the post type.
1808			<a id="edButtonHTML" class="active hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'html');"><?php _e('HTML'); ?></a>
1809			<a id="edButtonPreview" class="hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'tinymce');"><?php _e('Visual'); ?></a>
1810<?php	} else {
1813			<a id="edButtonHTML" class="hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'html');"><?php _e('HTML'); ?></a>
1814			<a id="edButtonPreview" class="active hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'tinymce');"><?php _e('Visual'); ?></a>
1815<?php	}
_repairbuddy.php https://bitbucket.org/cblakebarber/circle_bastiat.git | PHP | 541 lines
61		
62		$handle = @fopen( $pb_abspath . 'repairbuddy.php', 'r' );
63		if ( $handle ) {
153		// Set up PHP error levels.
154		if ( ( $this->debug === true ) || ( isset( $this->_options[ 'show_php_warnings' ] ) &&$this->_options['show_php_warnings'] === true ) ) {
155			error_reporting( E_ERROR | E_WARNING | E_PARSE | E_NOTICE ); // HIGH
180				}
181				if ( isset( $_GET['v'] ) &&	( $_GET['v'] == ( 'xv' . md5( $this->_defaults['repair_password'] . 'repairbuddy' . $_GET['page'] ) ) ) ) {
182					$this->has_access = true;
319		?>
320		<div class='<?php echo $class; ?>'><p><strong><?php echo $message; ?></strong></p></div>
321		<?php
457		$this->remove_file( ABSPATH . 'repairbuddy.txt', 'RepairBuddy Log File', true );
458		$this->remove_file( ABSPATH . 'repairbuddy.php', 'RepairBuddy.php main file.', true );
459	}
general-template.php https://bitbucket.org/stardust_kid/nicer-things.git | PHP | 2,288 lines
1<?php
2/**
28	if ( isset($name) )
29		$templates[] = "header-{$name}.php";
30
30
31	$templates[] = 'header.php';
32
34	if ('' == locate_template($templates, true))
35		load_template( ABSPATH . WPINC . '/theme-compat/header.php');
36}
43 *
44 * For the parameter, if the file is called "footer-special.php" then specify
45 * "special".
650 *
651 * This is optimized for archive.php and archive-{$post_type}.php template files
652 * for displaying the title of the post type.
general-template.php https://bitbucket.org/MashedUpMedia/mashedupmedia.git | PHP | 2,287 lines
1<?php
2/**
28	if ( isset($name) )
29		$templates[] = "header-{$name}.php";
30
30
31	$templates[] = 'header.php';
32
34	if ('' == locate_template($templates, true))
35		load_template( ABSPATH . WPINC . '/theme-compat/header.php');
36}
43 *
44 * For the parameter, if the file is called "footer-special.php" then specify
45 * "special".
650 *
651 * This is optimized for archive.php and archive-{$post_type}.php template files
652 * for displaying the title of the post type.
File.php https://bitbucket.org/Flightan/phpic.git | PHP | 508 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
22 */
26 */
27require_once "Zend/OpenId/Consumer/Storage.php";
28
75                 */
76                require_once 'Zend/OpenId/Exception.php';
77                throw new Zend_OpenId_Exception(
85             */
86            require_once 'Zend/OpenId/Exception.php';
87            throw new Zend_OpenId_Exception(
95             */
96            require_once 'Zend/OpenId/Exception.php';
97            throw new Zend_OpenId_Exception(
componentlib.class.php https://bitbucket.org/ciceidev/cicei_moodle_conditional_activities.git | PHP | 526 lines
155    var $errorstring;  /// Latest error produced. It will contain one lang string key.
156    var $extramd5info; /// Contents of the optional third field in the .md5 file.
157    var $requisitesok; /// Flag to see if requisites check has been passed ok.
342    /// Get remote md5
343        if (!$remote_md5 = $this->get_component_md5()) {
344            return COMPONENT_ERROR;
346    /// Return result
347       if ($local_md5 == $remote_md5) {
348           return COMPONENT_UPTODATE;
396     * This function will download the specified md5 file, looking for the
397     * current componentname, returning its md5 field and storing extramd5info
398     * if present. Also it caches results to cachedmd5components for better
515
516    /** This function returns the extramd5 field (optional in md5 file)
517     *
langimport.php https://bitbucket.org/ciceidev/cicei_moodle_conditional_activities.git | PHP | 446 lines
1<?php //$Id$
2///This file only manages the installation of 1.6 lang packs.
9    require_once($CFG->libdir.'/filelib.php');
10    require_once($CFG->libdir.'/componentlib.class.php');
11
63                    if ($cd = new component_installer('http://download.moodle.org', 'lang16',
64                                                        $pack.'.zip', 'languages.md5', 'lang')) {
65                        $status = $cd->install(); //returns COMPONENT_(ERROR | UPTODATE | INSTALLED)
157
158                if (file_exists($dest1.'/langconfig.php') || file_exists($dest2.'/langconfig.php')){
159                    $lang16[] = $clang;
416        global $CFG;
417        $md5file = $CFG->dataroot.'/lang/'.$lang.'/'.$lang.'.md5';
418        if (file_exists($md5file)){
418        if (file_exists($md5file)){
419            return (file_get_contents($md5file) == $md5check);
420        }
general-template.php https://bitbucket.org/koencolpaert/htdocs.git | PHP | 2,287 lines
1<?php
2/**
28	if ( isset($name) )
29		$templates[] = "header-{$name}.php";
30
30
31	$templates[] = 'header.php';
32
34	if ('' == locate_template($templates, true))
35		load_template( ABSPATH . WPINC . '/theme-compat/header.php');
36}
43 *
44 * For the parameter, if the file is called "footer-special.php" then specify
45 * "special".
650 *
651 * This is optimized for archive.php and archive-{$post_type}.php template files
652 * for displaying the title of the post type.
File.php https://bitbucket.org/brunoMaurice/youfood.git | PHP | 460 lines
1<?php
2
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
21 * @version    $Id: File.php 16212 2009-06-21 19:24:49Z thomas $
22 */
26 */
27require_once "Zend/OpenId/Consumer/Storage.php";
28
75                 */
76                require_once 'Zend/OpenId/Exception.php';
77                throw new Zend_OpenId_Exception(
85             */
86            require_once 'Zend/OpenId/Exception.php';
87            throw new Zend_OpenId_Exception(
95             */
96            require_once 'Zend/OpenId/Exception.php';
97            throw new Zend_OpenId_Exception(
S3.php https://bitbucket.org/brunoMaurice/youfood.git | PHP | 824 lines
1<?php
2/**
30 */
31require_once 'Zend/Crypt/Hmac.php';
32
33/**
34 * Amazon S3 PHP connection class
35 *
84             */
85            require_once 'Zend/Service/Amazon/S3/Exception.php';
86            throw new Zend_Service_Amazon_S3_Exception('Invalid endpoint supplied');
367
368        $headers['Content-MD5'] = base64_encode(md5($data, true));
369        $headers['Expect'] = '100-continue';
376
377        // Check the MD5 Etag returned by S3 against and MD5 of the buffer
378        if ($response->getStatus() == 200) {
general-template.php https://bitbucket.org/jcsarda/wordpress-dotcloud-deployable.git | PHP | 2,287 lines
1<?php
2/**
28	if ( isset($name) )
29		$templates[] = "header-{$name}.php";
30
30
31	$templates[] = 'header.php';
32
34	if ('' == locate_template($templates, true))
35		load_template( ABSPATH . WPINC . '/theme-compat/header.php');
36}
43 *
44 * For the parameter, if the file is called "footer-special.php" then specify
45 * "special".
650 *
651 * This is optimized for archive.php and archive-{$post_type}.php template files
652 * for displaying the title of the post type.
Http.php https://bitbucket.org/openfisma-ondemand/openfisma.git | PHP | 869 lines
1<?php
2/**
26 */
27// require_once 'Zend/Auth/Adapter/Interface.php';
28
117     * List of the supported digest algorithms. I want to support both MD5 and
118     * MD5-sess, but MD5-sess won't make it into the first version.
119     *
121     */
122    protected $_supportedAlgos = array('MD5');
123
124    /**
125     * The actual algorithm to use. Defaults to MD5
126     *
162     *    'use_opaque' => <bool> Whether to send the opaque value in the header
163     *    'alogrithm' => <string> See $_supportedAlgos. Default: MD5
164     *    'proxy_auth' => <bool> Whether to do authentication as a Proxy
Http.php https://bitbucket.org/amrishprajapati/neygengroup1.git | PHP | 848 lines
1<?php
2/**
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
20 * @version    $Id: Http.php 20096 2010-01-06 02:05:09Z bkarwin $
21 */
26 */
27require_once 'Zend/Auth/Adapter/Interface.php';
28
117     * List of the supported digest algorithms. I want to support both MD5 and
118     * MD5-sess, but MD5-sess won't make it into the first version.
119     *
121     */
122    protected $_supportedAlgos = array('MD5');
123
124    /**
125     * The actual algorithm to use. Defaults to MD5
126     *
class.tx_install.php https://bitbucket.org/tritum_sw/typo3v4-core.git.git | PHP | 8,477 lines
333					$email_body="There has been an Install Tool login attempt at TYPO3 site '".$GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename']."' (".t3lib_div::getIndpEnv('HTTP_HOST').").
334The MD5 hash of the last 5 characters of the password tried was '".substr(md5($p), -5)."'
335REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndpEnv('REMOTE_HOST').')';
505					);
506					$isPhpCgi = (PHP_SAPI == 'fpm-fcgi' || PHP_SAPI == 'cgi' || PHP_SAPI == 'isapi' || PHP_SAPI == 'cgi-fcgi');
507					$this->message(
1394				'file' => $this->INSTALL['typo3conf_files'],
1395				'md5Sum' => 'MD5-sum: ' . md5($fileContent),
1396				'fileName' => $this->INSTALL['typo3conf_files'],
4120		if (is_array ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install/mod/class.tx_install.php']['requiredPhpModules'])) {
4121			foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install/mod/class.tx_install.php']['requiredPhpModules'] as $classData) {
4122				$hookObject = t3lib_div::getUserObj($classData);
5919							foreach ($this->INSTALL['database_import'] as $table => $md5str) {
5920								if ($md5str==md5($statements_table[$table])) {
5921									$res = $GLOBALS['TYPO3_DB']->admin_query('DROP TABLE IF EXISTS '.$table);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21