100+ results results for 'php base64_encode repo:bryanveloso/sayonarane' (146 ms)
1<?php 2/* 96 97 parse_str(parse_url($location, PHP_URL_QUERY), $parameters); 98 $xml = $this->decodeSAMLAssertion($parameters['SAMLRequest']); 159 $response = $this->webClient->getResponse(); 160 parse_str(parse_url($response->getTargetUrl(), PHP_URL_QUERY), $parameters); 161 238 239 parse_str(parse_url($location, PHP_URL_QUERY), $parameters); 240 $xml = $this->decodeSAMLAssertion($parameters['SAMLRequest']); 322 { 323 return base64_encode($assertion); 324 }SIG.php git://github.com/s9y/Serendipity.git | PHP | 459 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 6 * 7 * PHP Version 5 8 * 44 * @copyright 2010 Mike Pultz <mike@mikepultz.com> 45 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 46 * @version SVN: $Id$ 46 * @version SVN: $Id$ 47 * @link http://pear.php.net/package/Net_DNS2 48 * @since File available since Release 0.6.0 102 * @author Mike Pultz <mike@mikepultz.com> 103 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 104 * @link http://pear.php.net/package/Net_DNS2 251 ); 252 $this->signature = base64_encode( 253 substr($this->rdata, 18 + ($sigoffset - $offset))inbox.php https://gitlab.com/JLHasson/Wordflow.git | PHP | 274 lines
157<!-- START THE PM FORM AND DISPLAY LIST --> 158<form name="myform" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data"> 159 <table width="94%" border="0" align="center" cellpadding="4"> 201 <td width="4%" valign="top"> 202 <input type="checkbox" name="cb<?php echo $row['id']; ?>" id="cb" value="<?php echo $row['id']; ?>" /> 203 </td> 203 </td> 204 <td width="20%" valign="top"><div class="message_name"><a href="profile.php?id=<?php echo $Sid; ?>"><?php echo $Fname.' '. $Lname ;?></a></div></td> 205 <td width="58%" valign="top"> 206 <span style="padding:3px;"> 207 <a class="<?php echo $textWeight; ?>" id="subj_line_<?php echo $row['id']; ?>" style="cursor:pointer;" onclick="markAsRead(<?php echo $row['id']; ?>)"><?php echo stripslashes($row['subject']); ?></a> 208 </span> 210 <?php echo stripslashes(wordwrap(nl2br($row['message']), 54, "\n", true)); ?> 211 <br /><br /><a href="javascript:toggleReplyBox('<?php echo stripslashes($row['subject']); ?>','<?php echo $my_name; ?>','<?php echo $my_id; ?>','<?php echo $fullName; ?>','<?php echo $fr_id; ?>','<?php echo $thisRandNum; ?>')">Reply</a><br /> 212 </div>authentication.php git://pkgs.fedoraproject.org/pgfouine | PHP | 219 lines
1<?php 2 /** 5 * @subpackage WebTester 6 * @version $Id: authentication.php,v 1.1 2005/11/09 23:41:18 gsmet Exp $ 7 */ 10 */ 11 require_once(dirname(__FILE__) . '/http.php'); 12 214 $request->addHeaderLine( 215 'Authorization: Basic ' . base64_encode("$username:$password")); 216 }mdl.passport.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 303 lines
1<?php 2require_once('plugin.php'); 126 } 127 return base64_encode($this->passport_key($tmp, $key)); 128 } 204 function setCookie($name,$value,$expire=false,$path=null){ 205 $cookiePath = substr(PHP_SELF, 0, strrpos(PHP_SELF, '/')).'/'; 206 $cookieLife = 3600;ServerTest.php https://bitbucket.org/RedSerenityDev/serenitybilling.git | PHP | 298 lines
1<?php 2 274 275 $k = base64_encode(json_encode($data)); 276 $url = 'http://www.box.local/licenses';class-wp-importer.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 311 lines
1<?php 2/** 194 if ( !empty( $username ) && !empty( $password ) ) 195 $headers['Authorization'] = 'Basic ' . base64_encode( "$username:$password" ); 196WsSecurityFilter.php https://bitbucket.org/wizzmedia/nexity-generateur.git | PHP | 240 lines
1<?php 2 106 $created = $usernameToken->getElementsByTagNameNS(Helper::NS_WSU, 'Created')->item(0); 107 $password = base64_encode(sha1(base64_decode($nonce->textContent) . $created->textContent . $password, true)); 108 }ArrowReportChartCtrl.php http://arrowplatform.googlecode.com/svn/trunk/ | PHP | 281 lines
1<?php 2ArrowController::importModel("org.arrowplatform.model.ArrowDataSource"); 29 $jsData = array( 30 //"criteria" => base64_encode( serialize($this->criteria) ), 31 "selectedFn" => $this->getProperty("selectedFn"),mail.php https://bitbucket.org/Antonnk/opencart22.git | PHP | 427 lines
90 $header .= 'To: <' . $to . '>' . PHP_EOL; 91 $header .= 'Subject: =?UTF-8?B?' . base64_encode($this->subject) . '?=' . PHP_EOL; 92 } 103 $header .= 'Return-Path: ' . $this->from . PHP_EOL; 104 $header .= 'X-Mailer: PHP/' . phpversion() . PHP_EOL; 105 $header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . PHP_EOL . PHP_EOL; 109 $message .= 'Content-Type: text/plain; charset="utf-8"' . PHP_EOL; 110 $message .= 'Content-Transfer-Encoding: 8bit' . PHP_EOL . PHP_EOL; 111 $message .= $this->text . PHP_EOL; 126 $message .= 'Content-Type: text/html; charset="utf-8"' . PHP_EOL; 127 $message .= 'Content-Transfer-Encoding: 8bit' . PHP_EOL . PHP_EOL; 128 $message .= $this->html . PHP_EOL; 144 $message .= 'Content-ID: <' . basename(urlencode($attachment)) . '>' . PHP_EOL; 145 $message .= 'X-Attachment-Id: ' . basename(urlencode($attachment)) . PHP_EOL . PHP_EOL; 146 $message .= chunk_split(base64_encode($content));lj.php http://goodgirl.googlecode.com/svn/ | PHP | 106 lines
1<?php /* `, 2 ,\, # 58 59 $params['subject'] = base64_encode($params['subject']); 60 $params['subject type'] = 'base64'; 60 $params['subject type'] = 'base64'; 61 $params['event'] = base64_encode($params['event']); 62 $params['event type'] = 'base64';smtp.php https://gitlab.com/binhduong/test.git | PHP | 268 lines
1<?php 2 101 function log() { 102 return str_replace("\n",PHP_EOL,$this->log); 103 } 167 $this->dialog('AUTH LOGIN'); 168 $this->dialog(base64_encode($this->user)); 169 $this->dialog(base64_encode($this->pw)); 219 $out.=chunk_split( 220 base64_encode(file_get_contents($attachment))).$eol; 221 }JWT.php https://bitbucket.org/OverSite/capstone-demo.git | PHP | 165 lines
1<?php 2 18 * @param bool $verify Don't skip verification process 19 * @return object The JWT's payload as a PHP object 20 * @throws \DomainException 50 /** 51 * @param object|array $payload PHP object or array 52 * @param string $key The secret key 110 /** 111 * @param object|array $input A PHP object or array 112 * @return string JSON representation of the PHP object or array 144 { 145 return str_replace('=', '', strtr(base64_encode($input), '+/', '-_')); 146 }cookie.test.php https://github.com/yisraeldov/iPhPhoto.git | PHP | 439 lines
9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 17 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 18 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 19 * @package cake 236 237 $this->Controller->Cookie->write(array('Encrytped_array' => array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' =>'CakePHP Rocks!'))); 238 $this->Controller->Cookie->write(array('Encrytped_multi_cookies.name' => 'CakePHP')); 401 $data = $this->Controller->Cookie->read('Plain_array'); 402 $expected = array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' =>'CakePHP Rocks!'); 403 $this->assertEqual($data, $expected); 405 $data = $this->Controller->Cookie->read('Plain_multi_cookies'); 406 $expected = array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' =>'CakePHP Rocks!'); 407 $this->assertEqual($data, $expected);TokenBasedRememberMeServicesTest.php https://gitlab.com/krlosnando/cenfo-crm.git | PHP | 280 lines
1<?php 2 23 24class TokenBasedRememberMeServicesTest extends \PHPUnit_Framework_TestCase 25{ 72 $request = new Request; 73 $request->cookies->set('foo', base64_encode('class:'.base64_encode('foouser').':123456789:fooHash')); 74nextend.php https://bitbucket.org/wallindev/wallindev-wp.git | PHP | 136 lines
1<?php 2 5 public static $version = '2.0.21'; 6 public static $api = 'https://secure.nextendweb.com/api/api.php'; 7 66 if ($data === false) { 67 N2Message::error(n2_('CURL disabled in your php.ini configuration. Please enable it!')); 68 100 101 N2Message::error(sprintf('Unexpected response from the API.<br>Please contact us (support@nextendweb.com) with the following log:') . '<br><textarea style="width: 100%;height:200px;font-size:8px;">' . base64_encode($data) . '</textarea>'); 102class-wp-importer.php git://github.com/wordpress/wordpress.git | PHP | 334 lines
1<?php 2/** 214 if ( ! empty( $username ) && ! empty( $password ) ) { 215 $headers['Authorization'] = 'Basic ' . base64_encode( "$username:$password" ); 216 }function.fetch.php git://github.com/modolabs/Kurogo-Mobile-Web.git | PHP | 216 lines
1<?php 2/** 14 * Purpose: fetch file, web or ftp data and display results 15 * @link http://smarty.php.net/manual/en/language.function.fetch.php {fetch} 16 * (Smarty online manual) 172 if(!empty($user) && !empty($pass)) { 173 fputs($fp, "Authorization: BASIC ".base64_encode("$user:$pass")."\r\n"); 174 }StreamTransport.php https://bitbucket.org/taaas/dizi.lh.git | PHP | 285 lines
1<?php 2/** 18/** 19 * HTTP transport class for using PHP streams. 20 * 134 { 135 $auth = base64_encode($config->get('proxy_user') . ':' . $config->get('proxy_pass')); 136 179 180 // Capture PHP errors 181 $php_errormsg = ''; 189 { 190 if (!$php_errormsg) 191 { 191 { 192 // Error but nothing from php? Create our own 193 $php_errormsg = sprintf('Could not connect to resource: %s', $uri, $err, $errno);findfile.act.php http://awarenet.googlecode.com/svn/trunk/ | PHP | 111 lines
2 3 require_once($kapenta->installPath . 'modules/sync/models/download.mod.php'); 4 34 $testUrl = $peer['serverurl'] . 'sync/hasfile/file_' 35 . base64_encode($model->filename) . '/'; 36 57 $getUrl = $peer['serverurl'] . 'sync/getfile/file_' 58 . base64_encode($model->filename) . '/'; 59SharedKeyLite.php https://code.google.com/p/celebrio/ | PHP | 163 lines
1<?php 2/** 30 * @copyright Copyright (c) 2009 - 2012, RealDolmen (http://www.realdolmen.com) 31 * @license http://phpazure.codeplex.com/license 32 * @version $Id: SharedKeyCredentials.php 14561 2009-05-07 08:05:12Z unknown $ 37 */ 38//require_once dirname(__FILE__) . '/../../AutoLoader.php'; 39 43 * @copyright Copyright (c) 2009 - 2012, RealDolmen (http://www.realdolmen.com) 44 * @license http://phpazure.codeplex.com/license 45 */ 89 if (!$forTableStorage) { 90 throw new Microsoft_WindowsAzure_Credentials_Exception('The Windows Azure SDK for PHP does not support SharedKeyLite authentication on blob or queue storage. Use SharedKey authentication instead.'); 91 } 121 $stringToSign = implode("\n", $stringToSign); 122 $signString = base64_encode(hash_hmac('sha256', $stringToSign, $this->_accountKey, true)); 123model.jfusionadmin.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 397 lines
1<?php 2 45 //serialize the $post to allow storage in a SQL field 46 $serialized = base64_encode(serialize($post)); 47 122 /** 123 * Parses phpinfo into an array 124 * @return array 130 phpinfo(); 131 $phpinfo = array('phpinfo' => array()); 132 if (preg_match_all('#(?:<h2>(?:<a name=".*?">)?(.*?)(?:</a>)?</h2>)|(?:<tr(?: class=".*?")?><t[hd](?: class=".*?")?>(.*?)\s*</t[hd]>(?:<t[hd](?: class=".*?")?>(.*?)\s*</t[hd]>(?:<t[hd](?: class=".*?")?>(.*?)\s*</t[hd]>)?)?</tr>)#s', ob_get_clean(), $matches, PREG_SET_ORDER)) { 136 } else if (isset($match[3])) { 137 $phpinfo[end(array_keys($phpinfo))][$match[2]] = isset($match[4]) ? array($match[3], $match[4]) : $match[3]; 138 } else { 138 } else { 139 $phpinfo[end(array_keys($phpinfo))][] = $match[2]; 140 }addNewsUser.php https://hg.codeplex.com/cp3046team06bj | PHP | 217 lines
26 if(in_array($values,$row_array)) { 27 $db->Get_admin_msg("addNewsUser.php",'??????'); 28 } else { 38 $db->insert('admin',$name,$values); 39 $db->Get_admin_msg("addNewsUser.php"); 40} 44 $db->query($sql); 45 $db->Get_admin_msg("addNewsUser.php","?????"); 46} 136 </tr> 137 <?php 138 //??????? 155 <td align="center"><?php echo $row[m_id];?></td> 156 <td align="center"><a href="editUser.php?edit=<?php echo $row[id] ?>">??</a>/<a href="addNewsUser.php?deleteid=<?php echo $row[id]?>">??</a></td> 157 </tr><?php } ?>vc-image-filters.php https://bitbucket.org/karimlm/ifb.tn.git | PHP | 364 lines
1<?php 2if ( ! defined( 'ABSPATH' ) ) { 99 100 require_once vc_path_dir( 'APP_ROOT', 'vendor/mmihey/PHP-Instagram-effects/src/Image/Filter.php' ); 101 $response = array( 223 224 require_once vc_path_dir( 'APP_ROOT', 'vendor/mmihey/PHP-Instagram-effects/src/Image/Filter.php' ); 225 285 286 $response['data']['src'] = 'data:image/' . $extension . ';base64,' . base64_encode( $data ); 287Embed.php git://github.com/anthonyshort/Scaffold.git | PHP | 95 lines
1<?php 2/** 10 * @copyright 2009-2010 Anthony Short. All rights reserved. 11 * @license http://opensource.org/licenses/bsd-license.php New BSD License 12 * @link https://github.com/anthonyshort/csscaffold/master 61 { 62 $data = base64_encode(file_get_contents($path)); 63 $scaffold->cache->set($id,$data,$mod_time,false);ws.php git://github.com/bcosca/fatfree.git | PHP | 487 lines
1<?php 2 113 $buf.='Sec-WebSocket-Accept: '. 114 base64_encode( 115 sha1($hdrs['Sec-Websocket-Key'].WS::Magic,TRUE)compile_service_8php_source.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 182 lines
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5<title>openbiz: E:/E/GEAMP/www/openbiz/openbiz/bin/service/compileService.php Source File</title> 6<link href="tabs.css" rel="stylesheet" type="text/css"/> 27 <div class="headertitle"> 28<h1>E:/E/GEAMP/www/openbiz/openbiz/bin/service/compileService.php</h1> </div> 29</div> 30<div class="contents"> 31<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <?php 32<a name="l00002"></a>00002 <span class="comment">/*</span> 34<a name="l00004"></a>00004 <span class="comment">usage sample:</span> 35<a name="l00005"></a>00005 <span class="comment">include_once 'bin/app_init.php';</span> 36<a name="l00006"></a>00006 <span class="comment">$svcobj = BizSystem::getObject('service.compileService');</span> 86<a name="l00056"></a>00056 <span class="keyword">public</span> function encode($str,$key){ 87<a name="l00057"></a>00057 <span class="keywordflow">return</span> base64_encode(base64_encode($str)); 88<a name="l00058"></a>00058 }helper.php https://bitbucket.org/joomla/joomla-platform/ | PHP | 530 lines
1<?php 2/** 306 case 'sha' : 307 $encrypted = base64_encode(mhash(MHASH_SHA1, $plaintext)); 308 return ($show_encrypt) ? '{SHA}'.$encrypted : $encrypted; 316 case 'md5-base64' : 317 $encrypted = base64_encode(mhash(MHASH_MD5, $plaintext)); 318 return ($show_encrypt) ? '{MD5}'.$encrypted : $encrypted; 320 case 'ssha' : 321 $encrypted = base64_encode(mhash(MHASH_SHA1, $plaintext.$salt).$salt); 322 return ($show_encrypt) ? '{SSHA}'.$encrypted : $encrypted; 324 case 'smd5' : 325 $encrypted = base64_encode(mhash(MHASH_MD5, $plaintext.$salt).$salt); 326 return ($show_encrypt) ? '{SMD5}'.$encrypted : $encrypted; 476 $stat = @stat(__FILE__); 477 if (empty($stat) || !is_array($stat)) $stat = array(php_uname()); 478SpotSigning.php git://github.com/spotweb/spotweb.git | PHP | 249 lines
1<?php 2require_once "Crypt/RSA.php"; 55 56 # We hebben deze code geconfigureerd uit Crypt/RSA.php omdat 57 # we anders de configuratie parameter niet mee kunnen geven aan 96 if (empty($privatekey)) { 97 throw new Exception("Given privatekey is invalid, please correct (eg: run upgrade-db.php when testinstall.php is without errors)"); 98 } # if 108 return array('signature' => base64_encode($signature), 109 'publickey' => array('modulo' => base64_encode($publickey['n']->toBytes()), 'exponent' => base64_encode($publickey['e']->toBytes())), 110 'message' => $message); 123 124 return array('publickey' => array('modulo' => base64_encode($publicKey['n']->toBytes()), 'exponent' => base64_encode($publicKey['e']->toBytes()))); 125 } # getPublicKey 244 245 return str_replace(array('/', '+', '='), '', base64_encode($userIdTmp)); 246 } # calculateSpotterIdquestionnaire.php https://github.com/bantu/phpbb.git | PHP | 502 lines
5* 6* @copyright (c) phpBB Limited <https://www.phpbb.com> 7* @license GNU General Public License, version 2 (GPL-2.0) 94*/ 95class phpbb_questionnaire_php_data_provider 96{ 258 { 259 global $phpbb_config_php_file; 260 260 261 extract($phpbb_config_php_file->get_all()); 262 unset($dbhost, $dbport, $dbname, $dbuser, $dbpasswd); // Just a precaution 263 264 $dbms = $phpbb_config_php_file->convert_30_dbms_to_31($dbms); 265loadtabfiles.php https://gitlab.com/oslc-cm-server/olbergers-ff5-oslc.git | PHP | 185 lines
139<td> 140 <a href="editdouble.php?function=show&lang=<?php echo "$language_id"; ?>">[edit]</a> 141</td> 150<td> 151 <a href="seenotinbasetabfiles.php?function=show&lang=<?php echo "$language_id"; ?>"> 152 <? if ($rate2!=0) echo "[see]";?></a> 152 <? if ($rate2!=0) echo "[see]";?></a> 153 <a href="editnotinbasetabfiles.php?function=show&lang=<?php echo "$language_id"; ?>"> 154 <? if ($rate2!=0) echo "[edit]";?></a> 156<td> 157 <a href="seetabfiles.php?function=show&lang=<?php echo "$language_id"; ?>">[see]</a> 158 <a href="edittabfiles.php?function=show&lang=<?php echo "$language_id"; ?>">[edit]</a> 158 <a href="edittabfiles.php?function=show&lang=<?php echo "$language_id"; ?>">[edit]</a> 159 <a href="gettabfiles.php?function=show&lang=<?php echo "$language_id"; ?>">[get]</a> 160</td>SharedKeyLite.php https://PHPAzure.svn.codeplex.com/svn | PHP | 163 lines
1<?php 2/** 30 * @copyright Copyright (c) 2009 - 2012, RealDolmen (http://www.realdolmen.com) 31 * @license http://phpazure.codeplex.com/license 32 * @version $Id: SharedKeyCredentials.php 14561 2009-05-07 08:05:12Z unknown $ 37 */ 38require_once dirname(__FILE__) . '/../../AutoLoader.php'; 39 43 * @copyright Copyright (c) 2009 - 2012, RealDolmen (http://www.realdolmen.com) 44 * @license http://phpazure.codeplex.com/license 45 */ 89 if (!$forTableStorage) { 90 throw new Microsoft_WindowsAzure_Credentials_Exception('The Windows Azure SDK for PHP does not support SharedKeyLite authentication on blob or queue storage. Use SharedKey authentication instead.'); 91 } 121 $stringToSign = implode("\n", $stringToSign); 122 $signString = base64_encode(hash_hmac('sha256', $stringToSign, $this->_accountKey, true)); 12306_historial.php https://bitbucket.org/webdev_pe/dmejiasoft.git | PHP | 186 lines
1<?php 2require("../../poo/clases/getConection.php"); 19where c.id_zon=z.id_zon and c.id_gal=g.id_gal ".$add_search." order by id_cli desc"; 20$cn->ejecutar_sql(base64_encode($sql)); 21$cn->cantidad_sql(); 29 "bServerSide": true, 30 "sAjaxSource": "content/scripts/propiedades.php",*/ 31 'bJQueryUI': true, 81 var new_tab=window.open("","_blank"); 82 new_tab.location="sicpri/03_clientes/reporte.php?s="+s; 83 }); 85 function editar(i){ 86 $.post("sicpri/03_clientes/02_modificar.php",{i:i},function(data){ 87 $("#contenido_sicpri").html(data); 91 function verificar(i){ 92 $.post("sicpri/03_clientes/02_modificar.php",{i:i,v:"v"},function(data){ 93 $("#contenido_sicpri").html(data);class-disqus-public.php https://bitbucket.org/srimegha/webgurukul.git | PHP | 311 lines
1<?php 2/** 64 } 65 $payload_user = base64_encode( json_encode( $payload_user ) ); 66 $time = time(); 98 $user = wp_get_current_user(); 99 $login_redirect = get_admin_url( null, 'profile.php?opener=dsq-sso-login' ); 100 $embed_vars['disqusConfig']['sso'] = array( 189 190 return plugin_dir_path( dirname( __FILE__ ) ) . 'public/partials/disqus-public-display.php'; 191 } 201 public function dsq_close_window_template() { 202 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/partials/disqus-public-sso-login-profile.php'; 203 }userlist.php http://avecms.googlecode.com/svn/trunk/ | PHP | 138 lines
1<?php 2 80$Link_PostSort = (isset($_REQUEST['orderby']) && $_REQUEST['orderby'] == 'posts_asc') 81 ? "index.php?module=forums&show=userlist&orderby=posts_desc{$f_page}" 82 : "index.php?module=forums&show=userlist&orderby=posts_asc{$f_page}"; 83$Link_RegSort = (isset($_REQUEST['orderby']) && $_REQUEST['orderby'] == 'reg_asc') 84 ? "index.php?module=forums&show=userlist&orderby=reg_desc{$f_page}" 85 : "index.php?module=forums&show=userlist&orderby=reg_asc{$f_page}"; 86$Link_NameSort = (isset($_REQUEST['orderby']) && $_REQUEST['orderby'] == 'name_asc') 87 ? "index.php?module=forums&show=userlist&orderby=name_desc{$f_page}" 88 : "index.php?module=forums&show=userlist&orderby=name_asc{$f_page}"; 107 $row->UserPN = ($row->Pnempfang==1) 108 ? 'index.php?module=forums&show=pn&action=new&to=' . base64_encode($row->BenutzerName) 109 : ''; 110 $row->UserLink = ($row->ZeigeProfil==1) 111 ? "<a class=\"forum_links\" href=\"index.php?module=forums&show=userprofile&user_id={$row->BenutzerId}\">{$row->BenutzerName}</a>" 112 : "$row->BenutzerName";cert.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 320 lines
1<?php 2 4// 5// Filename : cert.php 6// Version : 1.0 10// 11// Usage : cert.php?foaf=http://foaf.me/jsmith& 12// commonName=J Smith& 23// See Also : Using PHP to create self-signed X.509 Client Certificates 24// http://foaf.me/Using_PHP_to_create_X.509_Client_Certificates.php 25// 284 285 print "Please specify the location of your foaf file. <a href='https://foaf.me/cert.php?" . $query . "'>https://foaf.me/cert.php?foaf=</a><font color='red'><b>http://foaf.me/nickname</b></font><br><br>The FOAF location is added to the SubjectAltName within the SSL Client Certificate<br>"; 286 292{ 293 print "Please use the following secure uri to download the Identity P12. <a href='https://foaf.me/cert.php?" . $_SERVER[QUERY_STRING] . "'>https://foaf.me/cert.php?" . $_SERVER[QUERY_STRING] . "</a><br>"; 294timezone.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 132 lines
1<?php 2/** 71 define( 'NV_CLIENT_TIMEZONE_DST', $matches2[1] != $matches2[2] ? 1 : 0 ); 72 $client_timezone_name = base64_encode( NV_CLIENT_TIMEZONE_NAME . '.' . NV_CLIENT_TIMEZONE_OFFSET . '.' . NV_CLIENT_TIMEZONE_DST ); 73 setcookie( $global_config['cookie_prefix'] . '_cltn', $client_timezone_name, 0, $matches2[4], '', 0 );gmailoauth.php git://github.com/petewarden/handmadeimap.git | PHP | 174 lines
1<?php 2/* 9/* Load OAuth lib. You can find it at http://oauth.net */ 10require_once('oauth.php'); 11 141 142 $result = base64_encode($clientrequest); 143TemperatureComponent.php https://bitbucket.org/gndiot/gnd-iot.git | PHP | 411 lines
1<?php 2 53 54 return base64_encode($this->hexToStr($hex)); 55 }cpanel.share.php https://github.com/gcao/bbs.git | PHP | 285 lines
1<?php 2 6 7$Id: cpanel.share.php 20964 2009-11-04 03:18:22Z zhaoxiongfei $ 8*/ 63 //clearcookies(); 64 showmessage('admin_cpanel_noaccess', 'logging.php?action=login', 'HALTED'); 65 } elseif($cpaccess == 2) { 162 $timestamp = time(); 163 $storage = !empty($this->storage) ? base64_encode((serialize($this->storage))) : ''; 164 $this->db->query("UPDATE {$this->tablepre}adminsessions SET dateline='$timestamp', errorcount='{$this->errorcount}', storage='{$storage}'DepositItemsCommand.php https://gitlab.com/Bookie.GG/web.git | PHP | 96 lines
1<?php 2/** 4 * 5 * PHP version 5.6 6 * 86 87 $base64_data = base64_encode($json_data); 88cookie.test.php git://github.com/klevo/wildflower.git | PHP | 438 lines
9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 18 * @package cake 235 236 $this->Controller->Cookie->write(array('Encrytped_array' => array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' =>'CakePHP Rocks!'))); 237 $this->Controller->Cookie->write(array('Encrytped_multi_cookies.name' => 'CakePHP')); 400 $data = $this->Controller->Cookie->read('Plain_array'); 401 $expected = array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' =>'CakePHP Rocks!'); 402 $this->assertEqual($data, $expected); 404 $data = $this->Controller->Cookie->read('Plain_multi_cookies'); 405 $expected = array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' =>'CakePHP Rocks!'); 406 $this->assertEqual($data, $expected);mdl.email.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 248 lines
1<?PHP 2class mdl_email{ 59 60 $body = chunk_split(base64_encode($body)); 61 $header = $this->buildHeader($header); 85 $str = trim($str); 86 return $str?'=?UTF-8?B?'.base64_encode($str).'?= ':''; 87 } 126 /** 127 * Sends mail using the PHP mail() function. 128 * @access private 157 /** 158 * Sends mail via SMTP using PhpSMTP (Author: 159 * Chris Ryan). Returns bool. Returns false if there is aindex.php http://eboda-hd-for-all-500.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/*------------------------- 9include_once "../../util/VideoUtil.php"; 10include_once "../../util/RssScriptUtil.php"; 11include_once '../../action/Action.php'; 11include_once '../../action/Action.php'; 12include_once '../../action/rss/SaveBookmarkAction.php'; 13include_once '../../action/rss/DeleteBookmarkAction.php'; 56 "", 57 SCRAPER_URL . "index.php?type=" . base64_encode($link[1]) . URL_AMP . "title=" . base64_encode($link[2]), 58 "" 79 resourceString("goto_page") . $i, 80 SCRAPER_URL . "index.php?type=" . base64_encode($type) . URL_AMP . "page=" . $i . URL_AMP . "pages=" . $maxPages, 81 "" 110 "", 111 SCRAPER_URL . "index.php?item=" . base64_encode($value[2]) . URL_AMP . "title=" . base64_encode($value[3]) . URL_AMP . "image=" . base64_encode($image) . URL_AMP . "PHPSESID=" . session_id(), 112 $imageWebhookTesting.php https://bitbucket.org/awylie199/s5t.git | PHP | 391 lines
1<?php 2namespace Braintree; 7 { 8 $payload = base64_encode(self::_sampleXml($kind, $id)) . "\n"; 9 $signature = Configuration::publicKey() . "|" . Digest::hexDigestSha1(Configuration::privateKey(), $payload);Security.class.php https://bitbucket.org/raphael_arthur/server_inovatech.git | PHP | 173 lines
1<?php 2 /* 45 $encrypted_data = openssl_encrypt($data, 'AES-256-CBC', $eKey, true, $iv); 46 return base64_encode($salt . $encrypted_data); 47 } 56 //$key = openssl_random_pseudo_bytes(32); 57 //Can't use this in PHP versions below 5.4 58 //$key = password_hash($key, PASSWORD_DEFAULT); 133 134 /*------------------------------------- PHP 5.3 VERSION ONLY ---------------------------- 135 -------------------------------------- DO NOT USE THIS IN PRODUCTION -------------class.AmazonSQS.php http://scalr.googlecode.com/svn/ | PHP | 165 lines
1<?php 2 30 { 31 return base64_encode(@hash_hmac(AmazonCloudFront::HASH_ALGO, implode("\n", $params), $this->AWSAccessKey, 1)); 32 } 112 { 113 $response = $this->Request("GET", "/{$queue_name}", array("Action" => "SendMessage", "MessageBody" => base64_encode($message))); 114 return $response->SendMessageResult->MessageId;mdl.email.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 244 lines
1<?PHP 2class mdl_email{ 60 61 $body = chunk_split(base64_encode($body)); 62 $header = $this->buildHeader($header); 84 $str = trim($str); 85 return $str?'=?UTF-8?B?'.base64_encode($str).'?= ':''; 86 } 125 /** 126 * Sends mail using the PHP mail() function. 127 * @access private 154 /** 155 * Sends mail via SMTP using PhpSMTP (Author: 156 * Chris Ryan). Returns bool. Returns false if there is aUtils.php https://bitbucket.org/teamloerchner/cabinscape.git | PHP | 133 lines
1<?php 2/* 25 { 26 $b64 = base64_encode($data); 27 $b64 = str_replace( 54 * @link http://solarphp.com/ 55 * @link http://svn.solarphp.com/core/trunk/Solar/Json.php 56 * @link http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Json/Decoder.phpSerialized.php https://PHPExcel.svn.codeplex.com/svn | PHP | 187 lines
71 // Assign PHPExcel 72 $this->setPHPExcel($pPHPExcel); 73 } 101 102 // Add phpexcel.xml to the document, which represents a PHP serialized PHPExcel object 103 $objZip->addFromString('phpexcel.xml', $this->_writeSerialized($this->_spreadSheet, $pFilename)); 130 * 131 * @param PHPExcel $pPHPExcel PHPExcel object 132 * @throws Exception 133 */ 134 public function setPHPExcel(PHPExcel $pPHPExcel = null) { 135 $this->_spreadSheet = $pPHPExcel; 173 // Comment 174 $objWriter->writeComment('This file has been generated using PHPExcel v##VERSION## (http://www.codeplex.com/PHPExcel). It contains a base64 encoded serialized version of the PHPExcel internal object.'); 175fans.ctrl.php https://gitlab.com/llqbaimao/o2o.git | PHP | 346 lines
1<?php 2/** 65 $record['tag'] = iserializer($fan); 66 $record['tag'] = base64_encode($record['tag']); 67 pdo_update('mc_mapping_fans', $record, array('fanid' => $row['fanid'])); 285 $record['tag'] = iserializer($fan); 286 $record['tag'] = base64_encode($record['tag']); 287 pdo_update('mc_mapping_fans', $record, array('fanid' => $row['fanid']));ps_cyberlib.inc http://phpshop.googlecode.com/svn/trunk/ | PHP | 216 lines
1<?php 2 6 * * 7 * PHP Cybercash API - This requires that CyberCash support be * 8 * compiled. * 10 * * 11 * This is an attempt to duplicate the cybercash API for PHP * 12 * users. * 69 $enc_msg=cybercash_encr($merchant_key,$session_key,$pairs); 70 $pairs=cybercash_base64_encode($enc_msg["outbuff"]); 71 $mac=cybercash_base64_encode($enc_msg["macbuff"]);08_reportes_hoy.php https://bitbucket.org/webdev_pe/dmejiasoft.git | PHP | 200 lines
1<?php 2require("../../poo/clases/getConection.php"); 43"; 44$cn->ejecutar_sql(base64_encode($sql)); 45$cn->cantidad_sql(); 53 "bServerSide": true, 54 "sAjaxSource": "content/scripts/propiedades.php",*/ 55 'bJQueryUI': true, 87 var new_tab=window.open("","_blank"); 88 <?php 89$cod=$_POST['cod']; $cdc=$_POST['cdc']; $nom=$_POST['nom']; 93 ?> 94 new_tab.location="sicpri/01_cobranzas/reporte.php?s="+s+"&cp=<?=base64_encode($cod)?>&cc=<?=base64_encode($cdc)?>&nc=<?=base64_encode($nom)?>&fd=<?=base64_encode($dsd)?>&fh=<?=base64_encode($hst)?>&tp=<?=base64_encode($tip)?>&op=<?=base64_encode($otx)?>&zn=<?=base64_encode($ztx)?>&gl=<?=base64_encode($gtx)?>"; 95 }); 102 <input type="hidden" id="i" value="" /> 103 <input type="hidden" id="s" value="<?=base64_encode(utf8_encode($sql))?>" /> 104 <button id="rept" class="btn"><span class="ui-icon ui-icon-clipboard"></span>Generar previo de resultados</button>SP_Auth.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 148 lines
1<?php 2 144 } else { 145 return str_replace ( '=', '', base64_encode ( $result ) ); 146 }oauth.php https://bitbucket.org/jamierumbelow/codeigniter-oauth/ | PHP | 225 lines
1<?php 2/** 4 * 5 * Requires the PHP cURL extension and the MY_Input hack (for CI apps), 6 * which is included in Flame 177 $str = hash_hmac('sha1', $base_string, $key, TRUE); 178 $str = base64_encode($str); 179 return rawurlencode($str);instances_view.php http://scalr.googlecode.com/svn/ | PHP | 198 lines
1<? 2 require("src/prepend.inc.php"); 3 $display['load_extjs'] = true; 14 $errmsg = _("Farm not found"); 15 UI::Redirect("farms_view.php"); 16 } 24 $errmsg = _("Requested page cannot be viewed from admin account"); 25 UI::Redirect("index.php"); 26 } 34 if ($post_cancel) 35 UI::Redirect("instances_view.php?farmid={$farminfo['id']}"); 36 58 "port" => $ssh_port, 59 "key" => base64_encode($DBFarm->GetSetting(DBFarm::SETTING_AWS_PRIVATE_KEY)) 60 )subscribe2.php https://gitlab.com/kukla21305/fhq.git | PHP | 143 lines
7$this->SmtpServer = $SmtpServer; 8$this->SmtpUser = base64_encode ($SmtpUser); 9$this->SmtpPass = base64_encode ($SmtpPass); 55 56require_once "config.php"; 57 107 { 108 $username = base64_encode($email); 109 $password = substr(md5(rand().rand()), 0, 7);Guest.php https://gitlab.com/DEVLINE/magento2.git | PHP | 238 lines
1<?php 2/** 12 * Sales module base helper 13 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 14 */ 83 * 84 * @SuppressWarnings(PHPMD.ExcessiveParameterList) 85 */ 123 * 124 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 125 * @SuppressWarnings(PHPMD.NPathComplexity) 172 if (!$errors) { 173 $toCookie = base64_encode($order->getProtectCode() . ':' . $incrementId); 174 $this->setGuestViewCookie($toCookie);PBKDF.php git://github.com/ircmaxell/PHP-PasswordLib.git | PHP | 166 lines
1<?php 2/** 6 * 7 * PHP version 5.3 8 * 9 * @see http://httpd.apache.org/docs/2.2/misc/password_encryptions.html 10 * @category PHPPasswordLib 11 * @package Password 29 * 30 * PHP version 5.3 31 * 32 * @see http://httpd.apache.org/docs/2.2/misc/password_encryptions.html 33 * @category PHPPasswordLib 34 * @package Password 162 $sig = '$pbkdf$' . $sig . '$' . $iterations . '$' . $size; 163 return $sig . '$' . base64_encode($salt) . '$' . base64_encode($bit); 164 }smtp_old.php http://mootoolstools.googlecode.com/svn/trunk/ | PHP | 338 lines
2/*********************************** 3PHP MIME?SMTP ver 1.0 Powered by Boss_ch? Unigenius soft ware co. Ltd 4All rights reserved, Copyright 2000 ; 96 if (empty($to_name)) $to_name=$to_mail; 97 $this->subject="From: =".$this->charset.base64_encode($from_name)."=<".$from_mail.">\r\n"; 98 $this->subject.="To: =".$this->charset.base64_encode($to_name)."=<".$to_mail.">\r\n"; 99 $subject=ereg_replace("\n","",$subject); 100 $this->subject.="Subject: =".$this->charset.base64_encode($subject)."?=\r\n"; 101 if ($this->debug) echo nl2br(htmlspecialchars($this->subject)); 181 $this->body.="Content-Transfer-Encoding: base64\r\n"; 182 $this->body.="\r\n".chunk_split(base64_encode(StripSlashes($text_body)))."\r\n"; 183 $this->body.="--".$this->bound_begin.$bound_level.$this->bound_end."\r\n"; 186 $this->body.="Content-Transfer-Encoding: base64\r\n"; 187 $this->body.="\r\n".chunk_split(base64_encode(StripSlashes($this->temp_html_body)))."\r\n"; 188 $this->body.="--".$this->bound_begin.$bound_level.$this->bound_end."--\r\n\r\n";sales1.php https://bitbucket.org/eco_shivrajd/chetrans-uat-new.git | PHP | 252 lines
1<!-- BEGIN HEADER --> 2<?php include "../includes/header.php"; 3include "../includes/userManage.php"; 70 </div> 71 <a href="updatepassword.php?id=<?php echo base64_encode($_GET['id']);?>" class="btn btn-sm btn-default pull-right mt5"> 72 Change Password 105 106 <?php $page_to_update = 'sales_person'; include "userUpdateCommEle.php"; //form common element file with javascript validation ?> 107 <div class="form-group"> 222 </p> 223 <center><a href="sales_delete.php?id=<?php echo $row1['id']?>" ><button type="button" class="btn btn-success">Yes</button></a> 224 <button type="button" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">No</button> 244<!-- BEGIN FOOTER --> 245<?php include "../includes/footer.php"?> 246<!-- END FOOTER -->smtp.php http://timoseven.googlecode.com/svn/trunk/ | PHP | 482 lines
1<?php 2class smtp 94 95$header .= "X-Mailer:By Redhat (PHP/".phpversion().")\r\n"; 96 172 173if (!$this->smtp_putcmd("AUTH LOGIN", base64_encode($this->user))) { 174 178 179if (!$this->smtp_putcmd("", base64_encode($this->pass))) { 180class.tracks-client.php https://bitbucket.org/spirulineteam/spiruline.git | PHP | 191 lines
1<?php 2 9 * Example Usage: 10```php 11 require( dirname(__FILE__).'path/to/tracks/class.tracks-client' ); 40 41require_once( dirname(__FILE__).'/class.tracks-client.php' ); 42 44 const PIXEL = 'https://pixel.wp.com/t.gif'; 45 const BROWSER_TYPE = 'php-agent'; 46 const USER_AGENT_SLUG = 'tracks-client'; 161 162 $anon_id = 'jetpack:' . base64_encode( $binary ); 163RouteCacheCommand.php https://bitbucket.org/Temesky/resource-management-system-backend.git | PHP | 98 lines
1<?php 2 78 { 79 $app = require $this->laravel->bootstrapPath().'/app.php'; 80 95 96 return str_replace('{{routes}}', base64_encode(serialize($routes)), $stub); 97 }ForgotPasswordController.php https://bitbucket.org/coredeveloper2013/navipi-test.git | PHP | 113 lines
1<?php 2 36 { 37 $enc_user = base64_encode($user->id.'####'.$user->email); 38 $reset_pass_link = url('reset-password/'.$enc_user);02_modificar.php https://bitbucket.org/webdev_pe/dmejiasoft.git | PHP | 128 lines
1<?php 2require("../../poo/clases/getConection.php"); 8 $sql="select id_gal, id_zon, cod_gal, nom_gal, dir_gal from si_galerias where id_gal=".$id; 9 $cn->ejecutar_sql(base64_encode($sql)); 10 $cel=$cn->resultado_sql(); 12 $sql="select id_gal, id_zon, cod_gal, nom_gal, dir_gal from si_galerias where cod_gal='".$cod."'"; 13 $cn->ejecutar_sql(base64_encode($sql)); 14 $cel=$cn->resultado_sql(); 19 $("#cod_gal").autocomplete({ 20 source: "sicpri/05_galerias/_buscar_codigo.php", 21 minLength: 2/*, select: function(event,ui){ $("#id_con").val(ui.item.id); }*/ 22 }); 23 $("#zona").load("sicpri/funciones/getZonas.php",{i:"<?=$cel['id_zon']?>"},function(data){ $(this).selectmenu(); }); 24 $("#edit").click(function(){ 33 else{ 34 $.post("sicpri/05_galerias/dao.php",{opt:"u", i:i, nom:nom, dir:dir, zon:zon},function(data){ 35 if(data==1){UnicreditController.php https://bitbucket.org/vamosimilano/webshop.git | PHP | 204 lines
1<?php 2 144 public function paymentcancel() { 145 $trans_id = base64_encode(Input::get('orderID')); 146 $log = Payment::where('order_ref', $trans_id) 165 public function paymentaccept() { 166 $trans_id = base64_encode(Input::get('orderID')); 167 $log = Payment::where('order_ref', $trans_id)function.fetch.php git://github.com/modxcms/revolution.git | PHP | 204 lines
1<?php 2/** 13 * 14 * @link http://www.smarty.net/manual/en/language.function.fetch.php {fetch} 15 * (Smarty online manual) 39 if ($protocol) { 40 // remote resource (or php stream, …) 41 if (!$template->smarty->security_policy->isTrustedUri($params[ 'file' ])) { 175 if (!empty($user) && !empty($pass)) { 176 fputs($fp, 'Authorization: BASIC ' . base64_encode("$user:$pass") . "\r\n"); 177 }FileAdapter.php https://bitbucket.org/stouty/vagrants.git | PHP | 352 lines
1<?php 2 42 * @param string $input pug input 43 * @param callable $rendered method to compile the source into PHP 44 * @param bool $success 77 * @param string $input pug input 78 * @param callable $rendered method to compile the source into PHP 79 * @param array $variables local variables 190 191 protected function getCompiledFile($php) 192 { 193 $this->renderingFile = $this->createTemporaryFile(); 194 file_put_contents($this->renderingFile, $php); 195 198 199 public function display($__pug_php, array $__pug_parameters) 200 {OauthPlugin.php https://bitbucket.org/yerdna/wp-dospaces.git | PHP | 241 lines
1<?php 2 108 $key = urlencode($this->config['consumer_secret']) . '&' . urlencode($this->config['token_secret']); 109 return base64_encode(call_user_func($this->config['signature_callback'], $string, $key)); 110 }admin_image_gallery_upload.php https://bitbucket.org/sbadase/mca_project.git | PHP | 194 lines
1<?php require_once('header.php'); 2if(isset($_GET['msg']) && !empty($_GET['msg'])){ 4 <script> 5 alert("<?php echo $_GET['msg'] ?>"); 6 </script> 6 </script> 7 <?php 8 40 //Upload the file on the server 41 $newFileName= rtrim(base64_encode(md5(microtime())),"=").$_FILES['file']['name']; 42 51 </script> 52 <?php 53 header('Location: admin_image_gallery_grid.php?msg=Invalid File Upload Event,Event Not Registered,Please Try again'); 128</div> 129<?php require_once('footer.php'); ?> 130<style>html { font-size: 14px; font-family: Arial, Helvetica, sans-serif; }</style>AdminController.php https://bitbucket.org/wmstudio-back-end/laravel-skeleton.git | PHP | 290 lines
1<?php 2 43 CURLOPT_HTTPHEADER => array( 44 "authorization: Basic " . base64_encode($yaSettings['yandex_oauth_id']->value . ':' . $yaSettings['yandex_oauth_secret']->value), 45 "cache-control: no-cache",icon.php https://bitbucket.org/rippleau/nrm-org-au.git | PHP | 89 lines
1<?php 2/** 31 $uri = JUri::getInstance(); 32 $url = JRoute::_(WeblinksHelperRoute::getFormRoute(0, base64_encode($uri))); 33 $text = JHtml::_('image', 'system/new.png', JText::_('JNEW'), null, true); 63 64 $url = WeblinksHelperRoute::getFormRoute($weblink->id, base64_encode($uri)); 65 $icon = $weblink->state ? 'edit.png' : 'edit_unpublished.png';Email.php https://github.com/ivan1986/quickfw.git | PHP | 320 lines
1<?php 2/** 191 $headers.='Date: '.date('r')."\r\n"; 192 $headers.="X-Mailer: php script\r\n"; 193 $headers.="MIME-Version: 1.0\r\n"; 246 $message.=" filename=\"".$name."\"\r\n\r\n"; 247 $message.=chunk_split(base64_encode($file['data'])); 248 } 289 $message.=" filename=\"".$name."\"\r\n\r\n"; 290 $message.=chunk_split(base64_encode($file['data'])); 291 }summarylist.fn.php http://awarenet.googlecode.com/svn/trunk/ | PHP | 58 lines
2 3 require_once($kapenta->installPath . 'modules/announcements/models/announcement.mod.php'); 4 33 $range = $db->loadRange('announcements_announcement', '*', '', 'createdOn', $num, $start); 34 $block = $theme->loadBlock('modules/announcements/views/summary.block.php'); 35 40 //$labels = $model->extArray(); 41 //$labels['rawblock64'] = base64_encode($rawBlock); 42 //$html .= $theme->replaceLabels($labels, $block); 45 $UID = $kapenta->createUID(); 46 $rawblock64 = base64_encode($args['rawblock']); 47 $html = "<div id='blockAnnouncementsSL" . $UID . "'>\n"sales1.php https://bitbucket.org/eco_shivrajd/uat_new_all.git | PHP | 323 lines
1<!-- BEGIN HEADER --> 2<?php include "../includes/header.php"; 3include "../includes/userManage.php"; 64 </div> 65 <a href="updatepassword.php?id=<?php echo base64_encode($_GET['id']);?>" class="btn btn-sm btn-default pull-right mt5"> 66 Change Password 153 154 <?php $page_to_update = 'sales_person'; include "userUpdateCommEle.php"; //form common element file with javascript validation ?> 155 273 </p> 274 <center><a href="sales_delete.php?id=<?php echo $row1['id']?>" ><button type="button" class="btn btn-success">Yes</button></a> 275 <button type="button" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">No</button> 295<!-- BEGIN FOOTER --> 296<?php include "../includes/footer.php"?> 297<!-- END FOOTER -->phphgadmin.php https://bitbucket.org/joshjcarrier/phphgadmin/ | PHP | 301 lines
1<?php 2/** 12 */ 13class phpHgAdmin 14{ 63 { 64 return HGPHP_ERR_PERM_USR; 65 } 105 { 106 $hgrepos[$repo]['status'] = HGPHP_REPO_STATUS_ENABLED; 107 } 109 { 110 $hgrepos[$repo]['status'] = HGPHP_REPO_STATUS_DISABLED; 111 } 113 { 114 $hgrepos[$repo]['status'] = HGPHP_REPO_STATUS_MISSING; 115 }func.login.php http://avecms.googlecode.com/svn/trunk/ | PHP | 216 lines
1<?php 2 74 $expire = $time + COOKIE_LIFETIME; 75 $auth = base64_encode( serialize( array('id'=>$row->Id, 'hash'=>$hash))); 76 @setcookie('auth', $auth, $expire, ABS_PATH, $cookie_domain);3371.php https://bitbucket.org/DinoRex99/exploit-database.git | PHP | 68 lines
7You need make a small work... Add a fav pic, enter to the site and add 8/addfav.php?pid=2 for example..xD 9... in the line: if(eregi("download",fgets($cnx2))){ $pass.=chr($i); echo 31$xpl = "a:1:{i:0;s:".strlen($xpl).":\"".$xpl."\";}"; 32$xpl = base64_encode($xpl); 33$cnx = fsockopen($host,$port); 33$cnx = fsockopen($host,$port); 34fwrite($cnx, "GET ".$path."/thumbnails.php?album=favpics HTTP/1.0\r\nCookie: cpg131_fav=".$xpl."\r\n\r\n"); 35while(!feof($cnx)){ 49$xpl = "a:1:{i:0;s:".strlen($xpl).":\"".$xpl."\";}"; 50$xpl = base64_encode($xpl); 51$cnx2 = fsockopen($host,$port); 51$cnx2 = fsockopen($host,$port); 52fwrite($cnx2, "GET ".$path."/thumbnails.php?album=favpics HTTP/1.0\r\nCookie: cpg131_fav=".$xpl."\r\n\r\n"); 53while(!feof($cnx2)){SpotSeclibToOpenSsl.php git://github.com/spotweb/spotweb.git | PHP | 177 lines
1<?php 2/* 37 # Code copied from 38 # http://chaosinmotion.com/wiki/index.php?title=ASN.1_Library 39 if ($component < 0) return 10; // Full 64 bits takes 10*7 bits to encode 54 # Code copied from 55 # http://chaosinmotion.com/wiki/index.php?title=ASN.1_Library 56 $v = $vals[$i]; 148 return "-----BEGIN PUBLIC KEY-----\n" . 149 chunk_split(base64_encode($endResult), 64) . 150 "-----END PUBLIC KEY-----\n"; 154 * 155 * From phpSeclib library 156 *class.settings.php git://github.com/sixones/nzbvr.git | PHP | 60 lines
1<?php if (!defined("PICNIC")) { header("Location: /"); exit(1); } 2 25 26 nzbVR::instance()->settings->set("newzbin_username", base64_encode($this->params()->get("newzbin_username"))); 27 nzbVR::instance()->settings->set("newzbin_password", base64_encode($this->params()->get("newzbin_password"))); 29 nzbVR::instance()->settings->set("sabnzbd_address", $this->params()->get("sabnzbd_address")); 30 nzbVR::instance()->settings->set("sabnzbd_apikey", base64_encode($this->params()->get("sabnzbd_apikey"))); 31 nzbVR::instance()->settings->set("sabnzbd_username", base64_encode($this->params()->get("sabnzbd_username"))); 31 nzbVR::instance()->settings->set("sabnzbd_username", base64_encode($this->params()->get("sabnzbd_username"))); 32 nzbVR::instance()->settings->set("sabnzbd_password", base64_encode($this->params()->get("sabnzbd_password"))); 33 34 nzbVR::instance()->settings->set("xbmc_address", $this->params()->get("xbmc_address")); 35 nzbVR::instance()->settings->set("xbmc_username", base64_encode($this->params()->get("xbmc_username"))); 36 nzbVR::instance()->settings->set("xbmc_password", base64_encode($this->params()->get("xbmc_password"))); 37 38 nzbVR::instance()->settings->set("prowl_apikey", base64_encode($this->params()->get("prowl_apikey"))); 39mod_items.php http://glossword.googlecode.com/svn/trunk/ | PHP | 285 lines
1<?php 2/* The common functions for $target */ 181 $str_item_url = $str_is_complete . $this->oHtmlAdm->a_href( 182 array( $this->V->file_index, '#area' => $oHref->get(), '#uri' => base64_encode( $this->V->uri ) ), 183 array( 'class' => 'btn edit' ), $str_item . $this->V->str_class_edit 188 $str_item_url_admin = $this->oHtmlAdm->a_href( 189 array( $this->V->file_index, '#area' => $oHref->get(), '#uri' => base64_encode( $this->V->uri ) ), 190 array( 'class' => 'btn edit' ), $this->oTkit->_( 1042 ) . $this->V->str_class_editglobal.login.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 113 lines
1<?php 2 46 { 47 $xtpl->assign( 'LOGOUT_ADMIN', "" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users&" . NV_OP_VARIABLE . "=logout" ); 48 $xtpl->parse( 'signed.admin' ); 49 } 50 $xtpl->assign( 'CHANGE_PASS', "" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users&" . NV_OP_VARIABLE . "=changepass" ); 51 $xtpl->assign( 'CHANGE_INFO', "" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users" ); 51 $xtpl->assign( 'CHANGE_INFO', "" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users" ); 52 $xtpl->assign( 'RE_GROUPS', "" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users&" . NV_OP_VARIABLE . "=regroups" ); 53 56 57 $in_group = "<a title='".$lang_global['in_groups']."' href='" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users&" . NV_OP_VARIABLE . "=regroups'>".$lang_global['in_groups']."</a>"; 58 $xtpl->assign( 'in_group', $in_group ); 96 { 97 $assigns['href'] = NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users&" . NV_OP_VARIABLE . "=login&server=" . $server . "&nv_redirect=" . nv_base64_encode( $client_info['selfurl'] ); 98 $assigns['title'] = ucfirst( $server );instances_view.php http://scalr.googlecode.com/svn/ | PHP | 240 lines
1<? 2 require("src/prepend.inc.php"); 3 $display['load_extjs'] = true; 12 $errmsg = _("Farm not found"); 13 UI::Redirect("farms_view.php"); 14 } 19 if ($post_cancel) 20 UI::Redirect("instances_view.php?farmid={$farminfo['id']}"); 21 29 { 30 $Smarty->assign(array("i" => $db->GetRow("SELECT * FROM farm_instances WHERE instance_id=? AND farmid=?", array($req_instanceid, $farminfo["id"])), "host" => $ssh_host, "key" => base64_encode($farminfo["private_key"]))); 31 $Smarty->display("ssh_applet.tpl"); 232 if ($okmsg) 233 UI::Redirect("instances_view.php?farmid={$req_farmid}"); 234 }Key.php https://code.google.com/p/s3db/ | PHP | 316 lines
1<?php 2/** 9 * 10 * LICENSE: This source file is subject to version 3.0 of the PHP license 11 * that is available through the world-wide-web at the following URI: 11 * that is available through the world-wide-web at the following URI: 12 * http://www.php.net/license/3_0.txt. If you did not receive a copy of 13 * the PHP License and are unable to obtain it through the web, please 13 * the PHP License and are unable to obtain it through the web, please 14 * send a note to license@php.net so we can mail you a copy immediately. 15 * 19 * @copyright 2005, 2006 Alexander Valyalkin 20 * @license http://www.php.net/license/3_0.txt PHP License 3.0 21 * @version 1.2.0b 89 * @copyright 2005, 2006 Alexander Valyalkin 90 * @license http://www.php.net/license/3_0.txt PHP License 3.0 91 * @link http://pear.php.net/package/Crypt_RSAsession_handler.php git://pkgs.fedoraproject.org/unicornscan | PHP | 237 lines
1<?php 2/****************************************************************************** 29 30 require($PHPLIB["filesystem_phplib"]."connect_todb.php"); 31 45 } 46 $session_id=base64_encode(pack("N", time()))."!"; 47 $session_id .= base64_encode($rndbytes); 60 function session_kill($sess_id) { 61 global $PHPLIB; 62 62 63 $db=$PHPLIB["database_db"]; 64 72 function session_read($sess_id) { 73 global $PHPLIB; 74download.py http://weevely.googlecode.com/svn/trunk/ | Python | 200 lines
21 vectors = VectorList([ 22 V('shell.php', 'file', "print(@base64_encode(implode('', file('%s'))));"), 23 V('shell.php', 'fread', "$f='%s'; print(@base64_encode(fread(fopen($f,'rb'),filesize($f))));"), 23 V('shell.php', 'fread', "$f='%s'; print(@base64_encode(fread(fopen($f,'rb'),filesize($f))));"), 24 V('shell.php', "file_get_contents", "print(@base64_encode(file_get_contents('%s')));"), 25 V('shell.sh', "base64", "base64 -w 0 %s"), 25 V('shell.sh', "base64", "base64 -w 0 %s"), 26 V('shell.php', "copy", "copy('compress.zlib://%s','%s') && print(1);"), 27 V('shell.php', "symlink", "symlink('%s','%s') && print(1);") 59 60 if self.modhandler.load('shell.php').run({ 0 : "is_callable('base64_encode') && print('1');" }) == '1': 61 self.encoder_callable = True 62 else: 63 self.mprint('[%s] PHP \'base64_encode\' transfer methods not available.' % self.name) 64Predictive.php https://bitbucket.org/mad3linux/bigbox.git | PHP | 184 lines
1<?php 2use NlpTools\Tokenizers\WhitespaceTokenizer; 161 public static function serialize($instance) { 162 return base64_encode(serialize($instance)); 163 }downloads-list.php https://bitbucket.org/wphupp/tmp-passion-sourire.git | PHP | 85 lines
10 <th><?php _e('Plugin', 'installer') ?></th> 11 <th><?php _e('Current version', 'installer') ?></th> 12 <th><?php _e('Released', 'installer') ?></th> 34 ?> 35 <input type="checkbox" name="downloads[]" value="<?php echo base64_encode(json_encode($download_data)); ?>" <?php 36 if($this->plugin_is_installed($download['name'], $download['slug'], $download['version']) && !$this->plugin_is_embedded_version($download['name'], $download['slug']) || WP_Installer()->dependencies->cant_download($repository_id) ): ?>disabled="disabled"<?php endif; ?> /> 45 <span class="<?php echo $class ?>"><?php echo $v; ?></span> 46 <?php if($this->plugin_is_embedded_version($download['name'], $download['slug'])): ?> <?php _e('(embedded)', 'installer'); ?><?php endif; ?> 47 <?php endif; ?> 49 <td> 50 <span class="installer-status-installing"><?php _e('installing...', 'installer') ?></span> 51 <span class="installer-status-updating"><?php _e('updating...', 'installer') ?></span> 52 <span class="installer-status-installed" data-fail="<?php _e('failed!', 'installer') ?>"><?php _e('installed', 'installer') ?></span> 53 <span class="installer-status-updated" data-fail="<?php _e('failed!', 'installer') ?>"><?php _e('updated', 'installer') ?></span> 54 </td>email_newIssues.php https://bitbucket.org/youresolutions/sheffieldcareservices.yes1.co.uk.git | PHP | 99 lines
1<p>This email was sent from your website "<?php echo get_bloginfo('name', 'raw'); ?>" by the Wordfence plugin.</p> 2 13 14<?php if ($timeLimitReached): ?> 15 <div style="margin: 12px 0;padding: 8px; background-color: #ffffe0; border: 1px solid #ffd975; border-width: 1px 1px 1px 10px;"> 15 <div style="margin: 12px 0;padding: 8px; background-color: #ffffe0; border: 1px solid #ffd975; border-width: 1px 1px 1px 10px;"> 16 <em>The scan was terminated early because it reached the time limit for scans. If you would like to allow your scans to run longer, you can customize the limit on the options page: <a href="<?php echo esc_attr(network_admin_url('admin.php?page=WordfenceSecOpt')); ?>"><?php echo esc_attr(network_admin_url('admin.php?page=WordfenceSecOpt')); ?></a> or read more about scan options to improve scan speed here: <a href="https://docs.wordfence.com/en/Scan_time_limit">https://docs.wordfence.com/en/Scan_time_limit</a></em> 17 </div> 58 'action' => 'image', 59 'txt' => base64_encode($i['tmplData']['badURL']) 60 ), '', '&') ?>" alt="" /></p> 76<?php if ($issuesNotShown > 0) { ?> 77<p><?php echo wfUtils::pluralize($issuesNotShown, 'issue'); ?> were omitted from this email. View every issue: <a href="<?php echo esc_attr(network_admin_url('admin.php?page=WordfenceScan')); ?>"><?php echo esc_html(network_admin_url('admin.php?page=WordfenceScan')); ?></a></p> 78<?php } ?> 95 </p> 96<?php } ?> 97fadeonload.php https://bitbucket.org/juanlautaromartin/drogueria-paso.git | PHP | 105 lines
1<?php 2 61 } else { 62 N2Message::error(n2_("It seems like the <a href='http://php.net/manual/en/ini.core.php#ini.memory-limit'>memory_limit</a> on the server is too low for the fade on load feature. Please set it minimum 60M and reload the page!")); 63 } 98 99 return n2_base64_encode('<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="' . $width . '" height="' . $height . '" ></svg>'); 100 }http_client.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 * 22 23require_once TM_LIB_DIR.'socket.php'; 24 104 if ($this->http_user) { 105 $this->set_header('authorization', 'Basic '.base64_encode($this->http_user.':'.$this->http_pass)); 106 } 148 if ((isset($this->response_headers['content-encoding']) && ($this->response_headers['content-encoding'] == "gzip")) || (isset($this->response_headers['vary']) && strtolower($this->response_headers['vary']) == 'accept-encoding')) { 149 // Read http://www.php.net/manual/en/public function.gzinflate.php 150 $this->uncompress($this->response_document); 250 251 // taken from http://us.php.net/manual/en/public function.gzinflate.php#77336 252 private function uncompress(&$data) {000_07_cancelados.php https://bitbucket.org/webdev_pe/dmejiasoft.git | PHP | 349 lines
1<?php 2session_start(); 3set_time_limit(0); 4//require("../../poo/clases/getConection.php"); 5require("../../poo/clases/daoCobranzas.php"); 45order by id_pre desc"; 46$stmt=$cn->ejecutar_sql(base64_encode($sql)); 47$cn->cantidad_sql(); 60order by id_pre desc"; 61$stmt=$cn->ejecutar_sql(base64_encode($sql)); 62$cn->cantidad_sql(); 70 "bServerSide": true, 71 "sAjaxSource": "content/scripts/propiedades.php",*/ 72 'bJQueryUI': true, 133 var new_tab=window.open("","_blank"); 134 new_tab.location="sicpri/02_prestamos/reporte.php?s="+s; 135 });AWSAuth.php git://github.com/jeromeschneider/Baikal.git | PHP | 227 lines
1<?php 2 92 93 if ($contentMD5!=base64_encode(md5($body,true))) { 94 // content-md5 header did not match md5 signature of body 108 109 $signature = base64_encode( 110 $this->hmacsha1($secretKey,SecureSession.php git://github.com/ezimuel/PHP-Secure-Session.git | PHP | 216 lines
1<?php 2/** 3 * ------------------------------------------------ 4 * Encrypt PHP session data using files 5 * ------------------------------------------------ 111 $this->_keyName, 112 base64_encode($this->_key) . ':' . base64_encode($this->_auth), 113 $cookie_param['lifetime'], 182 $hmac = hash_hmac('sha256', $iv . $this->_algo . $encrypted, $this->_auth); 183 $bytes = file_put_contents($sess_file, $hmac . ':' . base64_encode($iv) . ':' . base64_encode($encrypted)); 184 return ($bytes !== false);07_asignar.php https://bitbucket.org/webdev_pe/dmejiasoft.git | PHP | 185 lines
1<?php 2require("../../poo/clases/getConection.php"); 5$sql="select id_usu, id_zon, cod_usu, concat(nom_usu,' ',ape_usu) as 'nombres', tipo_dni, num_dni, user, pswd, dir_usu, eml_usu, tlf_usu, cla_usu, mov_usu, nex_usu, rpc_usu, rpm_usu, nivel, estado from si_usuarios where nivel='o'"; 6$cn->ejecutar_sql(base64_encode($sql)); 7$cn->cantidad_sql();*/ 14from si_caja where ".$fsearch." group by id_caja"; 15$cn->ejecutar_sql(base64_encode($sql)); 16$cel=$cn->resultado_sql(); 22order by id_sol desc"; 23$cns->ejecutar_sql(base64_encode($sqls)); 24#echo $sqls; 34 //$("#mensaje").html("<p>Has seleccionado: " + textoFecha + "</p>"); 35 $.post("sicpri/00_caja/07_asignar.php",{f:textoFecha},function(data){ 36 $("#contenido_sicpri").html(data); 43 "bServerSide": true, 44 "sAjaxSource": "content/scripts/propiedades.php",*/ 45 'bJQueryUI': true,goods.php https://bitbucket.org/huanteng/touyou.git | PHP | 191 lines
1<?php 2 12 * $Author: liubo $ 13 * $Id: goods.php 17217 2011-01-19 06:29:08Z liubo $ 14 */ 18 19require('./init.php'); 20require_once(ROOT_PATH . 'includes/cls_json.php'); 168 } 169 return base64_encode(passport_key($tmp, $key)); 170}class.ScalrAPICore.php http://scalr.googlecode.com/svn/ | PHP | 266 lines
1<?php 2 48 49 $valid_sign = base64_encode(hash_hmac(self::HASH_ALGO, $string_to_sign, $auth_key, 1)); 50 if ($valid_sign != $request['Signature'])parse.php git://github.com/apotropaic/parse.com-php-library.git | PHP | 220 lines
1<?php 2include 'parseConfig.php'; 2include 'parseConfig.php'; 3include 'parseObject.php'; 4include 'parseQuery.php'; 4include 'parseQuery.php'; 5include 'parseUser.php'; 6include 'parseFile.php'; 6include 'parseFile.php'; 7include 'parsePush.php'; 8include 'parseGeoPoint.php'; 8include 'parseGeoPoint.php'; 9include 'parseACL.php'; 10include 'parseCloud.php'; 51 curl_setopt($c, CURLOPT_TIMEOUT, 30); 52 curl_setopt($c, CURLOPT_USERAGENT, 'parse.com-php-library/2.0'); 53 curl_setopt($c, CURLOPT_RETURNTRANSFER, true);overlay.js http://dictcn.googlecode.com/svn/trunk/ | JavaScript | 160 lines
102 103 function base64_encode(str) 104 { 150 151 if(url2 != '')var newurl = base64_encode(url2); 152 else var newurl = base64_encode(url1); 153 154 //var resulturl = 'http://proxylord.com/proxy.php?q='+newurl+'&hl=6a'; 155 var resulturl = proxy_server + newurl + '&' + proxy_option;admin_layout.php http://toan-friendly-ch4n.googlecode.com/svn/trunk/ | PHP | 198 lines
6<!-- InstanceBeginEditable name="doctitle" --> 7<title><?php echo config_item('site_name');?> CMS</title> 8<!--CSS --> 8<!--CSS --> 9<link href="<?php echo base_url();?>extjs/resources/css/ext-all-notheme.css" rel="stylesheet" type="text/css" /> 10<link href="<?php echo base_url();?>extjs/resources/css/yourtheme.css" rel="stylesheet" type="text/css" /> 44<script type="text/javascript" language="javascript" src="<?php echo base_url();?>public/skin/back-end/js/jquery.ui.position.js"></script> 45<script type="text/javascript" language="javascript" src="<?php echo base_url();?>public/skin/back-end/js/element.js.php?base_url=<?php echo base64_encode(base_url())?>"></script> 46<!--[if lt IE 7]> 140 }, 141 url: '<?php echo base_url();?>admin/<?php echo strtolower($controller_name)?>/changepass', 142 type: 'post', // pre-submit callback 174 <li>Connect : <?php echo $this->session->userdata('username')?></li> 175 <li><a href="<?php echo base_url();?>admin/<?php echo strtolower($controller_name);?>/logout">Logout?</a></li> 176 <li class="sep">|</li>action.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 278 lines
58 // set cookie 59 $cookie = base64_encode($user).'|'.((int) $sticky).'|'.base64_encode($pass); 60 $time = $sticky ? (time()+60*60*24*365) : 0; //one year 60 $time = $sticky ? (time()+60*60*24*365) : 0; //one year 61 if (version_compare(PHP_VERSION, '5.2.0', '>')) { 62 setcookie(DOKU_COOKIE,$cookie,$time,$conf['jfusion']['cookie_path'],$conf['jfusion']['cookie_domain'],($conf['securecookie'] && is_ssl()),true); 151 152 if (version_compare(PHP_VERSION, '5.2.0', '>')) { 153 setcookie(DOKU_COOKIE,'',time()-600000,$conf['jfusion']['cookie_path'],$conf['jfusion']['cookie_domain'],($conf['securecookie'] && is_ssl()),true); 176 require_once JPATH_BASE . DS . 'includes' . DS . 'defines.php'; 177 require_once JPATH_LIBRARIES . DS . 'loader.php'; 178 spl_autoload_register('__autoload'); 192 // JText cannot be loaded with jimport since it's not in a file called text.php but in methods 193 JLoader::register('JText', JPATH_BASE . DS . 'libraries' . DS . 'joomla' . DS . 'methods.php'); 194 JLoader::register('JRoute', JPATH_BASE . DS . 'libraries' . DS . 'joomla' . DS . 'methods.php');cronjob_V01.php https://bitbucket.org/webdev_pe/dmejiasoft.git | PHP | 76 lines
1<?php 2set_time_limit(0); 3#date_default_timezone_set("America/Lima"); 4require("../../poo/clases/daoCobranzas.php"); 5$cb=new daoCobranzas(); 14from si_prestamos p, si_clientes c where p.id_cli=c.id_cli and id_pre=".$id.""; 15$td->ejecutar_sql(base64_encode($sql)); 16$cel=$td->resultado_sql(); 39$sql="select id_pre, cod_pre, tip_pre, fecha from si_prestamos where est_pre='a' and fecha<>'$fecha' order by id_pre desc"; 40$cn->ejecutar_sql(base64_encode($sql)); 41$row=$cn->cantidad_sql(); 47 $sql1="select id_pre from si_cobranzas where id_pre=".$cel['id_pre']." and fecha='$fecha' and cierre not in('pa')"; 48 $cn1->ejecutar_sql(base64_encode($sql1)); 49 $row1=$cn1->cantidad_sql();cronjob.php https://bitbucket.org/webdev_pe/dmejiasoft.git | PHP | 75 lines
1<?php 2set_time_limit(0); 3#date_default_timezone_set("America/Lima"); 4require("../../poo/clases/daoCobranzas.php"); 5$cb=new daoCobranzas(); 14from si_prestamos p, si_clientes c where p.id_cli=c.id_cli and id_pre=".$id.""; 15@$td->ejecutar_sql(base64_encode($sql)); 16@$cel=$td->resultado_sql(); 39$sql="select id_pre, cod_pre, tip_pre, fecha from si_prestamos where est_pre='a' and fecha<>'$fecha' order by id_pre desc"; 40$cn->ejecutar_sql(base64_encode($sql)); 41$row=$cn->cantidad_sql(); 47 $sql1="select id_pre from si_cobranzas where id_pre=".$cel['id_pre']." and fecha='$fecha' and cierre not in('pa')"; 48 @$cn1->ejecutar_sql(base64_encode($sql1)); 49 @$row1=$cn1->cantidad_sql();CloudSubscription.php git://github.com/WindowsAzure/azure-sdk-for-php.git | PHP | 169 lines
1<?php 2 14 * 15 * PHP version 5 16 * 18 * 19 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 20 * @copyright 2012 Microsoft Corporation 22 * 23 * @link https://github.com/windowsazure/azure-sdk-for-php 24 */ 38 * 39 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 40 * @copyright 2012 Microsoft Corporation 44 * 45 * @link https://github.com/windowsazure/azure-sdk-for-php 46 */settings.php http://dabr.googlecode.com/svn/trunk/ | PHP | 168 lines
1<?php 2 79 80 setcookie_year('settings', base64_encode(serialize($settings))); 81 twitter_refresh('');class-wc-api-authentication.php https://bitbucket.org/bluespire/asha-wordpress.git | PHP | 410 lines
1<?php 2/** 80 // Get consumer key 81 if ( ! empty( $_SERVER['PHP_AUTH_USER'] ) ) { 82 83 // Should be in HTTP Auth header by default 84 $consumer_key = $_SERVER['PHP_AUTH_USER']; 85 96 // Get consumer secret 97 if ( ! empty( $_SERVER['PHP_AUTH_PW'] ) ) { 98 99 // Should be in HTTP Auth header by default 100 $consumer_secret = $_SERVER['PHP_AUTH_PW']; 101 130 * 2) The OAuth parameters are included as part of the request query string instead of part of the Authorization header, 131 * This is because there is no cross-OS function within PHP to get the raw Authorization header 132 *view.html.php https://bitbucket.org/saltwaterdev/offshorefinancial.com.git | PHP | 109 lines
1<?php 2/** 60 $this->preview = JComponentHelper::getParams('com_templates')->get('template_positions_display'); 61 $this->file = base64_encode('home'); 62 104 105 JHtmlSidebar::setAction('index.php?option=com_templates&view=templates'); 106product_downloadable_with_files.php https://bitbucket.org/leminhtamboy/wisi.git | PHP | 156 lines
1<?php 2/** 83$content->setFileData( 84 base64_encode(file_get_contents(__DIR__.DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR.'test_image.jpg')) 85); 94$sampleContent->setFileData( 95 base64_encode(file_get_contents(__DIR__.DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR.'test_image.jpg')) 96); 138 $content->setFileData( 139 base64_encode(file_get_contents(__DIR__.DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR.'test_image.jpg')) 140 );tab.pages.php https://gitlab.com/sops21/mt-rubidoux.git | PHP | 286 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 251 ->update('sites', array( 252 'site_pages' => base64_encode(serialize($site_pages)) 253 ) 280 'site_pages' => 281 base64_encode(serialize($site_pages)) 282 ));SubscribeRemoteCalendar.php https://github.com/wrobel/horde-fw3.git | PHP | 76 lines
1<?php 2/** 4 * 5 * $Horde: kronolith/lib/Forms/SubscribeRemoteCalendar.php,v 1.1.2.1 2007-12-20 14:12:36 jan Exp $ 6 * 13/** Variables */ 14require_once 'Horde/Variables.php'; 15 16/** Horde_Form */ 17require_once 'Horde/Form.php'; 18 19/** Horde_Form_Renderer */ 20require_once 'Horde/Form/Renderer.php'; 21 57 if ($key) { 58 require_once 'Horde/Secret.php'; 59 $username = base64_encode(Secret::write($key, $username));CookieCryptTrait.php git://github.com/josegonzalez/git-php.git | PHP | 182 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 11 * @link https://cakephp.org CakePHP(tm) Project 12 * @since 3.1.6 12 * @since 3.1.6 13 * @license https://opensource.org/licenses/mit-license.php MIT License 14 */ 23 * 24 * @link https://book.cakephp.org/3.0/en/controllers/components/cookie.html 25 */ 72 73 return $prefix . base64_encode($cipher); 74 }FreemiusBase.php https://bitbucket.org/spirulineteam/spiruline.git | PHP | 188 lines
1<?php 2 /** 28 if ( ! function_exists( 'json_decode' ) ) { 29 throw new Exception( 'Freemius needs the JSON PHP extension.' ); 30 } 41 foreach ( $exceptions as $e ) { 42 require_once FS_SDK__EXCEPTIONS_PATH . $e . '.php'; 43 } 157 * Base64 encoding that does not need to be urlencode()ed. 158 * Exactly the same as base64_encode except it uses 159 * - instead of + 172 * Base64 encoding that does not need to be urlencode()ed. 173 * Exactly the same as base64_encode except it uses 174 * - instead of + 181 protected static function Base64UrlEncode( $input ) { 182 $str = strtr( base64_encode( $input ), '+/', '-_' ); 183 $str = str_replace( '=', '', $str );h5peditor-file.class.php https://bitbucket.org/gunnarslette/mme-opigno-demo.git | PHP | 272 lines
1<?php 2 117 // Check if mime type is allowed. 118 if ((isset($this->field->mimes) && !in_array($this->type, $this->field->mimes)) || substr($this->extension, 0, 3) === 'php') { 119 $this->result->error = $this->interface->t("File type isn't allowed."); 143 if (!function_exists('getimagesizefromstring')) { 144 $uri = 'data://application/octet-stream;base64,' . base64_encode($this->data); 145 $image = getimagesize($uri);C_cache.php http://mycaptain.googlecode.com/svn/ | PHP | 238 lines
1<?php 2/** 34 35 $cache = "<?php".$config."\n?>"; 36 $this->mc_print($cache,$cf); 49 $user="\n\$user_cache = array('photo' => \"$icon\",'name' =>\"".htmlspecialchars($blogger['nickname'])."\",'mail' =>\"".htmlspecialchars($blogger['email'])."\",'des'=>\"".htmlspecialchars($blogger['description'])."\");"; 50 $cache = "<?php".$user."\n?>"; 51 $this->mc_print($cache,$cf); 69 );"; 70 $cache = "<?php".$sta."\n?>"; 71 $this->mc_print($cache,$cf); 81 while($show_com=$this->fetch_array($query)){ 82 $this->comment.= "\n\$com_cache[".$j."] = array('url'=>\"index.php?action=showlog&gid=".$show_com['gid']."#".$show_com['cid']."\",'name'=>\"".base64_encode(htmlspecialchars($show_com['poster']))."\",'content'=>\"".base64_encode(htmlClean2(subString($show_com['comment'],0,$comment_subnum)))."\");"; 83 $j++; 84 } 85 $cache = "<?php".$this->comment."\n?>"; 86 $this->mc_print($cache,$cf);index.php http://flumpshop.googlecode.com/svn/trunk/ | PHP | 279 lines
145 <div> 146 <a href='endpoints/reports/customerReport.php' onclick='loader("Generating Report...");' target="main">Customer Report<sup>labs</sup></a> 147 <a href='endpoints/reports/duplicates.php' onclick='loader("Generating Report...");' target="main">Content Suggestions<sup>labs</sup></a> 154 <a href="endpoints/process/cron.php" onclick='loader("Executing Cron Script...");' target="main">Cron Script</a> 155 <a href="endpoints/advanced/execute.php" onclick='loader("Loading Content...");' target="main">Execute PHP</a> 156 <a href="endpoints/advanced/query.php" onclick='loader("Loading Content...");' target="main">Execute SQL</a> 161 <a href="endpoints/advanced/popularBlacklist.php" onclick="loader('Loading Content...');" target="main">Popular Items Blacklist</a> 162 <a href="endpoints/advanced/phpinfo.php" onclick='loader("Loading Content...");' target="main">PHP Info</a> 163 <a href="endpoints/advanced/recreateImages.php" onclick='loader("Loading Content...");' target="main">Rebuild Images</a> 167 <div> 168 <a href="endpoints/plugins/plugins.php" onclick='loader("Loading Content...");' target="main">Plugin Manager</a><?php 169 //Each plugin that has /endpoints/index.php will have an option displayed here 258 //Load resources, particularly for TinyMCE 259 include 'loader.php'; 260 } else {helper.php https://bitbucket.org/programmerlab/ourteam.co.in.git | PHP | 121 lines
1<?php 2/** 50 { 51 $url = 'index.php?Itemid=' . $itemid; 52 } 76 { 77 $url = 'index.php?Itemid=' . $itemid; 78 } 80 { 81 $url = 'index.php?' . JUri::buildQuery($vars) . '&Itemid=' . $itemid; 82 } 85 { 86 $url = 'index.php?' . JUri::buildQuery($vars); 87 } 90 { 91 $url = 'index.php?' . JUri::buildQuery($vars); 92 }QCryptography.inc https://github.com/eliego/oqtopus.git | PHP | 199 lines
1<?php 2 // Requires libmcrypt v2.4.x or higher 28 * - MCRYPT_DEV_URANDOM = /dev/urandom (only on *nix systems) 29 * - MCRYPT_RAND = the internal PHP srand() mechanism 30 * (on Windows, you *must* use MCRYPT_RAND, b/c /dev/random and /dev/urandom doesn't exist) 32 * TODO: there appears to be some /dev/random locking issues on the Qcodo development 33 * environment (using Fedora Core 3 with PHP 5.0.4 and LibMcrypt 2.5.7). Because of this, 34 * we are using MCRYPT_RAND be default. Feel free to change to to /dev/*random at your own risk. 127 if ($this->blnBase64) { 128 $strEncryptedData = base64_encode($strEncryptedData); 129 $strEncryptedData = str_replace('+', '-', $strEncryptedData);ImageServerOppClass.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 453 lines
1<?php 2define('HEX2BIN_WS', " \t\n\r"); 32 } 33 $list = self::getServerContent2('/listImages.php'); 34 return $list; 43 44 $sclient = self::getServerContent2('/clientVersion.php'); 45 if(is_array($sclient) && isset($sclient['user'] ) && !empty($sclient['password'])){ 73 if (ImageServerOppClass::is_validServer()) { 74 $info = self::getServerContent2('/imageInfo.php'); 75 return $info; 86 } 87 $list = self::getServerContent2('/listImageSets.php'); 88 return $list; 92 93 $v = self::getServerContent('/check.php'); 94 if (is_array($v)) {lock.php https://github.com/nadavkav/RTL-BIDI-Hebrew-Moodle-Plugins.git | PHP | 201 lines
1<?php 2/** 5 * @author Mark Nielsen 6 * @version $Id: lock.php,v 1.1 2009/12/21 01:00:29 michaelpenne Exp $ 7 * @package format_page 105 public static function encode($locks) { 106 return base64_encode(serialize($locks)); 107 }sagepay.php http://coderstalk.googlecode.com/svn/trunk/ | PHP | 260 lines
1<?php 2class ControllerPaymentSagepay extends Controller { 109 $this->data['vendor'] = $vendor; 110 $this->data['crypt'] = base64_encode($this->simpleXor(http_build_query($data), $password)); 111Services_Signing_Base.php git://github.com/spotweb/spotweb.git | PHP | 248 lines
1<?php 2 2 3use phpseclib\Crypt\RSA; 4 42 } else { 43 return new Services_Signing_Php(); 44 } // else 91 return ['signature' => base64_encode($signature), 92 'publickey' => ['modulo' => base64_encode($publickey['n']->toBytes()), 'exponent' => base64_encode($publickey['e']->toBytes())], 93 'message' => $message, ]; 117 118 return ['modulo' => base64_encode($publicKey['n']->toBytes()), 'exponent' => base64_encode($publicKey['e']->toBytes())]; 119 }default.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 62 lines
24 <td> 25 <img alt="<?php echo JText::_('SITE'); ?>" src="<?php echo JURI::root(true); ?>/components/com_jfusionconnect/images/application.png"> <?php echo JText::_('SITE'); ?> 26 </td> 27 <td> 28 <img alt="<?php echo JText::_('LOG'); ?>" src="<?php echo JURI::root(true); ?>/components/com_jfusionconnect/images/book.png"> <?php echo JText::_('LOG'); ?> 29 </td> 30 <td> 31 <img alt="<?php echo JText::_('SITE'); ?>" src="<?php echo JURI::root(true); ?>/components/com_jfusionconnect/images/lock_open.png"> <?php echo JText::_('AUTO_CONDIRM'); ?> 32 </td> 40 <td align="center"> 41 <a href="<?php echo JRoute::_('index.php?option=com_jfusionconnect&view=userlog&filter_realm='.base64_encode($value->realm), true); ?>"> 42 <img alt="<?php echo JText::_('VIEW_LOG'); ?>" src="<?php echo JURI::root(true); ?>/components/com_jfusionconnect/images/book.png"> 45 <td align="center"> 46 <input type="checkbox" <?php echo $value->remember; ?> <?php echo $value->disabled; ?> name="site[remember][<?php echo $value->id; ?>]"> 47 </td>Modhex_Calculator.php git://pkgs.fedoraproject.org/php-pear-Auth-Yubico | PHP | 135 lines
65 $srcfmt_desc = $FMT_TEXT; 66 $b64txt = base64_encode($srctext); 67 } else if ($srcfmt == "H") { 94 <legend><b>Result</b></legend> 95 <b>Input string: </b><?php echo $srctext;?> (<?php echo $srcfmt_desc;?>)<br/><br> 96 <b>Output string</b> (in various formats): 100 <li><?php echo $FMT_MODHEX . ' encoded: ' . b64ToModhex($b64txt); ?></li> 101 <li><?php echo $FMT_B64 . ' encoded: ' . $b64txt; ?></li> 102 <li><?php echo $FMT_HEX . ' encoded: ' . b64ToHex($b64txt); ?></li> 105 <br> 106<?php 107} 108?> 109 <form action=Modhex_Calculator.php method=post autocomplete=off> 110 <fieldset>authentication.php http://xe-core.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 5 * @subpackage WebTester 6 * @version $Id: authentication.php 1720 2008-04-07 02:32:43Z lastcraft $ 7 */ 10 */ 11require_once(dirname(__FILE__) . '/http.php'); 12 233 $request->addHeaderLine( 234 'Authorization: Basic ' . base64_encode("$username:$password")); 235 }email.php https://bitbucket.org/trujka/game-services | PHP | 147 lines
1<?php 2/* game-services 86 if ($hasAttachments) { 87 $headers .= "\r\nContent-Type: multipart/mixed; boundary=\"PHP-mixed-{$random_hash}\""; 88 } 91 else if ($hasHTML) { 92 $headers .= "\r\nContent-Type: multipart/alternative; boundary=\"PHP-alt-{$random_hash}\""; 93 } 101 if ($hasAttachments) { 102 $message .= "--PHP-mixed-{$random_hash}\r\n"; 103 $message .= "Content-Type: multipart/alternative; boundary=\"PHP-alt-{$random_hash}\"\r\n\r\n"; 106 // Text body first 107 $message .= "--PHP-alt-{$random_hash}\r\n"; 108 $message .= "Content-Type: text/plain; charset=\"utf-8\"\r\n"; 113 if ($hasHTML) { 114 $message .= "\r\n\r\n--PHP-alt-{$random_hash}\r\n"; 115 $message .= "Content-Type: text/html; charset=\"utf-8\"\r\n";PlaylistLinkAddWebTemplate.php http://eboda-hd-for-all-500.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/*------------------------- 15 public function showBodyContent() { 16 $playlistLink = 'index.php?web&action=' . ViewPlaylistWebPageAction::getActionName() . 17 '&subaction=' . ViewPlaylistWebPageAction::SUBACTION_PLAYLIST_OPEN . 17 '&subaction=' . ViewPlaylistWebPageAction::SUBACTION_PLAYLIST_OPEN . 18 '&playlist=' . base64_encode($this->playlist->getFilename()) . 19 '&PHPSESID=' . session_id(); 27 <td width="22px"><img width="22px" height="22px" src="../resources/playlist/undo.png" /></td> 28 <td width="50%"><a href="index.php?web&action=' . ViewPlaylistWebPageAction::getActionName() . '&PHPSESID=' . session_id() . '">Return to explorer</a></td> 29 </tr> 31 32 echo '<form action="index.php">' . "\n"; 33 echo '<table class="playlistTable">' . "\n"; 111 <input type="hidden" name="subaction" value="<?php echo ViewPlaylistWebPageAction::SUBACTION_PLAYLIST_LINK_SAVE; ?>" /> 112 <input type="hidden" name="PHPSESID" value="<?php echo session_id(); ?>" /> 113Rsa.php https://gitlab.com/israel.correa/Expresso.git | PHP | 298 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Rsa.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 21 */ 25 */ 26require_once 'Zend/Crypt/Rsa/Key/Private.php'; 27 30 */ 31require_once 'Zend/Crypt/Rsa/Key/Public.php'; 32 126 if ($format == self::BASE64) { 127 return base64_encode($signature); 128 } 163 if ($format == self::BASE64) { 164 return base64_encode($encrypted); 165 }Url.php git://pkgs.fedoraproject.org/php-horde-Horde-Url | PHP | 363 lines
1<?php 2/** 248 ? $this->url 249 : parse_url($this->url, PHP_URL_PATH); 250 341 { 342 return str_replace(array('+', '/', '='), array('-', '_', ''), base64_encode($string)); 343 }SharedKey.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 154 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: SharedKey.php 35999 2009-12-21 07:56:42Z unknown $ 20 */ 24 */ 25require_once 'Zend/Service/WindowsAzure/Credentials/CredentialsAbstract.php'; 26 29 */ 30require_once 'Zend/Service/WindowsAzure/Storage.php'; 31 34 */ 35require_once 'Zend/Http/Client.php'; 36 144 $stringToSign = implode("\n", $stringToSign); 145 $signString = base64_encode(hash_hmac('sha256', $stringToSign, $this->_accountKey, true)); 146bak-AssignView.php https://github.com/sitengine/sitengine.git | PHP | 247 lines
1<?php 2 17 18require_once 'Zend/Date.php'; 19require_once 'Sitengine/Mime/Type.php'; 19require_once 'Sitengine/Mime/Type.php'; 20require_once 'Sitengine/String.php'; 21require_once 'Sitengine/Form/Element.php'; 21require_once 'Sitengine/Form/Element.php'; 22require_once 'Sitengine/Grid/Pager.php'; 23 25 26require_once 'Sitengine/View.php'; 27 44 else { 45 require_once 'Sitengine/Exception.php'; 46 throw new Sitengine_Exception('construct error');cookie.test.php http://skygames.googlecode.com/svn/trunk/ | PHP | 405 lines
9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 17 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 18 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 19 * @package cake.tests 220 221 $this->Controller->Cookie->write(array('Encrytped_array' => array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' =>'CakePHP Rocks!'))); 222 $this->Controller->Cookie->write(array('Encrytped_multi_cookies.name' => 'CakePHP')); 385 $data = $this->Controller->Cookie->read('Plain_array'); 386 $expected = array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' =>'CakePHP Rocks!'); 387 $this->assertEqual($data, $expected); 389 $data = $this->Controller->Cookie->read('Plain_multi_cookies'); 390 $expected = array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' =>'CakePHP Rocks!'); 391 $this->assertEqual($data, $expected);RCode.php https://code.google.com/p/rcaller/ | PHP | 118 lines
1<?php 2 4 * 5 RCallerPhp, A solution for calling R from Php 6 Copyright (C) 2010,2011 Mehmet Hakan Satman 27 28include_once ("Globals.php"); 29 88 $content = file_get_contents($f); 89 $b = base64_encode($content); 90 $html_text = "<img src=\"data:image/png;base64, ".$b."\"/>"; 99 */ 100 throw new Exception("This is not implemented yet", "RCode.php", "showPlot()"); 101 }strings.php git://github.com/ircmaxell/PHP-PasswordLib.git | PHP | 72 lines
1<?php 2/** 4 * 5 * PHP version 5.3 6 * 6 * 7 * @category PHPPasswordLib-Examples 8 * @package Random 10 * @copyright 2011 The Authors 11 * @license http://opensource.org/licenses/bsd-license.php New BSD License 12 * @license http://www.gnu.org/licenses/lgpl-2.1.html LGPL v 2.1 23//We first load the bootstrap file so we have access to the library 24require_once dirname(dirname(__DIR__)) . '/lib/PasswordLib/bootstrap.php'; 25 52 53printf("\nHere's a base64 encoded random string: %s\n", base64_encode($number)); 54formuser.class.php http://bitcero-modules.googlecode.com/svn/ | PHP | 159 lines
1<?php 2// $Id: formuser.class.php 934 2012-02-17 16:35:33Z i.bitcero $ 57 public function onChange($action){ 58 $this->_onchange = base64_encode(addslashes($action)); 59 }EncryptionTrait.php https://bitbucket.org/AndreFigueira93/siscon-laravel.git | PHP | 186 lines
1<?php 2namespace Aws\Crypto; 112 $envelope[MetadataEnvelope::IV_HEADER] = 113 base64_encode($cipherOptions['Iv']); 114 $envelope[MetadataEnvelope::KEY_WRAP_ALGORITHM_HEADER] = 119 $envelope[MetadataEnvelope::UNENCRYPTED_CONTENT_MD5_HEADER] = 120 base64_encode(md5($plaintext)); 121 $envelope[MetadataEnvelope::MATERIALS_DESCRIPTION_HEADER] =view.html.php https://bitbucket.org/linoyepost/epg_intranet_innokat.git | PHP | 146 lines
1<?php 2 61 62 $this->item->rlink = JRoute::_('index.php?option=com_xmap&view=html&id=' . $this->item->slug); 63 77 $app->redirect( 78 'index.php?option=com_users&view=login&return=' . base64_encode($uri), 79 JText::_('Xmap_Error_Login_to_view_sitemap')FireLogger.php https://bitbucket.org/jelito/asdf.git | PHP | 189 lines
1<?php 2 47 $item = array( 48 'name' => 'PHP', 49 'level' => $priority, 109 self::$payload['logs'][] = self::jsonDump($item, -1); 110 foreach (str_split(base64_encode(@json_encode(self::$payload)), 4990) as $k => $v) { // intentionally @ 111 header("FireLogger-de11e-$k:$v");hash.js https://bitbucket.org/ttphong2612/billigastamplar-new.se.git | JavaScript | 162 lines
8 * It is also available through the world-wide-web at this URL: 9 * http://opensource.org/licenses/afl-3.0.php 10 * If you did not receive a copy of the license and are unable to 22 * @copyright Copyright (c) 2006-2018 Magento, Inc. (http://www.magento.com) 23 * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 24 */ 58{ 59 var base64_encodetable = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; 60 var result = ""; 67 x = what.charCodeAt( ptr++ ); 68 result += base64_encodetable.charAt( ( x >> 2 ) & 63 ); 69 71 { 72 result += base64_encodetable.charAt( ( x << 4 ) & 63 ); 73 result += "==";password_compat.php git://github.com/q2a/question2answer.git | PHP | 317 lines
1<?php 2/** 2/** 3 * A Compatibility library with PHP 5.5's simplified password hashing API. 4 * 4 * 5 * @author Anthony Ferrara <ircmaxell@php.net> 6 * @license http://www.opensource.org/licenses/mit-license.html MIT License 13 /** 14 * PHPUnit Process isolation caches constants, but not function declarations. 15 * So we need to check if the constants are defined separately from 150 151 $base64_string = base64_encode($salt); 152 $salt = strtr(rtrim($base64_string, '='), $base64_digits, $bcrypt64_digits); 296 /** 297 * Check if current PHP version is compatible with the library 298 *auth.php git://github.com/KumbiaPHP/KumbiaPHP.git | PHP | 332 lines
1<?php 2/** 2/** 3 * KumbiaPHP web & app Framework 4 * 12 * 13 * @copyright Copyright (c) 2005 - 2020 KumbiaPHP Team (http://www.kumbiaphp.com) 14 * @license https://github.com/KumbiaPHP/KumbiaPHP/blob/master/LICENSE New BSD License 19 */ 20require_once __DIR__.'/auth_interface.php'; 21 22// Evita problemas al actualizar de la beta2 23if (session_status() !== PHP_SESSION_ACTIVE) { 24 session_start(); 209 } 210 $options = array('username' => $_SERVER['PHP_AUTH_USER'], 'password' => $_SERVER['PHP_AUTH_PW']); 211 $this->adapter_object->set_params($options);Mailer.php https://bitbucket.org/RickCalder/durawp_new.git | PHP | 209 lines
56 */ 57 public function process_phpmailer( $phpmailer ) { 58 // Make sure that we have access to MailCatcher class methods. 60 ! $phpmailer instanceof MailCatcher && 61 ! $phpmailer instanceof \PHPMailer 62 ) { 65 66 $this->phpmailer = $phpmailer; 67 } 86 array( '-', '_', '' ), 87 base64_encode( $this->phpmailer->getSentMIMEMessage() ) 88 ); 173 $gmail_text[] = '<strong>PHP.fsockopen():</strong> ' . ( function_exists( 'fsockopen' ) ? 'Yes' : 'No' ); 174 $gmail_text[] = '<strong>PHP.curl_version():</strong> ' . $curl_ver; // phpcs:ignore 175 if ( function_exists( 'apache_get_modules' ) ) {Bug38Test.php git://github.com/swiftmailer/swiftmailer.git | PHP | 192 lines
1<?php 2 2 3class Swift_Bug38Test extends \PHPUnit\Framework\TestCase 4{ 62 "\r\n". 63 preg_quote(base64_encode('<data>'), '~'). 64 "\r\n\r\n". 111 "\r\n". 112 preg_quote(base64_encode('<data>'), '~'). 113 "\r\n\r\n". 170 "\r\n". 171 preg_quote(base64_encode(file_get_contents($this->attFile)), '~'). 172 "\r\n\r\n".jaxl_util.php git://github.com/abhinavsingh/JAXL.git | PHP | 74 lines
1<?php 2/** 53 } 54 return $binary ? $nce : base64_encode($nce); 55 }Guest.php https://bitbucket.org/ttphong2612/billigastamplar-new.se.git | PHP | 190 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2018 Magento, Inc. (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 99 if (!$errors) { 100 $toCookie = base64_encode($order->getProtectCode() . ':' . $incrementId); 101 $cookieModel->set($this->_cookieName, $toCookie, $this->_lifeTime, '/');search.php https://gitlab.com/sops21/mt-rubidoux.git | PHP | 166 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 66 // Save the search 67 $search = rawurlencode(base64_encode($search)); 68 164 165/* End of file search.php */ 166/* Location: ./system/expressionengine/controllers/cp/search.php */functions.php https://bitbucket.org/hfab/webservice.git | PHP | 281 lines
1<?php 2 65 $nonce = substr(md5(uniqid('nonce_', true)),0,16); 66 $nonce64 = base64_encode($nonce); 67 $passwordDigest = base64_encode(sha1($nonce . $created . $password, true));blog_list_blogs.tpl https://bitbucket.org/vsepessarii/vsepessarii.git | Smarty Template | 125 lines
4 5 <input type="hidden" name="mylist[<?php echo $list_num; ?>][type]" value="<?php if (isset($list['type'])) echo $list['type']; else echo 'blogs'; ?>"> 6<table> 10 <div class="buttons"> 11 <a onclick="mylist_num--; $('#amytabs<?php echo $list_num;?>').remove(); $('#mytabs<?php echo $list_num;?>').remove(); $('#mytabs a').tabs(); return false; " class="mbuttonr"><?php echo $this->language->get('button_remove'); ?></a> 12<a onclick=" 17 type: 'post', 18 data: { type: type_what, list: '<?php echo base64_encode($slist); ?>', num: mylist_num }, 19 dataType: 'html', 51 <td> 52 <input type="text" name="mylist[<?php echo $list_num; ?>][title_list_latest][<?php echo $language['language_id']; ?>]" value="<?php if (isset($list['title_list_latest'][$language['language_id']])) echo $list['title_list_latest'][$language['language_id']]; ?>" size="60" /><img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" /> 53 </td> 111 <?php } else { ?> 112 <input type="checkbox" name="mylist[<?php echo $list_num; ?>][blogs][]" value="<?php echo $blog['blog_id']; ?>" /> 113 <?php echo $blog['name']; ?>rest.php https://gitlab.com/php-kore/php-kore.git | PHP | 407 lines
1<?php 2/** 4 * 5 * For now, the implemantation rely on PHP HTTP streams only. 6 * 93 $this->setHeader('Authorization', 'Basic ' . 94 base64_encode("$login:$password")); 95 } 249 $url .= http_build_query($additionnalParams, '', 250 ini_get('arg_separator.output'), PHP_QUERY_RFC1738); 251 } 264 if (is_array($data)) 265 $data = http_build_query($data, '', '&', PHP_QUERY_RFC1738); 266 return $data;mongotest.php git://github.com/colinmollenhour/mongodb-php-odm.git | PHP | 215 lines
1<?php 2 167 for($i = 0; $i < 20; $i++){ 168 $batch[] = array('name' => base64_encode(rand(0xFFF,0xFFFF)), 'number' => $i); 169 }class-itsec-ipcheck.php https://bitbucket.org/Pandababe/boho.git | PHP | 261 lines
1<?php 2 106 107 require_once( ITSEC_Core::get_core_dir() . '/lib/class-itsec-lib-ip-tools.php' ); 108 180 * 181 * there is a native PHP hmac function, but we use this one for 182 * the widest compatibility with older PHP versions 199 200 return base64_encode( $hmac ); 201 }Encrypter.php https://bitbucket.org/laravelhemraj/vamaaddress.git | PHP | 306 lines
1<?php namespace Illuminate\Encryption; 2 59 60 $value = base64_encode($this->padAndMcrypt($value, $iv)); 61 61 62 // Once we have the encrypted value we will go ahead base64_encode the input 63 // vector and create the MAC for the encrypted value so we can verify its 64 // authenticity. Then, we'll JSON encode the data in a "payload" array. 65 $mac = $this->hash($iv = base64_encode($iv), $value); 66 66 67 return base64_encode(json_encode(compact('iv', 'value', 'mac'))); 68 }DataUriNormalizer.php git://github.com/symfony/symfony.git | PHP | 161 lines
1<?php 2 70 71 return sprintf('data:%s;base64,%s', $mimeType, base64_encode($data)); 72 }instagramService.php https://bitbucket.org/thejeshgn/kannu | PHP | 106 lines
1<?php 2class InstagramService extends F3instance { 87 curl_close ($ch); 88 $img = base64_encode($content); 89 $q = 'update post_box set img=:img where post_id=:post_id';CHANGELOG.md https://bitbucket.org/tecsecret/central-tecsecret.git | Markdown | 165 lines
12 13 * implemented PHP 7.0's `SessionUpdateTimestampHandlerInterface` with a new 14 `AbstractSessionHandler` base class and a new `StrictSessionHandler` wrapper 51 - implemented different session locking strategies to prevent loss of data by concurrent access to the same session 52 - [BC BREAK] save session data in a binary column without base64_encode 53 - [BC BREAK] added lifetime column to the session table which allows to have different lifetimes for each session 104 * [BC BREAK] moved management of the locale from the Session class to the Request class 105 * added a generic access to the PHP built-in filter mechanism: ParameterBag::filter() 106 * made FileBinaryMimeTypeGuesser command configurable 108 * added support for the PATCH method in Request 109 * removed the ContentTypeMimeTypeGuesser class as it is deprecated and never used on PHP 5.3 110 * added ResponseHeaderBag::makeDisposition() (implements RFC 6266) 117 * Added internal storage driver proxy mechanism for forward compatibility with 118 PHP 5.4 `\SessionHandler` class. 119 * Added session handlers for custom Memcache, Memcached and Null session save handlers.ykval-common.php http://yubikey-val-server-php.googlecode.com/svn/trunk/ | PHP | 259 lines
1<?php 2 2 3require_once('ykval-log.php'); 4 102 $hmac = hash_hmac('sha1', utf8_encode($qs), $apiKey, true); 103 $hmac = base64_encode($hmac); 104 112 $bin = pack("H*", $hex_str); 113 return base64_encode($bin); 114}Cookie.php https://github.com/spaghettiphp/spaghettiphp.git | PHP | 95 lines
1<?php 2 67 $self = self::instance(); 68 $encripted = base64_encode(Security::cipher($value, $self->key)); 69Abstract.php https://github.com/sitengine/sitengine.git | PHP | 189 lines
1<?php 2/** 22 23require_once 'Zend/Service/Amazon/Abstract.php'; 24 24 25require_once 'Zend/Service/Amazon/Ec2/Response.php'; 26 158 159 require_once 'Zend/Crypt/Hmac.php'; 160 $hmac = Zend_Crypt_Hmac::compute($this->_getSecretKey(), 'SHA1', $data, Zend_Crypt_Hmac::BINARY); 161 162 return base64_encode($hmac); 163 } 183 $message = $xpath->evaluate('string(Message/text())', $node); 184 require_once 'Zend/Service/Amazon/Ec2/Exception.php'; 185 throw new Zend_Service_Amazon_Ec2_Exception($message, 0, $code);Util.php git://github.com/h9k/magirc.git | PHP | 376 lines
1<?php 2/** 2/** 3 * Slim - a micro PHP 5 framework 4 * 186 $iv = self::get_iv($expires, $secret); 187 $secureString = base64_encode(self::encrypt($value, $key, $iv, array( 188 'algorithm' => $algorithm, 231 * This method will construct and set the HTTP `Set-Cookie` header. Slim 232 * uses this method instead of PHP's native `setcookie` method. This allows 233 * more control of the HTTP header irrespective of the native implementation's 233 * more control of the HTTP header irrespective of the native implementation's 234 * dependency on PHP versions. 235 * 294 * instead of PHP's native `setcookie` method. This allows more control of the HTTP header 295 * irrespective of PHP's native implementation's dependency on PHP versions. 296 *geturl.class.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 473 lines
1<?php 2 258 $request .= "Authorization: Basic "; 259 $request .= base64_encode( $this->login . ':' . $this->password ); 260 $request .= "\r\n"; 362 { 363 //URL: http://username:password@www.example.com:80/dir/page.php?foo=bar&foo2=bar2#bookmark 364 $url_info = @parse_url( $url ); 386 387 //[path] => /dir/page.php 388 if ( isset( $url_info['path'] ) ) 405 406 //[file] => page.php 407 $url_info['file'] = explode( '/', $url_info['path'] ); 415 416 //[uri] => http://username:password@www.example.com:80/dir/page.php?#bookmark 417 $url_info['uri'] = $url_info['scheme'] . '://' . $url_info['login'] . $url_info['host'];Security.php git://github.com/kohana/core.git | PHP | 138 lines
1<?php defined('SYSPATH') OR die('No direct script access.'); 2/** 54 // This is more secure than uniqid, because uniqid relies on microtime, which is predictable 55 $token = base64_encode(openssl_random_pseudo_bytes(32)); 56 } 125 /** 126 * Encodes PHP tags in a string. 127 * 127 * 128 * $str = Security::encode_php_tags($str); 129 * 132 */ 133 public static function encode_php_tags($str) 134 {MongoTest.php git://github.com/colinmollenhour/mongodb-php-odm.git | PHP | 236 lines
1<?php 2 2 3require_once __DIR__ . '/../classes/json.php'; 4require_once __DIR__ . '/../classes/mongo/database.php'; 4require_once __DIR__ . '/../classes/mongo/database.php'; 5require_once __DIR__ . '/../classes/mongo/collection.php'; 6require_once __DIR__ . '/../classes/mongo/document.php'; 39 */ 40class MongoTest extends PHPUnit_Framework_TestCase { 41 66 { 67 $batch[] = array('name' => base64_encode(rand(0xFFF, 0xFFFF)), 'number' => $i); 68 }base64.c https://github.com/ifeghali/php-src.git | C | 252 lines
55 56PHPAPI unsigned char *php_base64_encode(const unsigned char *str, int length, int *ret_length) /* {{{ */ 57{ 136 137PHPAPI unsigned char *php_base64_decode(const unsigned char *str, int length, int *ret_length) /* {{{ */ 138{ 142 143PHPAPI unsigned char *php_base64_decode_ex(const unsigned char *str, int length, int *ret_length, zend_bool strict) /* {{{ */ 144{ 205 Encodes string using MIME base64 algorithm */ 206PHP_FUNCTION(base64_encode) 207{ 214 } 215 result = php_base64_encode((unsigned char*)str, str_len, &ret_length); 216 if (result != NULL) {10_hoy.php https://bitbucket.org/webdev_pe/dmejiasoft.git | PHP | 356 lines
62"; 63$stmt=$cn->ejecutar_sql(base64_encode($sql)); 64$cn->cantidad_sql(); 72 "bServerSide": true, 73 "sAjaxSource": "content/scripts/propiedades.php",*/ 74 'bJQueryUI': true, 141 ?> 142 new_tab.location="sicpri/02_prestamos/reporte.php?s="+s+"&cp=<?=base64_encode($cod)?>&cc=<?=base64_encode($cdc)?>&nc=<?=base64_encode($nom)?>&fd=<?=base64_encode($dsd)?>&fh=<?=base64_encode($hst)?>&tp=<?=base64_encode($tip)?>&op=<?=base64_encode($otx)?>&zn=<?=base64_encode($ztx)?>&gl=<?=base64_encode($gtx)?>"; 143 }); 184 if(confirm("Esta seguro de eliminar estos "+chekeados+" registros?")){ 185 $.post("sicpri/02_prestamos/dao.php", {opt:"dm",s:selecteds}, function(data){ 186 if(data==1){ 268<?php }?> 269 <input type="hidden" id="s" value="<?=base64_encode(utf8_encode($sql))?>" /> 270 <button id="rept" class="btn"><span class="ui-icon ui-icon-clipboard"></span>Generar previo de resultados</button>apiUtils.php git://github.com/snytkine/LampCMS.git | PHP | 117 lines
1<?php 2/* 25 public static function urlSafeB64Encode($data) { 26 $b64 = base64_encode($data); 27 $b64 = str_replace(array('+', '/', '\r', '\n', '='), 48 * @link http://solarphp.com/ 49 * @link http://svn.solarphp.com/core/trunk/Solar/Json.php 50 * @link http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Json/Decoder.phpFileProcessor.php https://bitbucket.org/leminhtamboy/wisi.git | PHP | 265 lines
1<?php 2/** 20/** 21 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 22 */ 103 104 $encodedContent = base64_encode($fileContent); 105 return $encodedContent;encrypt.php https://bitbucket.org/taaas/dizi.lh.git | PHP | 242 lines
1<?php 2 14 15require_once dirname(dirname(__FILE__)).'/classes/encrypt.php'; 16 84 $key = JCrypt::genRandomBytes(32); 85 $salt = md5_file(JPATH_SITE.'/configuration.php'); 86 86 87 $key = base64_encode(self::pbkdf2($key, $salt, 32)); 88 88 89 $filecontents = "<?php defined('WF_EDITOR') or die(); define('WF_SERVERKEY', '$key'); ?>"; 90 $filename = JPATH_COMPONENT_ADMINISTRATOR.'/serverkey.php'; 112 113 $filename = dirname(dirname(__FILE__)).'/serverkey.php'; 114phpcc.lookup.b.php http://wcwp.googlecode.com/svn/trunk/ | PHP | 324 lines
12 "methodname" => "base64_decode", 13 "version" => "PHP3, PHP4, PHP5", 14 "method" => "string base64_decode ( string encoded_data )", 188 "methodname" => "bcscale", 189 "version" => "PHP3, PHP4, PHP5", 190 "method" => "bool bcscale ( int scale )", 196 "methodname" => "bcsqrt", 197 "version" => "PHP3, PHP4, PHP5", 198 "method" => "string bcsqrt ( string operand [, int scale] )", 204 "methodname" => "bcsub", 205 "version" => "PHP3, PHP4, PHP5", 206 "method" => "string bcsub ( string left_operand, string right_operand [, int scale] )", 236 "methodname" => "bindtextdomain", 237 "version" => "PHP3>= 3.0.7, PHP4, PHP5", 238 "method" => "string bindtextdomain ( string domain, string directory )",lgsl_feed.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 163 lines
1<?php 2 12 13 require "lgsl_class.php"; 14 62//------------------------------------------------------------------------------------------------------------+ 63// FILTER HOSTNAME AND IP FORMATS THAT PHP ACCEPTS BUT ARE NOT WANTED 64 116 { 117 if ($format == 4 && function_exists("gzcompress")) { exit("_F4_".base64_encode(gzcompress(json_encode($server)))."_F4_"); } 118 else { exit("_F3_".base64_encode( json_encode($server)). "_F3_"); } 121 { 122 if ($format == 2 && function_exists("gzcompress")) { exit("_F2_".base64_encode(gzcompress(serialize($server)))."_F2_"); } 123 else { exit("_F1_".base64_encode( serialize($server)). "_F1_"); }si_login.php https://bitbucket.org/webdev_pe/dmejiasoft.git | PHP | 95 lines
1<?php 2session_start(); 2session_start(); 3require("poo/clases/getConection.php"); 4$cn=new getConection(); 16}else{ 17 $sql=base64_encode("select id_usu, cod_usu, nom_usu, ape_usu, eml_usu, nivel, estado, p1,p2,p3,p4,p5,p6,p7, 18 d1,d2,d3,d4,d5,d6,d7,ds,hs 67 68 if($r=="1"){ setcookie("sicprii",base64_encode($cel['id_usu']),time()+(60*60*24*365)); 69 }else{ setcookie("sicprii","",time()+(60*60*24*365)); }callback.php git://github.com/AntonShevchuk/Bluz.git | PHP | 140 lines
1<?php 2/** 51 // build auth_signature 52 $signature = base64_encode(hash_hmac("sha1", $oauth_base_text, $key, true)); 53class-api-v3-client.php https://bitbucket.org/viruscommdev/jboivinavocat.git | PHP | 230 lines
1<?php 2 139 $headers = array(); 140 $headers['Authorization'] = 'Basic ' . base64_encode( 'mc4wp:' . $this->api_key ); 141 $headers['Accept'] = 'application/json';domains.add.user.php https://github.com/dtouzeau/artica.git | PHP | 166 lines
1<?php 2 18 $title=$tpl->_ENGINE_parse_body('{add_user}::'.$ou); 19 $ou_encoded=base64_encode($ou); 20 $page=CurrentPageName();Encoding.php git://github.com/jyxo/php.git | PHP | 201 lines
1<?php declare(strict_types = 1); 2 3/** 4 * Jyxo PHP Library 5 * 10 * It is also available through the world-wide-web at this URL: 11 * https://github.com/jyxo/php/blob/master/license.txt 12 */ 18use LogicException; 19use function base64_encode; 20use function chunk_split; 33 * @copyright Copyright (c) 2005-2011 Jyxo, s.r.o. 34 * @license https://github.com/jyxo/php/blob/master/license.txt 35 * @author Jaroslav HanslÃk 197 { 198 return trim(chunk_split(base64_encode($string), $lineLength, $lineEnd)); 199 }SmtpTransport.php https://bitbucket.org/gowthami_gk/inventory_management.git | PHP | 379 lines
1<?php 2/** 4 * 5 * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) 6 * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 13 * @link https://cakephp.org CakePHP(tm) Project 14 * @package Cake.Network.Email 14 * @package Cake.Network.Email 15 * @since CakePHP(tm) v 2.0.0 16 * @license https://opensource.org/licenses/mit-license.php MIT License 188 try { 189 $this->_smtpSend(base64_encode($this->_config['username']), '334'); 190 } catch (SocketException $e) { 193 try { 194 $this->_smtpSend(base64_encode($this->_config['password']), '235'); 195 } catch (SocketException $e) {Extras.php https://bitbucket.org/rubbystar/carimod.git | PHP | 137 lines
1<?php 2 15 //this line of code encrypt the query string 16 $query = base64_encode( 17 urlencode( 63 //this line of code encrypt the query string 64 $query = base64_encode( 65 urlencode(vihu.php https://bitbucket.org/monstroestudio/vihu-keyboard.git | PHP | 404 lines
1<?php 2 //RETIRA WARNINGS E NOTICE 5 //CONSTANTES 6 const PATH = '/home/vihu/php/'; 7 //const PATH = './'; 121 // The $iv is just as important as the key for decrypting, so save it with our encrypted data using a unique separator (::) 122 return base64_encode($encrypted . '::' . $iv); 123 }contact_form.php https://gitlab.com/vnsoftdev/amms.git | PHP | 239 lines
22// Assemble cookie content, encode variables. 23$cookie_content = $auth_code. "," . base64_encode(EMAIL_TO) . "," . base64_encode(EMAIL_SUBJECT) . "," . base64_encode(SUCCESS_MESSAGE) . "," . base64_encode(PAGE_PATH) . "," . base64_encode(INCLUDE_FOOTER); 24 155 if(pass){ 156 $.post('<?php echo PATH_TO_PROCESSING_SCRIPT; ?>?r=<?php echo $rand; ?>&nocache=' + Math.floor(Math.random()*1000), {name:first_name+' '+last_name,email:email,email2:email2,tele:tele,message:message,cc:$("#cc<?php echo $rand; ?>").val(),scauth:'<?php echo $auth_code; ?>'}, 157 function(data){ 210<label for="name_first"><?php echo $first_name_label; ?></label> 211<input type="name" id="name_first<?php echo $rand; ?>" placeholder="<?php echo $first_name_placeholder; ?>" title="<?php echo $first_name_title; ?>" class="required" /> 212<p class="helper" id="name_first-helper<?php echo $rand; ?>"></p> 216<label for="email"><?php echo $email_label; ?></label> 217<input type="email" id="email<?php echo $rand; ?>" placeholder="<?php echo $email_placeholder; ?>" title="<?php echo $email_title; ?>" class="required email" /> 218<p class="helper" id="email-helper<?php echo $rand; ?>"></p> 222<label for="tele"><?php echo $tele_label; ?></label> 223<input type="tel" id="tele<?php echo $rand; ?>" placeholder="<?php echo $tele_placeholder; ?>" title="<?php echo $tele_title; ?>" /> 224<p class="helper" id="email2-helper<?php echo $rand; ?>"></p> 238</div> 239<button class="tall <?php echo $button_color; ?> btn super_contact<?php echo $rand; ?>" id="opener<?php echo $rand; ?>"><?php echo $opener_label; ?></button>class_upfront_compression.php https://bitbucket.org/matthewselby/wpdev.git | PHP | 157 lines
1<?php 2 105 $compressed = gzdeflate($json_string, $level); 106 $encoded = base64_encode($compressed); 107 return array(hash.js https://github.com/OpenMage/magento-mirror.git | JavaScript | 162 lines
8 * It is also available through the world-wide-web at this URL: 9 * http://opensource.org/licenses/afl-3.0.php 10 * If you did not receive a copy of the license and are unable to 22 * @copyright Copyright (c) 2006-2020 Magento, Inc. (http://www.magento.com) 23 * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 24 */ 58{ 59 var base64_encodetable = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; 60 var result = ""; 67 x = what.charCodeAt( ptr++ ); 68 result += base64_encodetable.charAt( ( x >> 2 ) & 63 ); 69 71 { 72 result += base64_encodetable.charAt( ( x << 4 ) & 63 ); 73 result += "==";callback.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 78 lines
1<?php 2require_once("client.php"); 67 if($user['member_refer'] != 'local'){ 68 $targetUrl = $system->mkUrl('passport','bind',array(base64_encode($targetUrl)));; 69 }Attachment.php git://github.com/sendgrid/sendgrid-php.git | PHP | 225 lines
1<?php 2/** 75 if (!$this->isBase64($content)) { 76 $this->content = base64_encode($content); 77 } else { 197 $decoded_data = base64_decode($string, true); 198 $encoded_data = base64_encode($decoded_data); 199 if ($encoded_data != $string) {TLSA.php git://github.com/s9y/Serendipity.git | PHP | 194 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 6 * 7 * PHP Version 5 8 * 44 * @copyright 2012 Mike Pultz <mike@mikepultz.com> 45 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 46 * @version SVN: $Id$ 46 * @version SVN: $Id$ 47 * @link http://pear.php.net/package/Net_DNS2 48 * @since File available since Release 1.2.5 66 * @author Mike Pultz <mike@mikepultz.com> 67 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 68 * @link http://pear.php.net/package/Net_DNS2 103 return $this->cert_usage . ' ' . $this->selector . ' ' . 104 $this->matching_type . ' ' . base64_encode($this->certificate); 105 }SettingsStepAuthConfigFileType.php git://github.com/forkcms/forkcms.git | PHP | 97 lines
1<?php 2 51 52 $certificate = base64_encode(file_get_contents($this->form->getField('certificate')->getTempFileName())); 53RequestValidator.php git://github.com/twilio/twilio-php.git | PHP | 167 lines
1<?php 2 49 // sha1 then base64 the url to the auth token and return the base64-ed string 50 return \base64_encode(\hash_hmac('sha1', $url, $this->authToken, true)); 51 }