100+ results results for 'php md5 repo:nosen/jelly2' (290 ms)
1<?php 2/* 234 else { // Category does not exist - create it 235 $hash_secret="PHPShopIsCool"; 236 $category_id = md5(uniqid($hash_secret));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);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'])) {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>l10n_client.php git://github.com/gallery/gallery3.git | PHP | 323 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2/** 31 static function client_token() { 32 return md5("l10n_client_client_token" . access::private_key()); 33 } 49 $api_key = $api_key == null ? l10n_client::api_key() : $api_key; 50 return md5($api_key . $payload . l10n_client::client_token()); 51 } 194 // uid = <l10n server user id> 195 // signature = md5(user_api_key($uid, $client_token) . $data . $client_token)) 196 // data = // JSON payloadcnt1.inc.php http://phpwcms.googlecode.com/svn/trunk/ | PHP | 205 lines
82 <td><input name="cimage_name" type="text" id="cimage_name" class="f11b" style="width: 300px; color: #727889;" value="<?php echo isset($content["image_name"]) ? html_specialchars($content["image_name"]) : '' ?>" size="40" maxlength="250" onfocus="this.blur()" /></td> 83 <td><img src="img/leer.gif" alt="" width="3" height="1" /><a href="javascript:;" title="<?php echo $BL['be_cnt_openimagebrowser'] ?>" onclick="openFileBrowser('filebrowser.php?opt=0&target=nolist')"><img src="img/button/open_image_button.gif" alt="" width="20" height="15" border="0" /></a></td> 84 <td><img src="img/leer.gif" alt="" width="3" height="1" /><a href="javascript:;" title="<?php echo $BL['be_cnt_delimage'] ?>" onclick="document.articlecontent.cimage_name.value='';document.articlecontent.cimage_id.value='0';this.blur();return false;"><img src="img/button/del_image_button.gif" alt="" width="15" height="15" border="0" /></a> 102 <option value="4" <?php is_selected(4, $content["image_pos"]) ?>><?php echo $BL['be_cnt_pos4'] ?></option> 103 <option value="5" <?php is_selected(5, $content["image_pos"]) ?>><?php echo $BL['be_cnt_pos5'] ?></option> 104 <option value="6" <?php is_selected(6, $content["image_pos"]) ?>><?php echo $BL['be_cnt_pos6'] ?></option> 104 <option value="6" <?php is_selected(6, $content["image_pos"]) ?>><?php echo $BL['be_cnt_pos6'] ?></option> 105 <option value="7" <?php is_selected(7, $content["image_pos"]) ?>><?php echo $BL['be_cnt_pos7'] ?></option> 106 <option value="8" <?php is_selected(8, $content["image_pos"]) ?>><?php echo $BL['be_cnt_pos8'] ?></option> 106 <option value="8" <?php is_selected(8, $content["image_pos"]) ?>><?php echo $BL['be_cnt_pos8'] ?></option> 107 <option value="9" <?php is_selected(9, $content["image_pos"]) ?>><?php echo $BL['be_cnt_pos9'] ?></option> 108 </select></td> 190 "image_name" => $content["image_hash"] . '.' . $content["image_ext"], 191 "thumb_name" => md5($content["image_hash"].$phpwcms["img_list_width"].$phpwcms["img_list_height"].$phpwcms["sharpen_level"]) 192 )Fill.php https://PHPExcel.svn.codeplex.com/svn | PHP | 332 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 119 $this->_startColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE); 120 $this->_endColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); 121 } 141 * 142 * Returns the PHPExcel_Style_Fill that is actual bound to PHPExcel_Style 143 * 158 * 159 * If no PHPExcel_Style_Fill has been bound to PHPExcel_Style then bind this one. Return the actual bound one. 160 *install_check.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 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() ) ); 201user_add.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 63 } 64 elseif ( $db->sql_numrows( $db->sql_query( "SELECT `userid` FROM `" . NV_USERS_GLOBALTABLE . "` WHERE `md5username`=" . $db->dbescape( md5( $_user['username'] ) ) ) ) != 0 ) 65 { 118 $sql = "INSERT INTO `" . NV_USERS_GLOBALTABLE . "` ( 119 `userid`, `username`, `md5username`, `password`, `email`, `full_name`, `gender`, `birthday`, `sig`, `regdate`, 120 `website`, `location`, `yim`, `telephone`, `fax`, `mobile`, `question`, `answer`, `passlostkey`, `view_mail`, 124 " . $db->dbescape( $_user['username'] ) . ", 125 " . $db->dbescape( md5( $_user['username'] ) ) . ", 126 " . $db->dbescape( $password ) . ", 153 { 154 @require_once ( NV_ROOTDIR . "/includes/class/upload.class.php" ); 155 195 196 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name ); 197 exit();logs.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 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 );Font.php https://PHPExcel.svn.codeplex.com/svn | PHP | 505 lines
32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 42 */ 43class PHPExcel_Style_Font implements PHPExcel_IComparable 44{ 136 $this->_striketrough = false; 137 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); 138 } 158 * 159 * Returns the PHPExcel_Style_Font that is actual bound to PHPExcel_Style 160 * 175 * 176 * If no PHPExcel_Style_Font has been bound to PHPExcel_Style then bind this one. Return the actual bound one. 177 *mostlyce.php http://miacms.googlecode.com/svn/trunk/ | PHP | 336 lines
1<?php 2/** 12global $mosConfig_live_site, $jspath, $mosConfig_absolute_path, $adminside; 13include($mosConfig_absolute_path."mambots/editors/mostlyce/jscripts/tiny_mce/mostlyce_config.php"); 14 50 global $adminside, $mosConfig_secret, $mosConfig_cachetime; 51 include($mosConfig_absolute_path."mambots/editors/mostlyce/jscripts/tiny_mce/mostlyce_config.php"); 52 53 //Setup a session variable for Image Manager and external list generator security checks 54 $env = md5($_SERVER['HTTP_USER_AGENT']); 55 $mostlyceRestoreKey=md5($mosConfig_secret.$env.$_SERVER['REMOTE_ADDR']); 172 Notes: 173 * The TinyMCE PHP gzip compressor cannot and will not work if zlib compression is already enabled on the server. 174 * If they requested editor compression run the checks otherwise don't waste the cycles 260 function fileBrowserCallBack(field_name, url, type, win) { 261 var connector = "$jspath/mambots/editors/mostlyce/jscripts/tiny_mce/filemanager/browser.php?Connector=connectors/php/connector.php"; 262 var enableAutoTypeSelection = false;helper.php https://bitbucket.org/joomla/joomla-platform/ | PHP | 530 lines
367 default : 368 $encrypted = ($salt) ? md5($plaintext.$salt) : md5($plaintext); 369 return ($show_encrypt) ? '{MD5}'.$encrypted : $encrypted; 388 */ 389 public static function getSalt($encryption = 'md5-hex', $seed = '', $plaintext = '') 390 { 430 } else { 431 return mhash_keygen_s2k(MHASH_MD5, $plaintext, substr(pack('h*', md5(mt_rand())), 0, 8), 4); 432 } 496 */ 497 private static function _toAPRMD5($value, $count) 498 { 504 while (-- $count) { 505 $aprmd5 .= $APRMD5[$value & 0x3f]; 506 $value >>= 6;auth.php http://textmotion.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 18 * @lastmodified $Date: $ 19 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 20 * 345 346 if (md5($user['user']['password']) == $key[1]) { 347 return $user; 351 352 if ($user['user']['auth_key'] == md5($key[1].TM_UNIQUE_STR)) { 353 388 389 $cookie->set('auth_key', $user['id'].':'.md5($user['password'])); 390index.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 250 lines
1<?php 2/* 7Modification History: 82008.04.25: Fix problems reported in phperror.log 9*/ 18include_once $strSettingScript; 19//include_once 'ebpls5501.php'; 20require_once "lib/ebpls.lib.php"; 20require_once "lib/ebpls.lib.php"; 21include'includes/variables.php'; 22include_once("lib/multidbconnection.php"); 52 53$ses = isset($_COOKIE['PHPSESSID'])?$_COOKIE['PHPSESSID']:''; //2008.05.06 54 111 112 if (md5($frmUserName)==$goduser and md5($frmUserKey)==$godpass) { 113user_waiting.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 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 />";login.php http://globalban-spanish.googlecode.com/svn/globalban/ | PHP | 140 lines
85 if($_GET['created'] == 1) { 86 ?><h5><?php echo $LANLOGINOUT_001; ?></h5><?php 87 } 104 <tr> 105 <td colspan="2" align="left" class="rowColor1"><?php echo $LANLOGINOUT_005; ?> 106 <input type="checkbox" name="remember" value="1" /> 109 ?> 110 <span class="error"><?php echo $LANLOGINOUT_006; ?></span> 111 <?php 123 124<p><?php echo $LANLOGINOUT_007; ?> <a href="index.php?page=newuser"><?php echo $LANLOGINOUT_008; ?></a></p> 125<p><?php echo $LANLOGINOUT_009; ?></p> 125<p><?php echo $LANLOGINOUT_009; ?></p> 126<form action="index.php?page=login" method="post"> <?php echo $LANLOGINOUT_010; ?><input type="text" name="email" size="60" maxlength="80"/> 127<input type="submit" name="forgotPassword" value="<?php echo $LANLOGINOUT_017; ?>" class="button">Cache.php http://kancms.googlecode.com/svn/trunk/ | PHP | 130 lines
1<?php 2 16 * Begin Caching Script, courtesy of 17 * http://www.addedbytes.com/articles/caching-output-in-php/ 18 */ 43 $page = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; // Requested page 44 $cachefile = $cachedir . $siteid . '_' . md5($page) . '.' . $cacheext; // Cache file to either load or create 45 70 * End Caching Script, courtesy of 71 * http://www.addedbytes.com/articles/caching-output-in-php/ 72 */ 83 $siteid = isset($_GET['siteid']) ? kan_clean_input($_GET['siteid']) : ""; 84 $cachefile = $cachedir . $siteid . '_' . md5($page) . '.' . $cacheext; // Cache file to either load or create 85 // Now the script has run, generate a new cache fileimage.php http://myzapp.googlecode.com/svn/trunk/ | PHP | 347 lines
1<?php 2include(join(DIRECTORY_SEPARATOR,array(dirname(__FILE__),'..','application','configs','env.php'))); 2include(join(DIRECTORY_SEPARATOR,array(dirname(__FILE__),'..','application','configs','env.php'))); 3include(join(DIRECTORY_SEPARATOR,array(dirname(__FILE__),'..','library','phplib.php'))); 4 7 if (empty($header)) { 8 require_once 'Zend/Controller/Request/Exception.php'; 9 throw new Zend_Controller_Request_Exception('An HTTP header name is required'); 35 36$config = include(join(DIRECTORY_SEPARATOR,array(dirname(__FILE__),'..','application','configs','application.php'))); 37$secret = $config['secret_word']; 40{ 41 if ($info['hash'] == md5($info['uri'].$secret)) 42 {PublicAction.class.php http://iiccms.googlecode.com/svn/trunk/ | PHP | 363 lines
1<?php 2class PublicAction extends Action { 9 //??????? 10 redirect(PHP_FILE.C('USER_AUTH_GATEWAY')); 11 } 17 if (C('GUEST_AUTH_ON' )) { 18 $this->assign('jumpUrl',PHP_FILE.C('USER_AUTH_GATEWAY')); 19 } 58 }else { 59 if($authInfo['password'] != md5($_POST['password'])) { 60 $this->error('?????'); 353 if(!isset($_SESSION[C('USER_AUTH_KEY')])) { 354 $this->assign ('jumpUrl', PHP_FILE . C('USER_AUTH_GATEWAY') ); 355 $this->error('????');api.php http://kv-webme.googlecode.com/svn/trunk/ | PHP | 472 lines
58 } 59 require_once SCRIPTBASE.'/ww.incs/common.php'; 60 $smarty=Products_setupSmarty(); 91 } 92 $md5=$_REQUEST['md5']; 93 if ($md5!=md5($order['invoice'])) { 93 if ($md5!=md5($order['invoice'])) { 94 echo ''.__('MD5 check failed. this voucher has been tampered with.').''; 95 Core_quit(); 137function OnlineStore_checkVoucher($params) { 138 require_once dirname(__FILE__).'/frontend/voucher-libs.php'; 139 if (!isset($params['code']) || !isset($params['email'])) { 184function OnlineStore_getQrCode() { 185 require_once SCRIPTBASE.'/ww.incs/phpqrcode.php'; 186 $url=base64_decode($_REQUEST['b64']);blogger.php http://jumi.googlecode.com/svn/trunk/ | PHP | 101 lines
1<?php 2/** 2/** 3* @version $Id: blogger.php 15 2008-11-03 15:42:08Z edo888 $ 4* @package Jumi 5* @copyright Copyright (C) 2008 Edvard Ananyan. All rights reserved. 6* @license GNU/GPL, see LICENSE.php 7*/ 41 $postsURL = 'http://www.blogger.com/feeds/'.$id.'/posts/default'; 42 $fileName = 'cache/'.md5($postsURL); 43 if(file_exists($fileName) and time() - filemtime($fileName) < $this->cacheTime) { 94 echo '</div>'; 95 echo '<small>Last updated: '.date('j M, Y H:i', filemtime('cache/'.md5('http://www.blogger.com/feeds/'.$this->id.'/posts/default'))).'</small>'; 96 }ARC2_Store.php https://code.google.com/p/s3db/ | PHP | 450 lines
1<?php 2/* 118 $tbl = $this->getTablePrefix() . 'setting'; 119 $sql = "SELECT val FROM " . $tbl . " WHERE k = '" .md5($k). "'"; 120 $rs = mysql_query($sql, $this->getDBCon()); 125 $tbl = $this->getTablePrefix() . 'setting'; 126 $sql = "SELECT val FROM " . $tbl . " WHERE k = '" .md5($k). "'"; 127 $rs = mysql_query($sql, $this->getDBCon()); 137 if ($this->hasSetting($k)) { 138 $sql = "UPDATE " .$tbl . " SET val = '" . mysql_real_escape_string(serialize($v)) . "' WHERE k = '" . md5($k) . "'"; 139 } 140 else { 141 $sql = "INSERT INTO " . $tbl . " (k, val) VALUES ('" . md5($k) . "', '" . mysql_real_escape_string(serialize($v)) . "')"; 142 } 147 $tbl = $this->getTablePrefix() . 'setting'; 148 return mysql_query("DELETE FROM " . $tbl . " WHERE k = '" . md5($k) . "'", $this->getDBCon()); 149 }Fill.php https://PHPExcel.svn.codeplex.com/svn | PHP | 400 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_Style 34 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_Style_Fill implements PHPExcel_IComparable 37{ 119 $this->_startColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE, $isSupervisor); 120 $this->_endColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); 121 131 * 132 * @param PHPExcel_Style $parent 133 * @return PHPExcel_Style_FillIcon.php http://rsslounge.googlecode.com/svn/trunk/ | PHP | 290 lines
1<?PHP 2 165 if($type!='jpg' && $type!='png' && $type!='ico' && $type!='gif') { 166 $tmp = $path . md5($url); 167 file_put_contents($tmp, $data); 190 // write icon in file 191 $target = md5($url) . '.' . $type; 192 file_put_contents($path . $target, $data);Border.php https://PHPExcel.svn.codeplex.com/svn | PHP | 150 lines
28/** PHPExcel_Style_Color */ 29require_once 'PHPExcel/Style/Color.php'; 30 31/** PHPExcel_IComparable */ 32require_once 'PHPExcel/IComparable.php'; 33 39 * @package PHPExcel_Style 40 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 41 */ 41 */ 42class PHPExcel_Style_Border implements PHPExcel_IComparable 43{ 80 $this->_borderStyle = PHPExcel_Style_Border::BORDER_NONE; 81 $this->_borderColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); 82 }PhpConfigurationService.java http://mollify.googlecode.com/svn/trunk/ | Java | 216 lines
10 11package org.sjarvela.mollify.client.service.environment.php; 12 20import org.sjarvela.mollify.client.service.ServiceError; 21import org.sjarvela.mollify.client.service.environment.php.PhpService.RequestType; 22import org.sjarvela.mollify.client.service.request.JSONBuilder; 29import org.sjarvela.mollify.client.util.JsUtil; 30import org.sjarvela.mollify.client.util.MD5; 31 36 37public class PhpConfigurationService extends ServiceBase implements 38 ConfigurationService { 45 46 public PhpConfigurationService(PhpService service) { 47 super(service, RequestType.configuration);entries.php https://bitbucket.org/seezoo/seezoo/ | PHP | 183 lines
1<?php 2/** 130 { 131 $ticket = md5(uniqid(mt_rand(), TRUE)); 132 $this->session->set_userdata('sz_blog_delete_ticket', $ticket);order.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 16$page = $nv_Request->get_int( 'page', 'get', 0 ); 17$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op; 18$count = 0; 55 } 56 $row['link_user'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=users&" . NV_OP_VARIABLE . "=edit&userid=" . $row['user_id']; 57 $row['order_time'] = nv_date( "H:i d/m/y", $row['order_time'] ); 60 61 $xtpl->assign( 'order_id', $row['order_id'] . "_" . md5( $row['order_id'] . $global_config['sitekey'] . session_id() ) ); 62 $xtpl->assign( 'link_view', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=or_view&order_id=" . $row['order_id'] ); 64 { 65 $xtpl->assign( 'link_del', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=or_del&order_id=" . $row['order_id'] . "&checkss=" . md5( $row['order_id'] . $global_config['sitekey'] . session_id() ) ); 66 $xtpl->parse( 'main.data.row.delete' ); 80 81$xtpl->assign( 'URL_CHECK_PAYMENT', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=checkpayment" ); 82$xtpl->assign( 'URL_DEL', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=or_del" );lightbox.Manage.php http://compactcms.googlecode.com/svn/trunk/compactcms/ | PHP | 220 lines
106 <table border="0" cellspacing="5" cellpadding="5"> 107 <?php if($_SESSION['ccms_userLevel']>=$perm['manageModLightbox']) { ?><th class="span-1"> </th><?php } ?> 108 <th class="span-7">Album</th> 123 <?php } ?> 124 <td><span class="ss_sprite ss_folder_picture"><a href="lightbox.Manage.php?album=<?php echo $value;?>"><?php echo $value;?></a></span></td> 125 <td><span class="ss_sprite ss_pictures"><?php echo ($count[$i]>0?$count[$i]:'0'); ?></span></td> 149 <?php if($_SESSION['ccms_userLevel']>=$perm['manageModLightbox']) {?> 150 <a href="lightbox.Process.php?album=<?php echo $_GET['album']; ?>&image=<?php echo $key; ?>&action=del-image"><img src="<?php echo $value; ?>" class="thumbview" alt="Thumbnail of <?php echo $key; ?>" /></a> 151 <?php } else { ?> 151 <?php } else { ?> 152 <img src="<?php echo $value; ?>" class="thumbview" alt="Thumbnail of <?php echo $key; ?>" /> 153 <?php } ?> 180 <?php foreach ($albums as $value) { ?> 181 <option <?php echo (isset($_GET['album'])&&$_GET['album']===$value?"selected":null); ?> value="<?php echo $value; ?>"><?php echo $value; ?></option> 182 <?php } ?>index.php https://bitbucket.org/dotclear/dotclear/ | PHP | 373 lines
1<?php 2# -- BEGIN LICENSE BLOCK --------------------------------------- 16if (!empty($_REQUEST['edit']) && !empty($_REQUEST['id'])) { 17 include dirname(__FILE__).'/edit.php'; 18 return; 32 files::uploadStatus($_FILES['links_file']); 33 $ifile = DC_TPL_CACHE.'/'.md5(uniqid()); 34 if (!move_uploaded_file($_FILES['links_file']['tmp_name'],$ifile)) { 37 38 require_once dirname(__FILE__).'/class.dc.importblogroll.php'; 39 try { 171<head> 172 <title><?php echo __('Blogroll'); ?></title> 173 <?php echo dcPage::jsConfirmClose('links-form','add-link-form','add-category-form'); ?> 173 <?php echo dcPage::jsConfirmClose('links-form','add-link-form','add-category-form'); ?> 174 <?php 175 $core->auth->user_prefs->addWorkspace('accessibility');authentication.php git://github.com/forkcms/forkcms.git | PHP | 355 lines
1<?php 2 75 /** 76 * Returns a string encrypted like sha1(md5($salt) . md5($string)) 77 * The salt is an optional extra string you can strenghten your encryption with 88 // return the encrypted string 89 return (string) sha1(md5($salt) . md5($string)); 90 }phpmysqlautobackup_extras.php https://code.google.com/p/bilugcms/ | PHP | 62 lines
1<?php 2require_once("auth.php"); 3/********************************************************** 4 * phpMySQLAutoBackup * 5 * Author: http://www.DWalker.co.uk * 15 **********************************************************/ 16$phpMySQLAutoBackup_version="1.4.0"; 17// --------------------------------------------------------- 29 $mail_attached = ""; 30 $boundary = "----=_NextPart_000_01FB_010".md5($to_emailaddress); 31 $mail_attached.="--".$boundary."\n" 37 $add_header ="MIME-Version: 1.0\nContent-Type: multipart/mixed;\n boundary=\"$boundary\" \n\n"; 38 $mail_content="--".$boundary."\n"."Content-Type: text/plain; \n charset=\"iso-8859-1\"\n"."Content-Transfer-Encoding: 7bit\n\nBACKUP ESEGUITO CON SUCCESSO/BACKUP Successful...\n\nApri l'allegato per il file di Backup zippato\n\nPlease see attached for your zipped Backup file; $backup_type \nSe questo e' il primo backup e' consigliato verificare su un server di test che sia generato correttamente\n\nIf this is the first backup then you should test it restores correctly to a test server.\n\n phpMySQLAutoBackup is developed by http://www.dwalker.co.uk/ \n\n Have a good day now you have a backup of your MySQL db ;-) \n\nPlease consider making a donation at: \n http://www.dwalker.co.uk/make_a_donation.php \n (any amount is gratefully received)\n".$mail_attached; 39 return mail($to_emailaddress, $subject, $mail_content, "From: $from_emailaddress\nReply-To:$from_emailaddress\n".$add_header);sfPropelGenerateCrudTask.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 166 lines
94 // generate module 95 $tmpDir = sfConfig::get('sf_cache_dir').DIRECTORY_SEPARATOR.'tmp'.DIRECTORY_SEPARATOR.md5(uniqid(rand(), true)); 96 sfConfig::set('sf_module_cache_dir', $tmpDir); 113 { 114 $this->getFilesystem()->remove($moduleDir.'/templates/showSuccess.php'); 115 } 119 120 // customize php and yml files 121 $finder = sfFinder::type('file')->name('*.php', '*.yml'); 124 // create basic test 125 $this->getFilesystem()->copy(sfConfig::get('sf_symfony_lib_dir').'/task/generator/skeleton/module/test/actionsTest.php', sfConfig::get('sf_test_dir').'/functional/'.$arguments['application'].'/'.$arguments['module'].'ActionsTest.php'); 126 150 // create basic test 151 $this->getFilesystem()->copy(sfConfig::get('sf_symfony_lib_dir').'/task/generator/skeleton/module/test/actionsTest.php', sfConfig::get('sf_test_dir').'/functional/'.$arguments['application'].'/'.$arguments['module'].'ActionsTest.php'); 152admin.reguser.class.php http://litepublisher.googlecode.com/svn/trunk/ | PHP | 165 lines
1<?php 2/** 45 $email = $_GET['email']; 46 tsession::start('reguser-' . md5($email)); 47 if (!isset($_SESSION['email']) || ($email != $_SESSION['email']) || ($confirm != $_SESSION['confirm'])) { 65 $expired = time() + 1210000; 66 $cookie = md5uniq(); 67 litepublisher::$options->user = $id; 134 135 tsession::start('reguser-' . md5($email)); 136 $_SESSION['email'] = $email; 137 $_SESSION['name'] = $name; 138 $confirm = md5(mt_rand() . litepublisher::$secret. microtime()); 139 $_SESSION['confirm'] = $confirm; 139 $_SESSION['confirm'] = $confirm; 140 $password = md5uniq(); 141 $_SESSION['password'] = $password;videosendmail.php http://nukeviet-music.googlecode.com/svn/trunk/ | PHP | 113 lines
1<?php 2 91 "id" => $id, 92 "checkss" => md5( $id . session_id() . $global_config['sitekey'] ), 93 "v_name" => $name, 99 "result" => $result, 100 "action" => "" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=videosendmail&id=" . $id 101 ); 104 105 include ( NV_ROOTDIR . "/includes/header.php" ); 106 echo $contents; 106 echo $contents; 107 include ( NV_ROOTDIR . "/includes/footer.php" ); 108}buzzFileStorage.php http://buzz-php-client.googlecode.com/svn/trunk/ | PHP | 136 lines
1<?php 2/* 62 do { 63 // make sure PHP picks up on file changes. This is an expensive action but really can't be avoided 64 clearstatcache(); 86 public function get($key, $expiration = false) { 87 $storageFile = $this->getStorageFile(md5($key)); 88 // See if this storage file is locked, if so we wait upto 5 seconds for the lock owning process to 106 public function set($key, $value) { 107 $storageDir = $this->getStorageDir(md5($key)); 108 $storageFile = $this->getStorageFile(md5($key)); 129 public function delete($key) { 130 $file = $this->getStorageFile(md5($key)); 131 if (! @unlink($file)) {upload.php http://piwam.googlecode.com/svn/trunk/ | PHP | 161 lines
117 so.addVariable("sessid", "<?php echo session_id(); ?>"); 118 so.addVariable("obfus", "<?php echo md5($_SERVER['DOCUMENT_ROOT'].$tinybrowser['obfuscate']); ?>"); 119 so.addVariable("filenames", "<?php echo $filelist; ?>"); 121 so.addVariable("filenamelbl", "<?php echo TB_FILENAME; ?>"); 122 so.addVariable("sizelbl", "<?php echo TB_SIZE; ?>"); 123 so.addVariable("typelbl", "<?php echo TB_TYPE; ?>"); 139 <li id="browse_tab"><span><a 140 href="tinybrowser.php?type=<?php echo $typenow.$passfeid ; ?>"><?php echo TB_BROWSE; ?></a></span></li> 141 <li id="upload_tab" class="current"><span><a 141 <li id="upload_tab" class="current"><span><a 142 href="upload.php?type=<?php echo $typenow.$passfeid ; ?>"><?php echo TB_UPLOAD; ?></a></span></li> 143 <?php 147 <li id="edit_tab"><span><a 148 href="edit.php?type=<?php echo $typenow.$passfeid ; ?>"><?php echo TB_EDIT; ?></a></span></li> 149 <?php } ?>AuthController.php http://digitalus-site-manager.googlecode.com/svn/trunk/ | PHP | 139 lines
1<?php 2/** 18 * @license http://digitalus-media.com/license/new-bsd New BSD License 19 * @version $Id: AuthController.php Mon Dec 24 20:48:35 EST 2007 20:48:35 forrest lyman $ 20 */ 114 //update the user's password 115 $match->password = md5($password); 116 $match->save();//save the new passwordpackage_theme.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 28 29 $file_src = NV_ROOTDIR . '/' . NV_TEMP_DIR . '/' . NV_TEMPNAM_PREFIX . 'theme_' . $themename . '_' . md5( nv_genpass( 10 ) . session_id() ) . '.zip'; 30 require_once NV_ROOTDIR . '/includes/class/pclzip.class.php'; 36 nv_insert_logs( NV_LANG_DATA, $module_name, $lang_module['autoinstall_method_packet'], 'file name : ' . $themename . '.zip', $admin_info['userid'] ); 37 $linkgetfile = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=getfile&mod=nv3_theme_" . $themename . ".zip&checkss=" . md5( $file_name . $client_info['session_id'] . $global_config['sitekey'] ) . "&filename=" . $file_name; 38 echo '<a href="' . $linkgetfile . '"><span style="font-size:16px;color:red">nv3_theme_' . $themename . '' . ' - ' . nv_convertfromBytes( $filesize ) . '</span></a>'; 42 $op = $nv_Request->get_string( 'op', 'get' ); 43 $contents .= "<form name='install_theme' enctype='multipart/form-data' action=\"" . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "\" method=\"post\">"; 44 $contents .= "<table summary=\"\" class=\"tab1\">\n"; 88 type: "POST", 89 url: "' . NV_BASE_ADMINURL . 'index.php?' . NV_NAME_VARIABLE . '=' . $module_name . '", 90 data: "themename="+ themename+"&' . NV_OP_VARIABLE . '=' . $op . '",UserDetails.php http://web3cms.googlecode.com/svn/trunk/ | PHP | 247 lines
1<?php 2 235 { 236 return md5(uniqid(rand(),true)); 237 }update_translation.pl https://bibletime.svn.sourceforge.net/svnroot/bibletime | Perl | 281 lines
3use lib "Perl"; 4use Digest::MD5; 5use File::Path; 186 while (my $file = readdir(DIR)) { 187 next unless ($file =~ /\.html|\.shtml|\.phtml|\.php4|\.php$/); 188 #print "$file\n"; 190 my $htmlfile = $file; 191 $file =~ s/\.html|\.shtml|\.phtml|.php4|.php$/.var/; 192MultipartBody.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 295 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 8 * 9 * Copyright (c) 2008, 2009, Alexey Borzov <avb@php.net> 10 * All rights reserved. 37 * @package HTTP_Request2 38 * @author Alexey Borzov <avb@php.net> 39 * @license http://opensource.org/licenses/bsd-license.php New BSD License 39 * @license http://opensource.org/licenses/bsd-license.php New BSD License 40 * @version SVN: $Id: MultipartBody.php 290192 2009-11-03 21:29:32Z avb $ 41 * @link http://pear.php.net/package/HTTP_Request2 51 * @package HTTP_Request2 52 * @author Alexey Borzov <avb@php.net> 53 * @version Release: 0.5.2del_cat.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 175 lines
1<?php 2 28 { 29 if ( $delallcheckss == md5( $catid . session_id() . $global_config['sitekey'] ) ) 30 { 55 56 $contents = "<form action=\"" . NV_BASE_ADMINURL . "index.php\" method=\"post\">"; 57 $contents .= "<input type=\"hidden\" name =\"" . NV_NAME_VARIABLE . "\"value=\"" . $module_name . "\" />"; 100 nv_del_moduleCache($module_name); 101 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=cat&parentid=" . $parentid . "" ); 102 die(); 131 nv_del_moduleCache($module_name); 132 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=cat&parentid=" . $parentid . "" ); 133 die(); 138 { 139 $contents = "ERR_ROWS_" . $catid . "_" . md5( $catid . session_id() . $global_config['sitekey'] ) . "_" . sprintf( $lang_module['delcat_msg_rows'], $check_rows ); 140 }DataValidation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 501 lines
22 * @package PHPExcel_Cell 23 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 29/** 30 * PHPExcel_Cell_DataValidation 31 * 33 * @package PHPExcel_Cell 34 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 88 */ 89 private $_errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP; 90 161 /** 162 * Create a new PHPExcel_Cell_DataValidation 163 *DataValidation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 501 lines
22 * @package PHPExcel_Cell 23 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 29/** 30 * PHPExcel_Cell_DataValidation 31 * 33 * @package PHPExcel_Cell 34 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 88 */ 89 private $_errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP; 90 161 /** 162 * Create a new PHPExcel_Cell_DataValidation 163 *AddressBookQueryTest.php https://code.google.com/p/sabredav/ | PHP | 188 lines
1<?php 2 2 3require_once 'Sabre/CardDAV/AbstractPluginTest.php'; 4require_once 'Sabre/HTTP/ResponseMock.php'; 44 200 => array( 45 '{DAV:}getetag' => '"' . md5("BEGIN:VCARD\nVERSION:3.0\nUID:12345\nEND:VCARD") . '"', 46 ), 94 200 => array( 95 '{DAV:}getetag' => '"' . md5("BEGIN:VCARD\nVERSION:3.0\nUID:12345\nEND:VCARD") . '"', 96 ), 178 200 => array( 179 '{DAV:}getetag' => '"' . md5("BEGIN:VCARD\nVERSION:3.0\nUID:12345\nEND:VCARD"). '"', 180 ),settings.php http://winn-guestbook.googlecode.com/svn/trunk/ | PHP | 1 lines
1<?php require('../data/dbcon.php'); ?> <?php require('../data/functions.php'); ?> <?php session_start(); $showerror = null; $UserChk = checkUser($_COOKIE['winnguestbook_u'], $_COOKIE['winnguestbook_auth']); if( $UserChk == FALSE ) { header("location: index.php"); } ?> <?php if(isset($_GET['air'])) { if($_GET['air'] == 'off') { activateAir($_COOKIE['winnguestbook_u'], $_COOKIE['winnguestbook_auth'],false); header("location: settings.php"); }else{ activateAir($_COOKIE['winnguestbook_u'], $_COOKIE['winnguestbook_auth'],true); header("location: settings.php"); } } if( isset($_POST['save']) ) { if( empty($_POST['cpass']) ) { $error = "12"; } if( empty($_POST['newpass']) ) { $error = "12"; } if( empty($_POST['newpass2']) ) { $error = "12"; } if( $_POST['newpass'] != $_POST['newpass2'] ) { $error = "12"; } if( empty($error) ) { $change = passwordUpdate($_COOKIE['winnguestbook_u'], $_COOKIE['winnguestbook_auth'], $_POST['newpass'], $_POST['cpass']); if( $change == TRUE ) { setcookie('winnguestbook_auth', md5($_POST['newpass']), time()+3600); header("location: settings.php?saved=true"); }else{ header("location: settings.php?error=1"); } }else{ $showerror = "<p class=\"red\">Sorry we could not update this record, try again.</p>"; } } if(isset($_GET['saved'])) { if ($_GET['saved'] == true) { $showerror = "<p style=\"text-align:center;\" class=\"highlight\">Settings saved.</p>"; } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css">@import url('css/admin.css'); </style> <link rel="stylesheet" href="../css/ui-lightness/jquery-ui-1.7.2.custom.css"/> <script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="../js/jquery-ui-1.7.2.custom.min.js"></script> <script type="text/javascript" src="js/Winnjs.js"></script> <title>Winn Guestbook <?php echo $version; ?></title> </head> <body> <div id="adminheader"> <?php include('inc/sitename.php'); ?> <ul id="dash"> <?php include('inc/header.php'); ?> <div class="content" id="settingspage"> <?php echo $showerror; ?> <h3>Change your password</h3> <table> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <tr> <td style="width:230px; text-align:right;">Current Password:</td> <td><input type="password" name="cpass" /></td> </tr> <tr> <td style="width:230px; text-align:right;">New Password:</td> <td><input type="password" onblur="WinnJS.CheckPasswordSt(this.value);" id="newpassword" name="newpass" /></td> </tr> <tr> <td style="width:230px; text-align:right;">Password Strength:</td> <td style="width:230px;"><div id="showin"></div></td> </tr> <tr> <td style="width:230px; text-align:right;">Retype Password:</td> <td><input type="password" name="newpass2" /></td> </tr> <tr> <td></td> <td><input type="submit" value="Save »" name="save" /></td> </tr> </form> </table> <h3>Approved Posters</h3> <p>The approved posters list will allow select users to post on your guestbook with out approval. You may add and delete from this menu below.</p> <table> <tr> <td>Approved email:</td> <td><input type="text" name="approvedEmail" id="approvedEmail" /></td> <td><input type="button" value="Save" id="approvedEmailSave" onclick="WinnJS.AddapprovedEmail($('#approvedEmail').val());" /></td> </tr> </table> <p style="display:none;" id="savingStatus"><span class="highlight">Saving...</span></p> <script type="text/javascript"> $(document).ready(function(){ $("#approved_list_loader").load('inc/approvedPosters.php'); }); </script> <div id="approved_list_loader"> <p>loading...</p> </div> <?php if(DELETE_SPAM == true) { ?> <h3>Akismet API Key Check</h3> <p><a href="javascript://" onclick="WinnJS.APIKeyCheck()">Check my key now!</a></p> <?php } ?> <h3>Disapproved Posters (by domain)</h3> <p>If you add a domain to this list a user with an email address from it will no longer be able to post. (If you add "google.com" then any user from that domain can not post on the Guestbook: user@google.com will be blocked.)</p> <div class="ui-widget" id="disapproveddomains"> <div style="padding: 0pt 0.7em; margin-top: 20px;" class="ui-state-highlight ui-corner-all"> <p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span> <strong>WARNING: </strong> Only put domains in this list that you want to block.</p> </div> </div> <table> <tr> <td>Disapproved domain:</td> <td><input type="text" name="disapprovedEmail" id="disapprovedEmail" /></td> <td><input type="button" value="Save" id="disapprovedEmailSave" onclick="WinnJS.AdddisapprovedEmail($('#disapprovedEmail').val());" /></td> </tr> </table> <script type="text/javascript"> $(document).ready(function(){ $("#disapproved_list_loader").load('inc/disapprovedPosters.php'); }); </script> <div id="disapproved_list_loader"> <p>loading...</p> </div> <h3>Site Information</h3> <p>To edit the information below click the "<em>edit</em>" next to the title of the page above the navigation.</p> <ul> <li><strong>Guestbook Version:</strong> <?php echo LONG_VERSION;?></li> <li><strong>Site Name:</strong> <?php echo SiteName();?></li> <li><strong>Site Address:</strong> <?php echo SiteAddress();?></li> </ul> <h3>Support</h3> <p>Have questions or need support for this product? Below are some helpful links to use.</p> <ul> <li><strong>Support Wiki:</strong> <a href="http://code.google.com/p/winn-guestbook/w/list">http://code.google.com/p/winn-guestbook/w/list</a></li> <li><strong>Support Issues:</strong> <a href="http://code.google.com/p/winn-guestbook/issues/list">http://code.google.com/p/winn-guestbook/issues/list</a></li> <li><strong>Developers Website:</strong> <a href="http://winn.ws">http://winn.ws</a></li> </ul> </div> <?php include('inc/footer.php');?> </body> </html>demo4.js git://github.com/bigbluebutton/bigbluebutton.git | JavaScript | 147 lines
84 type: "GET", 85 url: 'demo4_helper.php?getxml=true', 86 dataType: "text/xml", 141 142// the encoding hashes the string to an md5, which ensures - to a great extent - that the encoded string will be 143// 1. unique per the original string 145function encode(string) { 146 return hex_md5(string); 147}comments.manager.class.php http://litepublisher.googlecode.com/svn/trunk/ | PHP | 139 lines
1<?php 2/** 91 $adminurl = litepublisher::$site->url . '/admin/comments/'. litepublisher::$site->q . "id=$id"; 92 $ref = md5(litepublisher::$secret . $adminurl); 93 $adminurl .= "&ref=$ref&action"; 123 $content = trim($content); 124 $hash = basemd5($content); 125 return $comments->raw->findid("hash = '$hash'"); 130 $users = tusers::i(); 131 if (!$users->itemexists($id)) return "<?php litepublisher::$urlmap->redir('/');"; 132 $item = $users->getitem($id); 135 if (!strbegin($url, 'http://')) $url = 'http://' . $url; 136 return "<?php litepublisher::$urlmap->redir('$url');"; 137 }FS.php git://github.com/gallery/gallery3-contrib.git | PHP | 180 lines
1<?php 2 5 * 6 * This Lock Manager stores all its data in the filesystem. By default it will do this in PHP's standard temporary session directory, 7 * but this can be overriden by specifiying an alternative path in the contructor 31 32 return $this->dataDir . '/sabredav_' . md5($uri) . '.locks'; 33WigetBrowserAdmin.cs http://zero-k.googlecode.com/svn/trunk/ | C# | 291 lines
18 protected string login; 19 protected string passwordMd5; 20 23 this.m_baseAdminUrl = serverUrl; 24 this.m_baseAdminUrlPoint = m_baseAdminUrl + "/admin.php?"; 25 } 29 this.login = username; 30 this.passwordMd5 = Tools.Md5Cached.string2Md5Uncached(password); 31 31 32 m_baseAdminUrlPoint = m_baseAdminUrl + "/admin.php?" + "lname=" + username + "&pwstr=" + this.passwordMd5 + "&"; 33 }file.class.php http://freewms.googlecode.com/svn/trunk/ | PHP | 82 lines
1<?php if(!defined('BASEPATH')) die('Access Denied'); 2/*------------------------------------------------- 16 public static function set($key, $value) { 17 $key = md5(SAFETY_STRING.$key); 18 $path = BASEPATH.CACHE_PATH.'data/'.substr($key,0,2)."/".substr($key,2,2).'/'; 34 public static function get($key, $expires = NULL) { 35 $key = md5(SAFETY_STRING.$key); 36 $path = BASEPATH.CACHE_PATH.'data/'.substr($key,0,2)."/".substr($key,2,2).'/'; 58 public static function delete($key) { 59 $key = md5(SAFETY_STRING.$key); 60 $path = BASEPATH.CACHE_PATH.'data/'.substr($key,0,2)."/".substr($key,2,2).'/';_deprecated___fe.login.data.php http://phpwcms.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/************************************************************************************* 4 5 (c) 2002-2011 Oliver Georgi (oliver@phpwcms.de) // All rights reserved. 6 6 7 This script is part of PHPWCMS. The PHPWCMS web content management system is 8 free software; you can redistribute it and/or modify it under the terms of 23// ---------------------------------------------------------------- 24// obligate check for phpwcms constants 25if (!defined('PHPWCMS_ROOT')) { 37 // 1st we load template data 38 if(is_file(PHPWCMS_TEMPLATE.'inc_default/fe_login.tmpl')) { 39 77 78 setcookie( 'phpwcmsFeLoginRemember', $_loginData['login'].'##-|-##'.md5($_loginData['password']), 79 time()+$_loginData['settings']['cookie_expire'], '/', getCookieDomain() );Alignment.php https://PHPExcel.svn.codeplex.com/svn | PHP | 493 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 29/** PHPExcel_IComparable */ 30require_once 'PHPExcel/IComparable.php'; 31 37 * @package PHPExcel_Style 38 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 39 */ 39 */ 40class PHPExcel_Style_Alignment implements PHPExcel_IComparable 41{ 118 /** 119 * Create a new PHPExcel_Style_Alignment 120 */dmLogView.php git://github.com/diem-project/diem.git | PHP | 119 lines
1<?php 2 105 { 106 return substr(md5(serialize($this->getEntries(array('hydrate' => false)))), -6); 107 }access.class.php http://xfw-xkid-framework.googlecode.com/svn/trunk/ | PHP | 345 lines
1<?php 2/** 2/** 3 * PHP Class to user access (login, register, logout, etc) 4 * 4 * 5 * <code><?php 6 * include('access.class.php'); 10 * For support issues please refer to the webdigity forums : 11 * http://www.webdigity.com/index.php/board,91.0.html 12 * or the official web site: 12 * or the official web site: 13 * http://phpUserClass.com/ 14 * ============================================================================== 15 * 16 * @version $Id: access.class.php,v 0.93 2008/05/02 10:54:32 $ 17 * @copyright Copyright (c) 2007 Nick Papanotas (http://www.webdigity.com)sparql2s3db.php https://code.google.com/p/s3db/ | PHP | 283 lines
1<?php 2#sparql serializer is an API that serializes a sparql query into an S3QL query 7 ini_set('display_errors',1); 8if(file_exists('config.inc.php')) 9 { 9 { 10 include('config.inc.php'); 11 } 13 { 14 Header('Location: index.php'); 15 exit; 16 } 17include('dbstruct.php'); 18@ini_set('allow_url_fopen', true); 32 33define("RDFAPI_INCLUDE_DIR", S3DB_SERVER_ROOT."/pearlib/rdfapi-php/api/"); 34include(RDFAPI_INCLUDE_DIR . "RdfAPI.php");ezcollaborationitemparticipantlink.php git://github.com/ezsystems/ezpublish.git | PHP | 342 lines
1<?php 2/** 11/*! 12 \class eZCollaborationItemParticipantLink ezcollaborationitemparticipantlink.php 13 \brief The class eZCollaborationItemParticipantLink does 139 140 $cacheHashKey = md5( serialize( $parameters ) ); 141scifi.py http://bluecop-xbmc-repo.googlecode.com/svn/trunk/ | Python | 116 lines
1import urllib, urllib2 2import os, re, sys, md5, string 3import xbmc, xbmcgui, xbmcplugin 75def getsmil(vid): 76 gw = RemotingService(url='http://video.nbcuni.com/amfphp/gateway.php', 77 referer='http://video.nbcuni.com/embed/player_3-x/External.swf', 96 #rtmpurl = 'rtmp://cp37307.edgefcs.net:443/ondemand' 97 gw = RemotingService(url='http://video.nbcuni.com/amfphp/gateway.php', 98 referer='http://video.nbcuni.com/embed/player_3-x/External.swf',tiny_mce_gzip.php http://compactcms.googlecode.com/svn/trunk/compactcms/ | PHP | 175 lines
1<?php 2 2 3// $Id: tiny_mce_gzip.php 315 2007-10-25 14:03:43Z spocke $ 4 52 53 $cacheKey = md5($cacheKey); 54Drawing.php https://PHPExcel.svn.codeplex.com/svn | PHP | 189 lines
29/** PHPExcel_IComparable */ 30require_once 'PHPExcel/IComparable.php'; 31 35/** PHPExcel_Worksheet_BaseDrawing */ 36require_once 'PHPExcel/Worksheet/BaseDrawing.php'; 37 38/** PHPExcel_Worksheet_Drawing_Shadow */ 39require_once 'PHPExcel/Worksheet/Drawing/Shadow.php'; 40 46 * @package PHPExcel_Worksheet_Drawing 47 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 48 */ 48 */ 49class PHPExcel_Worksheet_Drawing extends PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable 50{recoverpassword.php http://n-13news.googlecode.com/svn/trunk/ | PHP | 128 lines
1<?php 2/*********************************************************************** 53 $vcode = rand(1,10000000); 54 $vcode = md5($hash . uniqid($vcode)); 55 DataAccess::put("UPDATE " . NEWS_USERS . " SET vcode = ? WHERE email = ?", $vcode, $email); 65 $message .= "<br><br>"; 66 $message .= "<a href=\"http://$_SERVER[HTTP_HOST]$_SERVER[PHP_SELF]?action=recoverpass&vcode=$vcode&email=$email\">".$langmsg['recover'][4]."</a>"; 67 if(@mail($email,"Account info",$message,$headers)){ 112 $pass = $_POST['T1']; 113 $pass = md5(SALT . $pass); 114 DataAccess::put(sprintf("UPDATE %s SET pass = ?, newpass = ?, vcode = ? WHERE email = ? AND vcode = ?", NEWS_USERS), "", $pass, "", $email, $vcode);Borders.php https://PHPExcel.svn.codeplex.com/svn | PHP | 494 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 29/** PHPExcel_Style_Border */ 30require_once 'PHPExcel/Style/Border.php'; 31 32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 40 * @package PHPExcel_Style 41 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 42 */ 42 */ 43class PHPExcel_Style_Borders implements PHPExcel_IComparable 44{fileinfo.php http://phpwcms.googlecode.com/svn/trunk/ | PHP | 212 lines
26require_once ('include/inc_lib/default.inc.php'); 27require_once (PHPWCMS_ROOT.'/include/inc_lib/dbcon.inc.php'); 28 76 <title><?php echo $BL['FILEINFO_TITLE'] ?>: <?php echo $filename ?></title> 77 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo PHPWCMS_CHARSET ?>" /> 78 <meta http-equiv="Expires" content="0" /> 129 <tr> 130 <td width="422" class="v10"><?php echo $BL['CREATED'] ?>: <strong><?php echo date($BL['DATE_FORMAT'], intval($row["f_created"])) ?></strong> <?php echo $BL['SIZE'] ?>: <strong><?php echo fsizelong($row["f_size"]) ?></strong></td> 131 <td width="96" align="right"><?php 132 if(!$row["f_trash"]) { 133 ?><a href="include/inc_act/act_download.php?dl=<?php 134 142 } 143 ?><img src="img/leer.gif" alt="" width="9" height="1" /><img src="img/button/aktiv_12x13_<?php echo $row["f_aktiv"] ?>.gif" alt="" width="12" height="13" /><img src="img/button/public_12x13_<?php echo $row["f_public"] ?>.gif" alt="" width="12" height="13" /></td> 144 </tr>common_functions.php http://xoopscube-modules.googlecode.com/svn/trunk/ | PHP | 314 lines
1<?php 2 56 'name' => $myts->makeTboxData4Show( $pipe_row['name'] ) , 57 'url' => 'index.php?page=eachpipe&pipe_id='.$pipe_id , 58 ) ; 94 if( file_exists( $classes_base . '/' . $file ) ) { 95 $ret = strtolower( substr( $file , strlen( 'D3pipes'.$joint_type ) , - strlen( '.class.php' ) ) ) ; 96 break ; 107{ 108 $salt = substr( md5( XOOPS_ROOT_PATH . XOOPS_DB_USER . XOOPS_DB_PREFIX ) , 0 , 6 ) ; 109 $base = XOOPS_TRUST_PATH.'/cache/'.$mydirname.'_'.$salt.'_' ; 147{ 148 require_once dirname(dirname(__FILE__)).'/joints/clip/D3pipesClipModuledb.class.php' ; 149 163 if( substr( $file , 0 , 7 + strlen( $joint_type ) ) != 'D3pipes'.ucfirst($joint_type) ) continue ; 164 if( substr( $file , -10 ) != '.class.php' ) continue ; 165 $class_name = substr( $file , 0 , -10 ) ;del_cat.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 30 { 31 if ( $delallcheckss == md5( $catid . session_id() . $global_config['sitekey'] ) ) 32 { 57 58 $contents = "<form action=\"" . NV_BASE_ADMINURL . "index.php\" method=\"post\">"; 59 $contents .= "<input type=\"hidden\" name =\"" . NV_NAME_VARIABLE . "\"value=\"" . $module_name . "\" />"; 105 nv_del_moduleCache( $module_name ); 106 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=cat&parentid=" . $parentid . "" ); 107 die(); 140 nv_del_moduleCache( $module_name ); 141 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=cat&parentid=" . $parentid . "" ); 142 die(); 147 { 148 $contents = "ERR_ROWS_" . $catid . "_" . md5( $catid . session_id() . $global_config['sitekey'] ) . "_" . sprintf( $lang_module['delcat_msg_rows'], $check_rows ); 149 }bcmsdh.h git://github.com/CyanogenMod/cm-kernel.git | C++ Header | 209 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: 80 81/* Access SDIO address space (e.g. CCCR) using CMD52 (single-byte interface). 82 * fn: function number 102 103/* Synchronous access to device (client) core registers via CMD53 to F1. 104 * addr: backplane address (i.e. >= regsva from attach) 113 114/* Buffer transfer to/from device (client) core via cmd53. 115 * fn: function number 141 142/* Read/write to memory block (F1, no FIFO) via CMD53 (sync only). 143 * rw: read or write (0/1)class-items.php http://lilina.googlecode.com/svn/trunk/lilina/ | PHP | 511 lines
1<?php 2/** 103 if($current !== null) { 104 // Workaround for old, serialized PHP database 105 if(($this->items = json_decode($current)) === $current) { 373 * 374 * @return string MD5 hash 375 */test_index_simple.py https://bitbucket.org/tarek/distutils2/ | Python | 323 lines
70 # issue 20 71 url = 'http://http://svn.pythonpaste.org/Paste/wphp/trunk' 72 try: 163 # external download links. 164 # http://bitbucket.org/tarek/distribute/issue/163/md5-validation-error 165 # 166 # Usecase : 167 # - someone uploads a package on pypi, a md5 is generated 168 # - someone manually coindexes this link (with the md5 in the url) onto 169 # an external page accessible from the package page. 170 # - someone reuploads the package (with a different md5) 171 # - while easy_installing, an MD5 error occurs because the external 182 183 # we have only one link, because links are compared without md5 184 self.assertEqual(1, len(releases))file.php git://github.com/phpbb/phpbb3.git | PHP | 730 lines
21*/ 22class phpbb_cache_driver_file extends phpbb_cache_driver_base 23{ 82 global $phpbb_root_path; 83 include($phpbb_root_path . 'includes/functions.' . $phpEx); 84 } 304 { 305 $this->remove_file($this->cache_dir . 'data' . $var_name . ".$phpEx", true); 306 } 698 global $phpbb_root_path; 699 include($phpbb_root_path . 'includes/functions.' . $phpEx); 700 } 717 global $phpbb_root_path, $phpEx; 718 include($phpbb_root_path . 'includes/functions.' . $phpEx); 719 }lib_auth.php http://pixie-cms.googlecode.com/svn/trunk/ | PHP | 162 lines
1<?php 2if (!defined('DIRECT_ACCESS')) { 105 if ((isset($remember)) && ($remember)) { // persistent cookie required 106 setcookie('pixie_login', $username . ',' . md5($username . $nonce), time() + 3600 * 24 * 365, '/'); 107 } else { // session-only cookie required 107 } else { // session-only cookie required 108 setcookie('pixie_login', $username . ',' . md5($username . $nonce), 0, '/'); 109 } 139 $nonce = safe_field('nonce', 'pixie_users', "user_name='$username'"); 140 if (md5($username . $nonce) == $cookie_hash) { // check nonce 141 $privs = safe_field('privs', 'pixie_users', "user_name='$username'"); // login is good, create userbasics.php http://webworks-webme.googlecode.com/svn/trunk/ | PHP | 323 lines
3session_start(); 4require 'Log.php'; 5if(!defined('START_TIME'))define('START_TIME',microtime(true)); 36} 37function cache_load($type,$md5){ 38 if(file_exists(USERBASE.'/ww.cache/'.$type.'/'.$md5)){ 54 foreach($tmparr as $name=>$val)$tmparr2[]='\''.addslashes($name).'\'=>\''.addslashes($val).'\''; 55 $config="<?php\n\$DBVARS=array(\n ".join(",\n ",$tmparr2)."\n);"; 56 file_put_contents(CONFIG_FILE,$config); 236 echo '<html><body><p>No configuration file found</p>'; 237 if(file_exists('install/index.php'))echo '<p><a href="/install/index.php">Click here to install</a></p>'; 238 else echo '<p><strong>Installation script also missing...</strong> please contact kae@webworks.ie if you think there\'s a problem.</p>'; 241} 242require SCRIPTBASE . '.private/config.php'; 243if(isset($DBVARS['userbase']))define('USERBASE', $DBVARS['userbase']);admin_login.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 220 lines
26 header( NV_HEADERSTATUS . ' 401 Unauthorized' ); 27 if ( php_sapi_name() !== 'cgi-fcgi' ) 28 { 73 define( 'NV_IS_MOD_USER', true ); 74 require_once ( NV_ROOTDIR . '/' . DIR_FORUM . '/nukeviet/login.php' ); 75 } 76 $userid = 0; 77 $sql = "SELECT userid, username, password FROM `" . NV_USERS_GLOBALTABLE . "` WHERE md5username ='" . md5( $nv_username ) . "'"; 78 $result = $db->sql_query( $sql ); 136 137if ( file_exists( NV_ROOTDIR . "/language/" . NV_LANG_INTERFACE . "/admin_global.php" ) ) 138{ 201 { 202 if ( file_exists( NV_ROOTDIR . "/language/" . $lang_i . "/global.php" ) and file_exists( NV_ROOTDIR . "/language/" . $lang_i . "/admin_global.php" ) ) 203 {UuidBuilder.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 166 lines
1<?php 2/** 2/** 3 * This file is part of PHP_Depend. 4 * 4 * 5 * PHP Version 5 6 * 38 * 39 * @category PHP 40 * @package PHP_Depend 43 * @copyright 2008-2010 Manuel Pichler. All rights reserved. 44 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 45 * @version SVN: $Id$ 53 * 54 * @category PHP 55 * @package PHP_Dependedit_member.php https://bitbucket.org/seezoo/seezoo/ | PHP | 232 lines
1<?php 2/** 210 { 211 $ticket = md5(uniqid(mt_rand(), TRUE)); 212 $this->session->set_flashdata('sz_ticket', $ticket);Style.php https://PHPExcel.svn.codeplex.com/svn | PHP | 278 lines
35/** PHPExcel_Style_Fill */ 36require_once 'PHPExcel/Style/Fill.php'; 37 47/** PHPExcel_Style_Conditional */ 48require_once 'PHPExcel/Style/Conditional.php'; 49 50/** PHPExcel_IComparable */ 51require_once 'PHPExcel/IComparable.php'; 52 57 * @package PHPExcel_Cell 58 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 59 */ 59 */ 60class PHPExcel_Style implements PHPExcel_IComparable 61{show-comments.php http://kv-webme.googlecode.com/svn/trunk/ | PHP | 177 lines
1<?php 2 5 * 6 * PHP Version 5 7 * 16 17require_once SCRIPTBASE.'ww.incs/recaptcha.php'; 18 57 $sql=$query.' order by cdate '.($commentboxfirst?'desc':'asc'); 58 $md5=md5($sql); 59 $comments=Core_cacheLoad('comments', $md5); 61 $comments=dbAll($sql); 62 Core_cacheSave('comments', $md5, $comments); 63 }autosuggest.php git://github.com/forkcms/forkcms.git | PHP | 224 lines
1<?php 2 75 $this->offset = ($this->requestedPage * $this->limit) - $this->limit; 76 $this->cacheFile = FRONTEND_CACHE_PATH . '/' . $this->getModule() . '/' . FRONTEND_LANGUAGE . '_' . md5($this->term) . '_' . $this->offset . '_' . $this->limit . '.php'; 77 164 // set cache content 165 SpoonFile::setContent($this->cacheFile, "<?php\n" . '$pagination = ' . var_export($this->pagination, true) . ";\n" . '$items = ' . var_export($this->items, true) . ";\n?>"); 166 }users_controller.php http://goldcat.googlecode.com/svn/ | PHP | 346 lines
1<?php 2 117 $this->data['User']['password'] = $this->Auth->password('123456'); 118 $this->data['User']['activation_code'] = md5(uniqid()); 119 if ($this->User->save($this->data)) {LegacypageFunctions.class.php http://xoopscube-modules.googlecode.com/svn/trunk/ | PHP | 330 lines
1<?php 2/** 3 * @package user 4 * @version $Id: LegacypageFunctions.class.php,v 1.6 2007/12/15 15:18:11 minahito Exp $ 5 */ 16 * @internal 17 * The process for userinfo.php. This process doesn't execute anything 18 * directly. Forward to the controller of the user module. 30 31 require_once XOOPS_MODULE_PATH . "/user/class/ActionFrame.class.php"; 32 44 * @internal 45 * The process for edituser.php. This process doesn't execute anything 46 * directly. Forward to the controller of the user module. 70 71 require_once XOOPS_MODULE_PATH . "/user/class/ActionFrame.class.php"; 72ChangePassword.hx http://poko.googlecode.com/svn/trunk/ | Haxe | 112 lines
36import poko.utils.Tools; 37import haxe.Md5; 38import php.Web; 76 var oldPassword = app.db.requestSingle("SELECT password FROM _users WHERE id='" + user.id + "'").password; 77 if (Md5.encode(d.passwordOld) == oldPassword) { 78 if (d.passwordNew1 == d.passwordNew2) { 78 if (d.passwordNew1 == d.passwordNew2) { 79 app.db.update("_users", { password: Md5.encode(d.passwordNew1) }, "id='" + user.id + "'"); 80 messages.addMessage("Password updated.");comment.php https://bitbucket.org/seezoo/seezoo/ | PHP | 164 lines
1<?php 2/** 128 { 129 $ticket = md5(uniqid(mt_rand(), TRUE)); 130 $this->session->set_flashdata($this->ticket_name, $ticket);dist.conf.inc.php http://phpwcms.googlecode.com/svn/trunk/ | PHP | 130 lines
34$phpwcms['admin_user'] = 'admin'; 35$phpwcms['admin_pass'] = 'acf977c1cfa27a463246f6963055cb11'; //MD5 36$phpwcms['admin_email'] = 'noreply@'.str_replace(array('www.', 'WWW.', '/'), '', $_SERVER["HTTP_HOST"]); 80$phpwcms['formmailer_set'] = array('allow_send_copy' => 0, 'global_recipient_email' => 'mail@example.com'); //for better security handling 81$phpwcms['allow_cntPHP_rt'] = 0; // allow PHP replacement tags and includes in content parts 82$phpwcms['BOTS'] = array('googlebot', 'msnbot', 'bingbot', 'ia_archiver', 'altavista', 'slurp', 'yahoo', 'jeeves', 'teoma', 'lycos', 'crawler'); 85$phpwcms['IE7-js'] = 0; // load IE7-js - fix for HTML/CSS/PNG bugs in IE 86$phpwcms['php_timezone'] = ''; // overwrite PHP default time zone http://php.net/manual/en/timezones.php 87$phpwcms['wysiwyg_template'] = array(); // deprecated 101$phpwcms['feuser_regkey'] = 'FEUSER'; 102$phpwcms['login.php'] = 'login.php'; 103$phpwcms['js_lib'] = array('jquery-1.9'=>'jQuery 1.9','jquery-1.9-migrate'=>'jQuery 1.9 Migrate','jquery-1.8'=>'jQuery 1.8','jquery-1.7'=>'jQuery 1.7','jquery-1.6'=>'jQuery 1.6','jquery-1.5'=>'jQuery 1.5','jquery-1.4'=>'jQuery 1.4','jquery'=>'jQuery 1.3','mootools-1.4'=>'MooTools 1.4','mootools-1.4-compat'=>'MooTools 1.4 Compat','mootools-1.2'=>'MooTools 1.2','mootools-1.1'=>'MooTools 1.1'); 122$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25) 123$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail 124$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFFendskin.php http://endcms.googlecode.com/svn/trunk/ | PHP | 143 lines
1<?php 2 52 $filename = $this->template_dir.$template; 53 $cache_filename = $this->cache_dir.md5($template); 54 //if (file_exists($cache_filename) && filemtime($cache_filename) > filemtime($filename)) return $cache_filename; 62 $tag = $this->_replace_var_name($tag); 63 $code = '<'.'?php echo '.$tag.'; ?'.'>'; 64 $page = str_replace($ms[0][$cnt],$code,$page); 73 $tag = $this->_replace_var_name($tag); 74 $code = '<'.'?php '.$tag.': ?>'; 75 $page = str_replace($ms[0][$cnt],$code,$page); 84 $tag = $this->_replace_var_name($tag); 85 $code = '<'.'?php '.$tag.':?>'; 86 $page = str_replace($ms[0][$cnt],$code,$page); 96 if (!preg_match('/\;\s*$/',$tag)) $tag.=';'; 97 $code = '<'.'?php echo '.$tag.'?>'; 98 $page = str_replace($ms[0][$cnt],$code,$page);cake_session.test.php git://github.com/Datawalke/Coordino.git | PHP | 508 lines
4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 15 * @package cake 16 * @subpackage cake.tests.cases.libs 17 * @since CakePHP(tm) v 1.2.0.4206 18 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 92 function testSessionPath() { 93 $Session = new CakeSession('/index.php'); 94 $this->assertEqual('/', $Session->path);global.voting.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 141 lines
1<?php 2 79 80 include_once ( NV_ROOTDIR . "/modules/" . $site_mods['voting']['module_file'] . "/language/" . NV_LANG_INTERFACE . ".php" ); 81 103 104 $action = NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=voting"; 105 106 $voting_array = array( // 107 "checkss" => md5( $current_voting['vid'] . $client_info['session_id'] . $global_config['sitekey'] ), // 108"accept" => ( int )$current_voting['acceptcm'], //enddb.php http://endcms.googlecode.com/svn/trunk/ | PHP | 90 lines
1<?php 2/** 8* EndDB 9* 作者: Longbill longbill.cn@gmail.com http://php.js.cn 10* 2011-03-04 24 /** 25 * $path: EndDB数据文件存储的根目录,需要php具有读写权限 26 * $default_type: 如果是json,那么存储和读取数据的时候默认会执行json_encode和json_decode操作,默认是json。 36 * 存储数据 37 * $key: 数据的key,可以是任意字符串,因为会被md5一次。 38 * $data: 数据,如果$type是json,那么$data可以为array,否则只能是string 42 { 43 $hash = md5($key); 44 if ($type === '') $type = $this->default_type; 55 { 56 $hash = md5($key); 57 if ($type === '') $type = $this->default_type;array-tests.php git://github.com/nicolasff/phpredis.git | PHP | 526 lines
1<?php 2 2 3require_once(dirname($_SERVER['PHP_SELF'])."/test.php"); 4echo "Redis Array tests.\n\n"; 97 { 98 $a = unpack("N*", md5($key, true)); 99 global $newRing; 466 public function testDiscard() { 467 /* phpredis issue #87 */ 468 $key = 'test_err';odf.php http://gevu.googlecode.com/svn/trunk/ | PHP | 363 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 * 53 if (! class_exists($this->config['ZIP_PROXY'])) { 54 throw new OdfException($this->config['ZIP_PROXY'] . ' class not found - check your php settings'); 55 } 70 71 $tmp = tempnam($this->config['PATH_TO_TMP'], md5(uniqid())); 72 copy($filename, $tmp);class.cached_units.php http://glossword.googlecode.com/svn/trunk/ | PHP | 207 lines
1<?php 2/** 7/** 8 * Class to store PHP-variables in a cache. 9 * 112 { 113 $h = hash( 'md5', $s ); 114 $n = '1';ini.php https://bitbucket.org/joomla/joomla-platform/ | PHP | 210 lines
1<?php 2/** 82 // Check the memory cache for already processed strings. 83 $hash = md5($data.':'.(int) $sections); 84 if (isset(self::$cache[$hash])) {Md5Test.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
130 $validator = new Zend_Validate_File_Md5(array('12345', '12333', '12344')); 131 $this->assertEquals(array('12345' => 'md5', '12333' => 'md5', '12344' => 'md5'), $validator->getMd5()); 132 } 159 $validator->setMd5(array('12321', '12121')); 160 $this->assertEquals(array('12321' => 'md5', '12121' => 'md5'), $validator->getMd5()); 161 } 189 $validator->addMd5(array('12321', '12121')); 190 $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5()); 191 } 201 $validator->addHash('12344'); 202 $this->assertEquals(array('12345' => 'md5', '12344' => 'md5'), $validator->getMd5()); 203 204 $validator->addHash(array('12321', '12121')); 205 $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5()); 206 }location.php http://noserub.googlecode.com/svn/trunk/ | PHP | 156 lines
1<?php 2/* SVN FILE: $Id:$ */ 44 $url = Router::url('/locations/view/' . $this->id . '/', true); 45 $this->saveField('uid', md5($url)); 46code_coverage_manager.test.php git://github.com/Datawalke/Coordino.git | PHP | 516 lines
6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 15 * @package cake 16 * @subpackage cake.tests.cases.libs 17 * @since CakePHP(tm) v 1.2.0.4206 18 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 133 $expected = $manager->__testObjectFileFromCaseFile('controllers/some_file.test.php', true); 134 $this->assertIdentical(APP.'controllers'.DS.'some_file.php', $expected); 135 249 } 250PHP; 251frontController.php http://sgd.googlecode.com/svn/trunk/ | PHP | 387 lines
1<?php 2session_start(); 3 4include_once '../app/controllers/loginC.php'; 5include_once '../app/models/loginM.php'; 5include_once '../app/models/loginM.php'; 6include_once '../app/include/conexao.php'; 7 14// } 15 return $loginC->valida( $_POST['siape'], md5($_POST['senha'] ) ); 16} 22 /* @todo testar o redirecionamento */ 23 header('Location: ../index.php'); 24} 25 26include_once 'library/Smarty-3.0rc1/libs/Smarty.class.php'; 27include_once 'library/MPDF45/mpdf.php';Fill.php https://PHPExcel.svn.codeplex.com/svn | PHP | 217 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/lgpl.txt LGPL 29/** PHPExcel_Style_Color */ 30require_once 'PHPExcel/Style/Color.php'; 31 40 * @package PHPExcel_Style 41 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 42 */ 42 */ 43class PHPExcel_Style_Fill implements PHPExcel_IComparable 44{ 104 $this->_startColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE); 105 $this->_endColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); 106 }me2day.api.php http://xe-textyle.googlecode.com/svn/trunk/ | PHP | 64 lines
1<?php 2 class me2api { 20 $nonce = $this->_getNonce(); 21 return $nonce.md5($nonce.$this->user_key); 22 }MediaMimeStream.php git://github.com/zendframework/zf2.git | PHP | 186 lines
1<?php 2 95 $this->_fileHandle = fopen($filePath, 'rb', TRUE); 96 $this->_boundaryString = '=_' . md5(microtime(1) . rand(1,20)); 97 $entry = $this->wrapEntry($xmlString, $fileContentType);Protection.php https://PHPExcel.svn.codeplex.com/svn | PHP | 226 lines
29/** PHPExcel_IComparable */ 30require_once 'PHPExcel/IComparable.php'; 31 37 * @package PHPExcel_Style 38 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 39 */ 39 */ 40class PHPExcel_Style_Protection implements PHPExcel_IComparable 41{ 104 * 105 * Returns the PHPExcel_Style_Protection that is actual bound to PHPExcel_Style 106 * 121 * 122 * If no PHPExcel_Style_Protection has been bound to PHPExcel_Style then bind this one. Return the actual bound one. 123 *quartz.php http://prails.googlecode.com/svn/trunk/ | PHP | 168 lines
1<?php 2/** 40 41 if (!$id) $id = md5(implode($time).$event); 42 53 $mail = ">> ".$base."/log/quartz.log 2>&1"; 54 $prog = (Quartz::_getFirstAvailable())." '".str_replace("://", "://".$_SERVER["PHP_AUTH_USER"].":".$_SERVER["PHP_AUTH_PW"]."@", $SERVER)."?event=".$event."'"; 55 $cron[] = $time["min"]." ".$time["hour"]." ".$time["day"]." ".$time["month"]." ".$time["week"]." ".$prog." ".$mail." # \$id: ".$id; 78 $idTime = Quartz::_normalizeTime($idTime); 79 if (!$id) $id = md5(implode($idTime).$event); 80 } 128 static function _getFirstAvailable() { 129 exec("whereis php", $list); 130 if (strpos(implode("\n", $list), "php ") === false) return null; 131 132 return "/usr/bin/env php -q ".__FILE__; 133 }Php.php https://code.google.com/p/mwenhanced/ | PHP | 359 lines
47 { 48 // QUERY_STRING is in form: PHPSESSID=<sid>&a=aaa&b=bbb&<id> 49 // where <id> is request ID, <sid> - session ID (if present), 49 // where <id> is request ID, <sid> - session ID (if present), 50 // PHPSESSID - session parameter name (by default = "PHPSESSID"). 51 64 // Start OB handling early. 65 $this->_uniqHash = md5(microtime() . getmypid()); 66 ini_set('error_prepend_string', ini_get('error_prepend_string') . $this->_uniqHash); 144 */ 145 function php2js($a) 146 { 164 } else { 165 foreach ($a as $k=>$v) $result[] = JsHttpRequest::php2js($k) . ': ' . JsHttpRequest::php2js($v); 166 return '{ ' . join(', ', $result) . ' }';Alignment.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 538 lines
2/** 3 * PHPExcel 4 * 22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 32 * @package PHPExcel_Style 33 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel) 34 */ 34 */ 35class PHPExcel_Style_Alignment implements PHPExcel_IComparable 36{ 158 * 159 * @return PHPExcel_Worksheet 160 */storage.php git://github.com/joomla/joomla-platform.git | PHP | 335 lines
1<?php 2/** 72 $config = JFactory::getConfig(); 73 $this->_hash = md5($config->get('secret')); 74 $this->_application = (isset($options['application'])) ? $options['application'] : null; 140 141 if ($path = JPath::find(self::addIncludePath(), strtolower($handler) . '.php')) 142 { 181 { 182 include_once JPATH_PLATFORM . '/joomla/cache/storage/helper.php'; 183 } 301 { 302 $name = md5($this->_application . '-' . $id . '-' . $this->_language); 303 $this->rawname = $this->_hash . '-' . $name;RequestTest.php git://github.com/zendframework/zf2.git | PHP | 228 lines
72 'SCRIPT_NAME' => '/public/index.php', 73 'PHP_SELF' => '/public/index.php/news/3', 74 'SCRIPT_FILENAME' => '/var/web/html/public/index.php', 121 'QUERY_STRING' => 'var1=val1&var2=val2', 122 'PHP_SELF' => '/index.php/news/3', 123 'SCRIPT_FILENAME' => '/var/web/html/index.php', 139 'REQUEST_URI' => '/html/index.php/news/3?var1=val1&var2=val2', 140 'PHP_SELF' => '/html/index.php/news/3', 141 'SCRIPT_FILENAME' => '/var/web/html/index.php', 148 'REQUEST_URI' => '/dir/action', 149 'PHP_SELF' => '/dir/index.php', 150 'SCRIPT_FILENAME' => '/var/web/dir/index.php', 201 array( 202 'CONTENT_MD5' => md5('a'), 203 ),api.py https://bitbucket.org/kmike/vkontakte/ | Python | 177 lines
5import warnings 6from hashlib import md5 7from functools import partial 13 14API_URL = 'http://api.vk.com/api.php' 15SECURE_API_URL = 'https://api.vk.com/method/' 20# See full list of VK API methods here: 21# http://vk.com/developers.php?o=-1&p=%D0%A0%D0%B0%D1%81%D1%88%D0%B8%D1%80%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5_%D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D1%8B_API&s=0 22# http://vk.com/developers.php?o=-1&p=%D0%9E%D0%BF%D0%B8%D1%81%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D0%BE%D0%B2_API&s=0 70 param_str = "".join(["%s=%s" % (str(key), _encode(params[key])) for key in keys]) 71 return md5(param_str + str(api_secret)).hexdigest() 72 149 else: 150 # http://vkontakte.ru/developers.php?oid=-1&p=Взаимодействие_приложения_с_API 151 params = dict(frontend.init.php http://phpwcms.googlecode.com/svn/trunk/ | PHP | 215 lines
26 27 $feedimport_where .= 'MD5(CONCAT(cnt_id,cnt_text))='._dbEscape($feedimport_source); 28 45 // Load SimplePie 46 require_once(PHPWCMS_ROOT.'/include/inc_ext/simplepie.inc.php'); 47 73 // need some additional functions 74 include_once(PHPWCMS_ROOT.'/include/inc_lib/backend.functions.inc.php'); 75 80 // check against crossreference table 81 $sql = 'SELECT * FROM '.DB_PREPEND.'phpwcms_crossreference c '; 82 $sql .= 'LEFT JOIN '.DB_PREPEND.'phpwcms_article a '; 173 174 $feedimport_result['status'][] = date('Y-m-d, H:i:s', $article_begin) . LF . $article_title . LF . $rssvalue->get_permalink() . LF . PHPWCMS_URL . 'phpwcms.php?do=articles&p=2&s=1&id='.$result['INSERT_ID']; 175extend.php http://xtraupload.googlecode.com/svn/trunk/ | PHP | 1 lines
1<?php /** * XtraUpload * * A turn-key open source web 2.0 PHP file uploading package requiring PHP v5 * * @package XtraUpload * @author Matthew Glinski * @copyright Copyright (c) 2006, XtraFile.com * @license http://xtrafile.com/docs/license * @link http://xtrafile.com * @since Version 2.0 * @filesource */ // ------------------------------------------------------------------------ /** * XtraUpload Extend Page Controller * * @package XtraUpload * @subpackage Controllers - Admin * @category Controllers * @author Matthew Glinski * @link http://xtrafile.com/docs/pages/admin/extend */ // ------------------------------------------------------------------------ class Extend extends Controller { private $installed=''; private $not_installed=''; // ------------------------------------------------------------------------ public function Extend() { parent::Controller(); $this->load->model('admin_access'); $this->load->helper('string'); $this->load->helper('text'); } // ------------------------------------------------------------------------s public function index() { redirect('admin/extend/view'); } // ------------------------------------------------------------------------ public function view() { $this->_getInstalledPlugins(); $this->_getNotInstalledPlugins(); $data['installed']=array(); $data['not_installed']=array(); foreach($this->installed as $name) { $data['installed'][$name] = simplexml_load_file(APPPATH."extend/".$name."/".$name.'.xml'); } foreach($this->not_installed as $name) { $data['not_installed'][$name] = simplexml_load_file(APPPATH."extend/".$name."/".$name.'.xml'); } $data['flashMessage'] = ''; if($this->session->flashdata('msg')) { $data['flashMessage'] = '<span class="info"><b>'.$this->session->flashdata('msg').'</b></span>'; } $this->load->view($this->startup->skin.'/header', array('headerTitle' => 'Plugin Manager')); $this->load->view($this->startup->skin.'/admin/extend/view', $data); $this->load->view($this->startup->skin.'/footer'); } // ------------------------------------------------------------------------ public function install($name) { $name = str_replace(array('../', '..'), '', $name); $num_rows = $this->db->get_where('extend', array('file_name' => $name))->num_rows(); if(file_exists(APPPATH."extend/".$name.'/'.$name.'.php') and file_exists(APPPATH."extend/".$name."/".$name.'.xml') and $num_rows == 0) { $xml = simplexml_load_file(APPPATH."extend/".$name."/".$name.'.xml'); $data = array( 'data' => serialize($xml), 'file_name' => $name, 'date' => time(), 'active' => '1', 'uid' => $this->session->userdata('id'), ); $this->db->insert('extend', $data); $this->load->extention($name); $this->$name->install(); $this->session->set_flashdata('msg', 'Plugin "'.ucwords(str_replace('_', ' ', $name)).'" Installed'); } $this->_updateCache(); redirect('admin/extend/view'); } // ------------------------------------------------------------------------ public function remove($name) { $this->load->extention($name); $this->$name->uninstall(); $this->db->delete('extend', array('file_name' => $name)); $this->session->set_flashdata('msg', 'Plugin "'.ucwords(str_replace('_', ' ', $name)).'" Uninstalled'); $this->_updateCache(); redirect('admin/extend/view'); } // ------------------------------------------------------------------------ public function turn_on($name) { $this->db->where('file_name', $name)->update('extend', array('active' => 1)); $this->session->set_flashdata('msg', 'Plugin "'.ucwords(str_replace('_', ' ', $name)).'" Activated'); $this->_updateCache(); redirect('admin/extend/view'); } // ------------------------------------------------------------------------ public function turn_off($name) { $this->db->where('file_name', $name)->update('extend', array('active' => 0)); $this->session->set_flashdata('msg', 'Plugin "'.ucwords(str_replace('_', ' ', $name)).'" Deactivated'); $this->_updateCache(); redirect('admin/extend/view'); } // ------------------------------------------------------------------------ private function _updateCache() { $extend_file_name = md5($this->config->config['encryption_key'].'extend'); $data = array(); $db1 = $this->db->get_where('extend', array('active' => 1)); foreach($db1->result() as $plugin) { $data[] = $plugin->file_name; } if(empty($data)) { @unlink(CACHEPATH . $extend_file_name); } else { $final = base64_encode(serialize($data)); file_put_contents(CACHEPATH . $extend_file_name, $final); } $this->load->library('remote_server_xml_rpc'); $this->remote_server_xml_rpc->update_cache(); } // ------------------------------------------------------------------------ private function _getInstalledPlugins() { if(is_array($this->installed)) { return $this->installed; } $this->installed = array(); $db1 = $this->db->get('extend'); foreach($db1->result() as $plugin) { $this->installed[] = $plugin->file_name; } return $this->installed; } // ------------------------------------------------------------------------ private function _getNotInstalledPlugins() { if(is_array($this->not_installed)) { return $this->not_installed; } $this->not_installed = array(); $dir = APPPATH."extend/"; // Open a known directory, and proceed to read its contents if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { if(is_dir($dir . $file) and $file != '.' and $file != '..' and $file != '.svn' and !in_array($file, $this->installed) ) { $this->not_installed[] = $file; } } closedir($dh); } } return $this->not_installed; } }LockerTest.php git://github.com/composer/composer.git | PHP | 291 lines
1<?php 2 130 131 $contentHash = md5(trim($jsonContent)); 132 188 ->method('read') 189 ->will($this->returnValue(array('hash' => md5($jsonContent)))); 190 219 ->method('read') 220 ->will($this->returnValue(array('hash' => md5($jsonContent . ' '), 'content-hash' => md5($jsonContent)))); 221 235 ->method('read') 236 ->will($this->returnValue(array('content-hash' => md5($jsonContent)))); 237 247 248 $differentHash = md5($this->getJsonContent(array('name' => 'test2'))); 249SilvercartNewsletter.php https://bitbucket.org/silvercart/silvercart/ | PHP | 244 lines
1<?php 2/** 232 public static function createConfirmationHash($salutation, $firstName, $surName, $email) { 233 $confirmationHash = md5( 234 mktime() .MemberCommAction.class.php http://iiccms.googlecode.com/svn/trunk/ | PHP | 76 lines
1<?php 2/** 31 if (! $this->sessionID) { 32 $this->sessionID = md5 ( uniqid ( rand () ) ); 33 Session::set ( 'sessionID', $this->sessionID );Webcall-index.html http://iiccms.googlecode.com/svn/trunk/ | HTML | 77 lines
28-?????????????????????????????????<font color="#FF0000">????</font>?<br /> 29 -????<a href="http://www.0594trade.com/forum.php?mod=forumdisplay&fid=69" target="_blank">http://www.0594trade.com/forum.php?mod=forumdisplay&fid=69</a><br /> 30 -??????<a href="http://www.365webcall.com/default.aspx?g=FJ_putian" target="_blank">http://www.365webcall.com/default.aspx?g=FJ_putian</a><br /> 46 <if condition="$email neq '' and $pwd neq ''"> 47 <a href="{:U('Webcall/opencall',array('email'=>$email,'accountid'=>$accountid,'pwd'=>$pwd,'name'=>$name))}">??????</a> <a href="http://p.365webcall.com/manage_index.aspx?accountid={$accountid2}&userid={$email2}&timeStamp=<?php echo date('YmdHi');?>&checkstring=<?php echo substr(md5("http://p.365webcall.com/manage_index.aspx?accountid=$accountid2&userid=$email2&timeStamp=".date('YmdHi').$pwd2),0,16);?>" target="_blank">????</a></if> <td> 48TagLibIic.class.php http://iiccms.googlecode.com/svn/trunk/ | PHP | 87 lines
1<?php 2 6 static $_iterateParseCache = array (); 7 $cacheIterateId = md5 ( $attr . $content ); 8 if (isset ( $_iterateParseCache [$cacheIterateId] )) 22 if (! empty ( $model )) { 23 $parseStr .= '<?php'; 24 $parseStr .= ' $condition = ' . $condition . ';'; 46 $parseStr .= $this->tpl->parse ( $content ); 47 $parseStr .= '<?php endforeach; endif; else: echo "' . $empty . '" ;endif; ?>'; 48 $_iterateParseCache [$cacheIterateId] = $parseStr; 56 static $_iterateParseCache = array (); 57 $cacheIterateId = md5 ( $attr . $content ); 58 if (isset ( $_iterateParseCache [$cacheIterateId] )) 67 if (! empty ( $model )) { 68 $parseStr .= '<?php'; 69 $parseStr .= ' $condition = ' . $condition . ';';fork_api.php git://github.com/forkcms/forkcms.git | PHP | 544 lines
1<?php 2 7 * 8 * The class is documented in the file itself. If you find any bugs help me out and report them. Reporting can be done by sending an email to php-fork-api-bugs[at]verkoyen[dot]eu. 9 * If you report a bug, make sure you give me enough information (include your code). 22 * 23 * @author Tijs Verkoyen <php-fork-api@verkoyen.eu> 24 * @version 1.0.1 125 $queryStringParameters['nonce'] = time(); 126 $queryStringParameters['secret'] = md5($publicKey . $privateKey . $queryStringParameters['nonce']); 127 } 129 // build URL 130 $url = self::API_URL .'/'. self::API_VERSION .'/rest.php?'. http_build_query($queryStringParameters, null, '&', PHP_QUERY_RFC3986); 131 147 // build querystring 148 $queryString = http_build_query(array('data' => json_encode($parameters)), null, '&', PHP_QUERY_RFC3986); 149callback.php git://github.com/joomla/joomla-platform.git | PHP | 209 lines
1<?php 2/** 28 * The callback definition can be in several forms: 29 * - Standard PHP Callback array see <http://php.net/callback> [recommended] 30 * - Function name as a string eg. 'foo' for function foo() 64 { 65 // We have a standard php callback array -- do nothing 66 } 77 * WILL! disappear in a future version. If you are using this syntax change your code to use the standard 78 * PHP callback array syntax: <http://php.net/callback> 79 * 193 * 194 * @return string MD5 Hash : function cache id 195 * 206 207 return md5(serialize(array($callback, $args))); 208 }manifest.php git://github.com/markjaquith/WordPress.git | PHP | 203 lines
1<?php 2 5 6require(ABSPATH . 'wp-includes/version.php'); 7 7 8$man_version = md5( $tinymce_version . $manifest_version ); 9$mce_ver = "ver=$tinymce_version"; 90 $mce = array( 91 array('../wp-includes/js/tinymce/wp-tinymce.php', $mce_ver), 92act_user.php http://phpwcms.googlecode.com/svn/trunk/ | PHP | 63 lines
15require_once ('../inc_lib/default.inc.php'); 16require_once (PHPWCMS_ROOT.'/include/inc_lib/dbcon.inc.php'); 17 17 18require_once (PHPWCMS_ROOT.'/include/inc_lib/general.inc.php'); 19checkLogin(); 19checkLogin(); 20require_once (PHPWCMS_ROOT.'/include/inc_lib/backend.functions.inc.php'); 21 42 if(is_valid_email($user_email)) { 43 @mail($user_email, "your account", "YOUR PHPWCMS ACCOUNT WAS DELETED\n \ncontact the admin if you have any question.\n\nSee you at ".$phpwcms["site"], "From: ".$phpwcms["admin_email"]."\nReply-To: ".$phpwcms["admin_email"]."\n"); 44 } 60 61headerRedirect(PHPWCMS_URL.'phpwcms.php?do=admin'); 62