100+ results results for 'php base64_encode repo:smf-portal/SMF2.1' (1498 ms)
1<?php 2/** 4 * 5 * @package PhpMyAdmin-GIS 6 */ 228 // base64 encode 229 $encoded = base64_encode($output); 230 return '<img src="data:image/png;base64,'. $encoded .'" />'; 297 298 include_once './libraries/tcpdf/tcpdf.php'; 299contact.php https://gitlab.com/billyprice1/cfimagehost-on-openshift | PHP | 179 lines
90 $headers = 'From: ' . $name . '<' . $email . '>' . $ent; 91 $headers .= 'X-Mailer: PHP/' . phpversion() . $ent; 92 $headers .= 'MIME-Version: 1.0' . $ent; 123<?php }else{ // show contact form ?> 124 <p class="teaser"><?php echo _T("site_contact_des",'<a href="faq.php" title="'._T("site_faq_title").'">'._T("site_faq_title").'</a>');?></p> 125 <div id="form"> 125 <div id="form"> 126 <form method="post" action="contact.php"> 127 <?php echo is_errors('name');?> 128 <div class="code_box"> 129 <label for="name"><?php echo _T("site_contact_form_name");?></label> 130 <input name="name" type="text" id="name" class="text_input" size="24" value="<?php echo err_ReSet('name');?>" /> 146 </div> 147 <div class="code_box"><label><?php echo _T("site_contact_form_captcha_img");?></label><a href="#Reload Captcha" onclick="document.getElementById('captchaImg').src = 'img/captcha.img.php?img<?php echo $captcha_light;?>&' + Math.random(); return false" class="creload"><img src="img/captcha.img.php?img<?php echo $captcha_light;?>&<?php echo time();?>" alt="captcha" title="<?php echo _T("site_contact_form_captcha_image_title");?>" class="captcha" id="captchaImg" /></a></div> 148 <div class="code_box"><label></label><input type="submit" class="button" value="<?php echo _T("site_contact_form_send");?>" /></div>class-waf-transforms.php https://gitlab.com/chernushov881/charity-fund | PHP | 342 lines
1<?php 2/** 79 */ 80 public function base64_encode( $value ) { 81 return base64_encode( $value );sale_note_a5.blade.php https://gitlab.com/laher01/factu40 | PHP | 272 lines
1@php 2 $establishment = $document->establishment; 9 10@endphp 11<html> 21 <div class="company_logo_box"> 22 <img src="data:{{mime_content_type(public_path("storage/uploads/logos/{$company->logo}"))}};base64, {{base64_encode(file_get_contents(public_path("storage/uploads/logos/{$company->logo}")))}}" alt="{{$company->name}}" class="company_logo" style="max-width: 150px;"> 23 </div> 159 @if($row->discounts) 160 @php 161 $total_discount_line = 0; 164 } 165 @endphp 166 {{ number_format($total_discount_line, 2) }} 255 <strong>PAGOS:</strong> </td></tr> 256 @php 257 $payment = 0;DbalSessionHandler.php https://gitlab.com/matijabelec/bigpandadev | PHP | 246 lines
1<?php 2 150 { 151 $encoded = base64_encode($data); 152quotation_a5.blade.php https://gitlab.com/laher01/factu40 | PHP | 338 lines
1@php 2 $establishment = $document->establishment; 6 $tittle = $document->prefix.'-'.str_pad($document->id, 8, '0', STR_PAD_LEFT); 7@endphp 8<html> 18 <div class="company_logo_box"> 19 <img src="data:{{mime_content_type(public_path("storage/uploads/logos/{$company->logo}"))}};base64, {{base64_encode(file_get_contents(public_path("storage/uploads/logos/{$company->logo}")))}}" alt="{{$company->name}}" class="company_logo" style="max-width: 150px;"> 20 </div> 227 @if($row->discounts) 228 @php 229 $total_discount_line = 0; 232 } 233 @endphp 234 {{ number_format($total_discount_line, 2) }} 323 <strong>PAGOS:</strong> </td></tr> 324 @php 325 $payment = 0;class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
1<?php 2 238 $signer = new Main\Security\Sign\Signer; 239 $this->arResult['$signedParams'] = $signer->sign(base64_encode(serialize($this->arParams)), 'sale.order.payment.change'); 240 }sale_note_a4.blade.php https://gitlab.com/laher01/factu40 | PHP | 300 lines
1@php 2 $establishment = $document->establishment; 10 11@endphp 12<html> 22 <div class="company_logo_box"> 23 <img src="data:{{mime_content_type(public_path("storage/uploads/logos/{$company->logo}"))}};base64, {{base64_encode(file_get_contents(public_path("storage/uploads/logos/{$company->logo}")))}}" alt="{{$company->name}}" class="company_logo" style="max-width: 150px;"> 24 </div> 164 @inject('itemLotGroup', 'App\Services\ItemLotsGroupService') 165 @php 166 $lot_code = isset($row->item->lots_group) ? collect($row->item->lots_group)->first(function($row){ return $row->checked == true;}):null; 166 $lot_code = isset($row->item->lots_group) ? collect($row->item->lots_group)->first(function($row){ return $row->checked == true;}):null; 167 @endphp 168 {{ 185 @if($row->discounts) 186 @php 187 $total_discount_line = 0;WebhookTesting.php https://gitlab.com/cividesk-civicrm/com.cividesk.payment.braintree | 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);SAMLFlowTest.php https://bitbucket.org/hatim_alam/sugar-8.git | PHP | 335 lines
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 }google.php https://gitlab.com/Ltaimao/wecenter | PHP | 210 lines
1<?php 2/* 137 { 138 $redirect_url .= 'url-' . base64_encode($state['return_url']); 139 }function.fetch.php https://gitlab.com/piotr-zuralski/demo-zuralski-trojmiastopl-articles | 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 }Curl.php https://gitlab.com/blingbang2016/shop | PHP | 576 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-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 205 $this->_auth['password'] = $pass; 206 //$val= base64_encode( "$login:$pass" ); 207 //$this->addHeader( "Authorization", "Basic $val" ); 252 * 253 * @param string $uri uri relative to host, ex. "/index.php" 254 */blog_item.php https://bitbucket.org/asosso/joomla25.git | PHP | 175 lines
1<?php 2/** 21 22<?php if ($this->item->state == 0) : ?> 23<div class="system-unpublished"> 23<div class="system-unpublished"> 24<?php endif; ?> 25<?php if ($params->get('show_title')) : ?> 26 <h2> 27 <?php if ($params->get('link_titles') && $params->get('access-view')) : ?> 28 <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"> 28 <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"> 29 <?php echo $this->escape($this->item->title); ?></a> 30 <?php else : ?> 133 endif; ?> 134 src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/> 135 </div>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))hash.js https://gitlab.com/vincent.perdereau/picandparts | 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-2016 X.commerce, Inc. and affiliates (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 += "==";quotation_a4.blade.php https://gitlab.com/laher01/factu40 | PHP | 221 lines
1@php 2 $establishment = $document->establishment; 5 $tittle = $document->prefix.'-'.str_pad($document->id, 8, '0', STR_PAD_LEFT); 6@endphp 7<html> 17 <div class="company_logo_box"> 18 <img src="data:{{mime_content_type(public_path("storage/uploads/logos/{$company->logo}"))}};base64, {{base64_encode(file_get_contents(public_path("storage/uploads/logos/{$company->logo}")))}}" alt="{{$company->name}}" class="company_logo" style="max-width: 150px;"> 19 </div> 142 @if($row->discounts) 143 @php 144 $total_discount_line = 0; 147 } 148 @endphp 149 {{ number_format($total_discount_line, 2) }}addmedia.php https://gitlab.com/ppapadatis/Videolearn | PHP | 188 lines
1<?php 2/** 2/** 3 * @version SVN $Id: addmedia.php 1014 2013-01-30 14:36:00Z dhorsfall $ 4 * @package hwdMediaShare 57 { 58 JFactory::getApplication()->enqueueMessage(JText::sprintf('COM_HWDMS_SUCCESSFULLY_UPLOADED_X', $model->_title).' (<a href="index.php?option=com_hwdmediashare&task=mediaform.edit&id='.$model->_id.'&return='.base64_encode(hwdMediaShareHelperRoute::getMediaItemRoute($model->_id)).'">'.JText::_('COM_HWDMS_EDIT_MEDIA').'</a>)'); 59 $this->setRedirect(hwdMediaShareHelperRoute::getMediaItemRoute($model->_id)); 102 { 103 JFactory::getApplication()->enqueueMessage(JText::sprintf('COM_HWDMS_SUCCESSFULLY_UPLOADED_X', $model->_title).' (<a href="index.php?option=com_hwdmediashare&task=mediaform.edit&id='.$model->_id.'">'.JText::_('COM_HWDMS_EDIT_MEDIA').'</a>)'); 104 $this->setRedirect(hwdMediaShareHelperRoute::getMyMediaRoute()); 146 { 147 JFactory::getApplication()->enqueueMessage(JText::sprintf('COM_HWDMS_SUCCESSFULLY_ADDED_X', $model->_title).' (<a href="index.php?option=com_hwdmediashare&task=mediaform.edit&id='.$model->_id.'&return='.base64_encode(hwdMediaShareHelperRoute::getMediaItemRoute($model->_id)).'">'.JText::_('COM_HWDMS_EDIT_MEDIA').'</a>)'); 148 $this->setRedirect(hwdMediaShareHelperRoute::getMediaItemRoute($model->_id));callback.php https://bitbucket.org/ngmares/moodle.git | PHP | 81 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 24 */ 25require_once(dirname(dirname(dirname(__FILE__))).'/config.php'); 26$json = required_param('tlelinks', PARAM_RAW); 57 58$source = base64_encode(serialize((object)array('url'=>$url,'filename'=>$filename))); 59xmlrpc.php https://github.com/Xobb/kohana-gravatar.git | PHP | 309 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 13 * @copyright (c) 2009-2010 Kohana Team 14 * @license http://kohanaphp.com/license 15 */ 163 // Encode the image resource 164 $encoded_image = base64_encode($resource); 165 236 * Processes an XML-RPC response based on the method and parameters passed 237 * to it. This method uses PHP streams over cURL, which makes it available 238 * to the vast majority of systems.index.php https://bitbucket.org/mkjinesh/pcs.git | PHP | 57 lines
1<?php 2error_reporting(0); 3define('ok',1); 4$page = "home.php"; 5mysql_connect("localhost", "root", "amma") or die('Error'); 12 } else { 13 setcookie('auth', base64_encode($_POST['login'].'|'.$_POST['pwd'])); 14 header("Location: ./index.php"); 28 echo 'Hello, '.$login.'!<br>Your country: '.$country.'<br>City: '.$city.'<br>Phone number: '.$phone.'<br>Secret PIN-code: '.$pin.'<br>'; 29 echo '<br><a href="?page=home.php">home</a>'; 30 echo '<br><a href="?page=news.php">news</a>'; 30 echo '<br><a href="?page=news.php">news</a>'; 31 echo '<br><a href="?page=download.php">download</a>'; 32 echo '<br><a href="?page=users.php">Users</a><br><br>'; 34 35 $whitelist = array('news.php', 'home.php', 'download.php','users.php'); 36 if (isset($_GET['page'])) {S3Signature.php https://gitlab.com/x33n/respond | PHP | 268 lines
1<?php 2/** 135 { 136 return base64_encode(hash_hmac('sha1', $string, $credentials->getSecretKey(), true)); 137 }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>admin-framework-settings.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 306 lines
59 $framework_options[] = array( "name" => "Enable Custom Navigation", 60 "desc" => "Enable the old <strong>Custom Navigation</strong> menu item. Try to use <a href='".home_url()."/wp-admin/nav-menus.php'>WP Menus</a> instead, as this function is outdated.", 61 "id" => $shortname."_woonav", 219 <form action="" enctype="multipart/form-data" id="wooform" method="post"> 220 <?php 221 // Add nonce for added security. 241 <img alt="WooThemes" src="<?php echo get_template_directory_uri(); ?>/functions/images/logo.png"/> 242 <?php } ?> 243 </div> 244 <div class="theme-info"> 245 <span class="theme"><?php echo $themename; ?> <?php echo $local_version; ?></span> 246 <span class="framework">Framework <?php echo $woo_framework_version; ?></span> 251 <ul> 252 <li class="changelog"><a title="Theme Changelog" href="<?php echo $manualurl; ?>#Changelog">View Changelog</a></li> 253 <li class="docs"><a title="Theme Documentation" href="<?php echo $manualurl; ?>">View Themedocs</a></li>Attribute.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 372 lines
1<?php 2/** 277 } 278 return $method . base64_encode($rawHash); 279 }Utils.php https://gitlab.com/unofficial-mirrors/moodle | 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.phpdownloads-list.php https://gitlab.com/Fraternal-Group/fraternal | 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>Profiler.php https://gitlab.com/judielsm/Handora | PHP | 296 lines
1<?php 2 142 { 143 return base64_encode(serialize($profile)); 144 } 177 * 178 * @see http://php.net/manual/en/datetime.formats.php for the supported date/time formats 179 */sale_note_ticket.blade.php https://gitlab.com/laher01/factu40 | PHP | 216 lines
1@php 2 $establishment = $document->establishment; 8 9@endphp 10<html> 18 <div class="text-center company_logo_box pt-5"> 19 <img src="data:{{mime_content_type(public_path("storage/uploads/logos/{$company->logo}"))}};base64, {{base64_encode(file_get_contents(public_path("storage/uploads/logos/{$company->logo}")))}}" alt="{{$company->name}}" class="company_logo_ticket contain"> 20 </div> 203 <tr><td><strong>PAGOS:</strong> </td></tr> 204 @php 205 $payment = 0; 205 $payment = 0; 206 @endphp 207 @foreach($payments as $row) 208 <tr><td>- {{ $row->date_of_payment->format('d/m/Y') }} - {{ $row->payment_method_type->description }} - {{ $row->reference ? $row->reference.' - ':'' }} {{ $document->currency_type->symbol }} {{ $row->payment }}</td></tr> 209 @php 210 $payment += (float) $row->payment;CetakBarcode.php https://gitlab.com/alfiantaufani/koperasi-tugas-kuliah | PHP | 59 lines
1<?php 2defined('BASEPATH') OR exit('No direct script access allowed'); 27 { 28 require 'vendor/autoload.php'; 29 $generator = new Picqer\Barcode\BarcodeGeneratorPNG(); 38 <br> 39 <img src="data:image/png;base64,' . base64_encode($generator->getBarcode($data->barcode_sendiri, $generator::TYPE_CODE_128, $height, $width)) . '"> 40 <br>accounts.activation.php https://gitlab.com/Nightprince/Warcry-CMS | PHP | 263 lines
1<?php 2if (!defined('init_engine')) 77 { 78 return base64_encode($this->key); 79 } 128 ** - Returned when the accounts query failed 129 ** - Returned when the PHPMailer class failed to send mail 130 ** -------------------------------------------------------------------------------------------- 135 136 //setup the PHPMailer class 137 $mail = new PHPMailerLite(); 161 $search = array('{FIRST_NAME}', '{LAST_NAME}', '{URL}'); 162 $replace = array($row['firstName'], $row['lastName'], $config['BaseURL'] . '/index.php?page=activation&key=' . $this->get_encodedKey()); 163 $message = str_replace($search, $replace, $message);view.html.php https://gitlab.com/ppapadatis/Videolearn | PHP | 284 lines
1<?php 2/** 2/** 3 * @version SVN $Id: view.html.php 1184 2013-02-25 15:34:00Z dhorsfall $ 4 * @package hwdMediaShare 53 hwdMediaShareFactory::load('files'); 54 JLoader::register('JHtmlHwdIcon', JPATH_COMPONENT . '/helpers/icon.php'); 55 89 $this->assign('columns', $params->get('list_columns', 3)); 90 $this->assign('return', base64_encode(JFactory::getURI()->toString())); 91 190 $pluginClass = 'plgHwdmediashare'.$config->get('platform'); 191 $pluginPath = JPATH_ROOT.'/plugins/hwdmediashare/'.$config->get('platform').'/'.$config->get('platform').'.php'; 192htmlpurifier.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 316 lines
1<?php 2 12 * For help migrating from your previous markup language to pure HTML 13 * please check the migrate.bbcode.php file. 14 * 92 if (!$message_id && defined('PHORUM_CONTROL_CENTER')) { 93 // we're in control.php, so it was double-escaped 94 $body = str_replace(array('<','>','&', '"'), array('<','>','&','"'), $body); 106 $updated_message['meta'] = $message['meta']; 107 $updated_message['meta']['body_cache'] = base64_encode($body); 108 $updated_message['meta']['body_cache_serial'] = $cache_serial; 122// ----------------------------------------------------------------------- 123// This is fragile code, copied from read.php:596 (Phorum 5.2.6). Please 124// keep this code in-sync with Phorum 205 * Ensure that our format hook is processed last. Also, loads the library. 206 * @credits <http://secretsauce.phorum.org/snippets/make_bbcode_last_formatter.php.txt> 207 */member_connect_register.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 127 lines
1<?php 2 6 * 7 * $Id: member_connect_register.php 28644 2012-03-06 13:44:19Z houdelei $ 8 */ 96 dsetcookie('connect_js_name', 'user_bind', 86400); 97 dsetcookie('connect_js_params', base64_encode(serialize(array('type' => 'register'))), 86400); 98 dsetcookie('connect_login', 1, 31536000);CrashDump.php https://gitlab.com/matthww/Elywing | PHP | 259 lines
1<?php 2 134 135 if($this->server->getProperty("auto-report.send-phpinfo", true) !== false){ 136 ob_start(); 136 ob_start(); 137 phpinfo(); 138 $this->data["phpinfo"] = ob_get_contents(); 235 $this->data["general"]["uname"] = php_uname("a"); 236 $this->data["general"]["php"] = phpversion(); 237 $this->data["general"]["zend"] = zend_version(); 237 $this->data["general"]["zend"] = zend_version(); 238 $this->data["general"]["php_os"] = PHP_OS; 239 $this->data["general"]["os"] = Utils::getOS(); 241 $this->addLine("uname -a: " . php_uname("a")); 242 $this->addLine("PHP version: " . phpversion()); 243 $this->addLine("Zend version: " . zend_version());Abstract.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);SiteController.php https://gitlab.com/irvanresna/sensasi | PHP | 168 lines
1<?php 2 16 // page action renders "static" pages stored under 'protected/views/site/pages' 17 // They can be accessed via: index.php?r=site/page&view=FileName 18 'page'=>array( 29 { 30 // renders the view file 'protected/views/site/index.php' 31 // using the default layout 'protected/views/layouts/main.php' 37 38 // renders the view file 'protected/views/site/index.php' 39 // using the default layout 'protected/views/layouts/main.php' 47 48 // renders the view file 'protected/views/site/index.php' 49 // using the default layout 'protected/views/layouts/main.php' 57 58 // renders the view file 'protected/views/site/index.php' 59 // using the default layout 'protected/views/layouts/main.php'Api.php https://gitlab.com/billyprice1/bdApi | PHP | 274 lines
1<?php 2 9 $url = call_user_func_array('sprintf', array( 10 '%s/index.php?oauth/authorize/&client_id=%s&redirect_uri=%s&response_type=code&scope=%s', 11 rtrim($provider['root'], '/'), 19 ) { 20 $extraParams['state'] = base64_encode(json_encode(array( 21 'time' => XenForo_Application::$time, 35 return call_user_func_array('sprintf', array( 36 '%s/index.php?tools/login&oauth_token=%s&redirect_uri=%s', 37 rtrim($provider['root'], '/'), 45 return call_user_func_array('sprintf', array( 46 '%s/index.php?tools/logout&oauth_token=%s&redirect_uri=%s', 47 rtrim($provider['root'], '/'), 214 $uri = call_user_func_array('sprintf', array( 215 '%s/index.php?%s', 216 rtrim($provider['root'], '/'),CHANGELOG.md https://gitlab.com/reasonat/test8 | Markdown | 128 lines
14 - implemented different session locking strategies to prevent loss of data by concurrent access to the same session 15 - [BC BREAK] save session data in a binary column without base64_encode 16 - [BC BREAK] added lifetime column to the session table which allows to have different lifetimes for each session 67 * [BC BREAK] moved management of the locale from the Session class to the Request class 68 * added a generic access to the PHP built-in filter mechanism: ParameterBag::filter() 69 * made FileBinaryMimeTypeGuesser command configurable 71 * added support for the PATCH method in Request 72 * removed the ContentTypeMimeTypeGuesser class as it is deprecated and never used on PHP 5.3 73 * added ResponseHeaderBag::makeDisposition() (implements RFC 6266) 80 * Added internal storage driver proxy mechanism for forward compatibility with 81 PHP 5.4 `\SessionHandler` class. 82 * Added session handlers for custom Memcache, Memcached and Null session save handlers. 86 is a mediator for the session storage internals including the session handlers 87 which do the real work of participating in the internal PHP session workflow. 88 * [BC BREAK] Introduced mock implementations of `SessionStorage` to enable unitautoptimizeBase.php https://gitlab.com/hop23typhu/list-theme | PHP | 317 lines
1<?php 2if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 38 } 39 } else if ((strpos($url,'//')===false) && (strpos($url,parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST))===false)) { 40 $url = AUTOPTIMIZE_WP_SITE_URL.$url; 43 // first check; hostname wp site should be hostname of url 44 $thisHost=@parse_url($url,PHP_URL_HOST); 45 if ($thisHost!==parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST)) { 59 if (!empty($this->cdn_url)) { 60 $multidomains[]=parse_url($this->cdn_url,PHP_URL_HOST); 61 } 66 if (in_array($thisHost,$multidomains)) { 67 $url=str_replace($thisHost, parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST), $url); 68 } else { 98 // do the actual parse_url 99 $out = parse_url($in,PHP_URL_HOST); 100view.html.php https://gitlab.com/ppapadatis/Videolearn | PHP | 153 lines
1<?php 2/** 2/** 3 * @version SVN $Id: view.html.php 459 2012-08-13 12:58:37Z dhorsfall $ 4 * @package hwdMediaShare 36 hwdMediaShareFactory::load('files'); 37 JLoader::register('JHtmlHwdIcon', JPATH_COMPONENT . '/helpers/icon.php'); 38 JLoader::register('JHtmlString', JPATH_LIBRARIES.'/joomla/html/html/string.php'); 68 $this->assign('display', $state->get('media.display')); 69 $this->assign('return', base64_encode(JFactory::getURI()->toString())); 70OAuth.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 201 lines
1<?php 2 6 * 7 * $Id: OAuth.php 29306 2012-04-01 03:42:53Z houdelei $ 8 */ 80 $utilService = Cloud::loadClass('Service_Util'); 81 return base64_encode($utilService->hashHmac('sha1', $str, $key, true)); 82 }icon.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 299 lines
1<?php 2/** 37 38 $url = 'index.php?option=com_content&task=article.add&return=' . base64_encode($uri) . '&a_id=0&catid=' . $category->id; 39 84 { 85 require_once JPATH_SITE . '/components/com_mailto/helpers/mailto.php'; 86 90 $link = $base . JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catid, $article->language), false); 91 $url = 'index.php?option=com_mailto&tmpl=component&template=' . $template . '&link=' . MailToHelper::addLink($link); 92 176 177 $url = 'index.php?option=com_content&task=article.edit&a_id=' . $article->id . '&return=' . base64_encode($uri); 178base64.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 267 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{ 219 Encodes string using MIME base64 algorithm */ 220PHP_FUNCTION(base64_encode) 221{ 228 } 229 result = php_base64_encode((unsigned char*)str, str_len, &ret_length); 230 if (result != NULL) {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 }smtp.php https://gitlab.com/alexprowars/bitrix | PHP | 512 lines
1<?php 2 275 "AUTH PLAIN\x00%s", 276 base64_encode(sprintf( 277 "\x00%s\x00%s", 288 "AUTH LOGIN\x00%s\x00%s", 289 base64_encode($this->options['login']), 290 base64_encode($this->options['password'])database.php https://gitlab.com/seckmaster/Cloud-password | PHP | 146 lines
1<?php 2 $host = "localhost"; // Host name 26 27 // encrypts string (source: http://alias.io/2010/01/store-passwords-safely-with-php-and-mysql/) 28 function _Crypt($string) { 28 function _Crypt($string) { 29 $salt = strtr(base64_encode(mcrypt_create_iv(16, MCRYPT_DEV_URANDOM)), '+', '.'); 30 $cost = 10; 44 $_SESSION["user"] = $username; 45 header("Location: ../user/index.php"); 46 exit();settings-data.php https://gitlab.com/Gashler/sg | PHP | 292 lines
1<?php 2/** 56 //Encode 57 $export = base64_encode(serialize($export)); 58broadcast_server.class.php https://gitlab.com/x33n/ampache | PHP | 442 lines
1<?php 2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */ 155 $broadcast->update_song($song_id); 156 $this->broadcastMessage($clients, self::BROADCAST_SONG, base64_encode($this->getSongJS($song_id))); 157 295 // Send current song and song position to 296 $this->broadcastMessage(array($from), self::BROADCAST_SONG, base64_encode($this->getSongJS($broadcast->song))); 297 $this->broadcastMessage(array($from), self::BROADCAST_SONG_POSITION, $broadcast->song_position);parse.php https://gitlab.com/fabiorf/parse.com-php-library | 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);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;Widget.php https://gitlab.com/yousafsyed/easternglamor | PHP | 417 lines
1<?php 2/** 388 { 389 return strtr(base64_encode($string), '+/=', ':_-'); 390 }Installer.php https://gitlab.com/Skull3x/GladiatorMine | PHP | 223 lines
1<?php 2 181 $config->set("enable-rcon", true); 182 $password = substr(base64_encode(@Utils::getRandomBytes(20, false)), 3, 10); 183 $config->set("rcon.password", $password);password.c https://gitlab.com/envieidoc/tomato | C | 460 lines
22 23#include "php.h" 24#if HAVE_CRYPT 48 49static char* php_password_get_algo_name(const php_password_algo algo) 50{ 59 60static php_password_algo php_password_determine_algo(const char *hash, const size_t len) 61{ 89 } 90 buffer = php_base64_encode((unsigned char*) str, (int) str_len, (int*) &ret_len); 91 if (ret_len < out_len) { 160 result = safe_emalloc(length, 1, 1); 161 if (php_password_salt_to64(buffer, raw_length, length, result) == FAILURE) { 162 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Generated salt too short");BigMath.php https://gitlab.com/x33n/ampache | PHP | 451 lines
1<?php 2 6 * 7 * PHP versions 4 and 5 8 * 20 */ 21require_once 'Auth/OpenID/CryptUtil.php'; 22 25 */ 26require_once 'Auth/OpenID.php'; 27 39 * 40 * @param integer $long The long number (can be a normal PHP 41 * integer or a number created by one of the available long number 124 { 125 return base64_encode($this->longToBinary($str)); 126 }Client.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 427 lines
1<?php 2 134 $curlVersion = curl_version(); 135 return $this->userAgentPrefix . 'MaxMind-WS-API/' . Client::VERSION . ' PHP/' . PHP_VERSION . 136 ' curl/' . $curlVersion['version']; 143 'Authorization: Basic ' 144 . base64_encode($this->userId . ':' . $this->licenseKey), 145 'Accept: application/json'Plain.php https://gitlab.com/rsilveira1987/Expresso | PHP | 96 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Plain.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 21 */ 26 */ 27require_once 'Zend/Mail/Protocol/Smtp.php'; 28 91 $this->_expect(334); 92 $this->_send(base64_encode(chr(0) . $this->_username . chr(0) . $this->_password)); 93 $this->_expect(235);view.html.php https://gitlab.com/ppapadatis/Videolearn | PHP | 218 lines
1<?php 2/** 2/** 3 * @version SVN $Id: view.html.php 917 2013-01-16 10:58:32Z dhorsfall $ 4 * @package hwdMediaShare 41 hwdMediaShareFactory::load('utilities'); 42 JLoader::register('JHtmlHwdIcon', JPATH_COMPONENT . '/helpers/icon.php'); 43 JLoader::register('JHtmlString', JPATH_LIBRARIES.'/joomla/html/html/string.php'); 63 $this->assign('columns', $params->get('list_columns', 3)); 64 $this->assign('return', base64_encode(JFactory::getURI()->toString())); 65plg.inc.php https://github.com/drietsch/newcms.git | PHP | 304 lines
1<?php 2/** 21 22include_once ($_SERVER["DOCUMENT_ROOT"] . "/webEdition/we/include/we.inc.php"); 23include_once ($_SERVER["DOCUMENT_ROOT"] . "/webEdition/we/include/we_classes/html/we_button.inc.php"); 23include_once ($_SERVER["DOCUMENT_ROOT"] . "/webEdition/we/include/we_classes/html/we_button.inc.php"); 24include_once ($_SERVER['DOCUMENT_ROOT'] . "/webEdition/we/include/we_classes/html/we_multibox.inc.php"); 25include_once ($_SERVER['DOCUMENT_ROOT'] . "/webEdition/we/include/we_classes/html/we_htmlSelect.inc.php"); 25include_once ($_SERVER['DOCUMENT_ROOT'] . "/webEdition/we/include/we_classes/html/we_htmlSelect.inc.php"); 26include_once ($_SERVER["DOCUMENT_ROOT"] . "/webEdition/we/include/we_language/" . $GLOBALS["WE_LANGUAGE"] . "/cockpit.inc.php"); 27include_once ($_SERVER["DOCUMENT_ROOT"] . "/webEdition/we/include/we_widgets/dlg/prefs.inc.php"); 71function dn64(){ 72 return opener.base64_encode(dn()); 73} 108$_userName = $_SESSION['user']['Username']; 109@require ($_SERVER["DOCUMENT_ROOT"] . WE_TRACKER_DIR . "/includes/showme.inc.php"); 110//$_dns = getDomainList($_userName,$_md5passwd);invoice_a4.blade.php https://gitlab.com/laher01/factu40 | PHP | 338 lines
1@php 2 $establishment = $document->establishment; 17 18@endphp 19<html> 29 <div class="company_logo_box"> 30 <img src="data:{{mime_content_type(public_path("storage/uploads/logos/{$company->logo}"))}};base64, {{base64_encode(file_get_contents(public_path("storage/uploads/logos/{$company->logo}")))}}" alt="{{$company->name}}" class="company_logo" style="max-width: 150px;"> 31 </div> 225 @if($row->discounts) 226 @php 227 $total_discount_line = 0; 230 } 231 @endphp 232 {{ number_format($total_discount_line, 2) }}upgrade.php https://bitbucket.org/moodle/moodle.git | PHP | 139 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 47 if ($apikey = get_config('block_tag_youtube', 'apikey')) { 48 require_once($CFG->libdir . '/google/lib.php'); 49 $client = get_google_client(); 125 126 $blockinstance->configdata = base64_encode(serialize($blockconfig)); 127 $DB->update_record('block_instances', $blockinstance);blog_item.php https://gitlab.com/ricardosanchez/prueba | PHP | 172 lines
1<?php 2/** 19 20<?php if ($this->item->state == 0 || strtotime($this->item->publish_up) > strtotime(JFactory::getDate()) 21 || ((strtotime($this->item->publish_down) < strtotime(JFactory::getDate())) && $this->item->publish_down != '0000-00-00 00:00:00' )) : ?> 22<div class="system-unpublished"> 23<?php endif; ?> 24<?php if ($params->get('show_title')) : ?> 25 <h2> 26 <?php if ($params->get('link_titles') && $params->get('access-view')) : ?> 27 <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"> 27 <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"> 28 <?php echo $this->escape($this->item->title); ?></a> 29 <?php else : ?> 129 endif; ?> 130 src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/> 131 </div>Encrypter.php https://gitlab.com/nmhieucoder/laravel_tintuc | PHP | 240 lines
1<?php 2 98 99 // Once we get the encrypted value we'll go ahead and base64_encode the input 100 // vector and create the MAC for the encrypted value so we can then verify 101 // its authenticity. Then, we'll JSON the data into the "payload" array. 102 $mac = $this->hash($iv = base64_encode($iv), $value); 103 109 110 return base64_encode($json); 111 }AuthenticationHttpTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 458 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin-test 7 */ 10 11require_once 'libraries/config.default.php'; 12require_once 'test/PMATestCase.php'; 16 * 17 * @package PhpMyAdmin-test 18 */ 141 $_REQUEST['old_usr'] = '1'; 142 $GLOBALS['cfg']['Server']['LogoutURL'] = 'http://phpmyadmin.net/logout'; 143 145 0, 0, 0, 146 array('Location: http://phpmyadmin.net/logout' . ((SID) ? '?' . SID : '')) 147 );default.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 93 lines
13 <?php echo $this->folderList; ?> 14 <button type="button" id="upbutton" title="<?php echo JText::_('Directory Up') ?>"><?php echo JText::_('Up') ?></button> 15 </div> 20 </fieldset> 21 <iframe id="imageframe" name="imageframe" src="index.php?option=com_media&view=imagesList&tmpl=component&folder=<?php echo $this->state->folder?>"></iframe> 22 30 <select size="1" id="f_align" title="Positioning of this image"> 31 <option value="" selected="selected"><?php echo JText::_('Not Set') ?></option> 32 <option value="left"><?php echo JText::_('Left') ?></option> 78<?php if ($canUpload) : ?> 79 <form action="<?php echo JURI::base(); ?>index.php?option=com_media&task=file.upload&tmpl=component&<?php echo $this->session->getName().'='.$this->session->getId(); ?>&pop_up=1&<?php echo JUtility::getToken();?>=1" id="uploadForm" method="post" enctype="multipart/form-data"> 80 <fieldset> 90 </fieldset> 91 <input type="hidden" name="return-url" value="<?php echo base64_encode('index.php?option=com_media&view=images&tmpl=component&e_name='.JRequest::getCmd('e_name')); ?>" /> 92</form>class-itsec-ipcheck.php https://gitlab.com/sokeara/ayana-journeys | PHP | 392 lines
1<?php 2 190 * 191 * there is a native PHP hmac function, but we use this one for 192 * the widest compatibility with older PHP versions 213 214 return base64_encode( $hmac ); 215helper.php https://gitlab.com/ppapadatis/Videolearn | PHP | 209 lines
1<?php 2/** 2/** 3 * @version $Id: helper.php 1665 2012-10-01 10:04:50Z lefteris.kavadas $ 4 * @package K2 11 12JLoader::register('K2HelperRoute', JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'route.php'); 13JLoader::register('K2HelperUtilities', JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'utilities.php'); 34 35 return base64_encode($url); 36 } 58 59 require_once (JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'permissions'.'.php'); 60 64 if (K2HelperPermissions::canAddItem()) 65 $profile->addLink = JRoute::_('index.php?option=com_k2&view=item&task=add&tmpl=component'); 66yandex_setup.php https://gitlab.com/Rad1calDreamer/honey | PHP | 463 lines
2//<title>Yandex</title> 3IncludeModuleLangFile($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/catalog/export_setup_templ.php'); 4 24 { 25 $XML_DATA = base64_encode(stripslashes($arOldSetupVars['XML_DATA'])); 26 } 28 { 29 $XML_DATA = base64_encode($arOldSetupVars['XML_DATA']); 30 } 134 "TITLE"=>GetMessage("CATI_ADM_RETURN_TO_LIST_TITLE"), 135 "LINK"=>"/bitrix/admin/cat_export_setup.php?lang=".LANGUAGE_ID, 136 "ICON"=>"btn_list", 198 ), 199 "ClearSelected(); BX('id_ifr').src='/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID=0&'+'".bitrix_sessid_get()."';", 200 "ClearSelected(); BX('id_ifr').src='/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID='+this[this.selectedIndex].value+'&'+'".bitrix_sessid_get()."';",BinaryFileResponse.php https://gitlab.com/jjpa2018/dashboard | PHP | 363 lines
1<?php 2 20 * @author Niklas Fiekas <niklas.fiekas@tu-clausthal.de> 21 * @author stealth35 <stealth35-php@live.fr> 22 * @author Igor Wiedler <igor@wiedler.ch> 146 { 147 $this->setEtag(base64_encode(hash_file('sha256', $this->file->getPathname(), true))); 148 305 306 $out = fopen('php://output', 'w'); 307 $file = fopen($this->file->getPathname(), 'r');interp-builtin.cpp https://gitlab.com/alvinahmadov2/hhvm | C++ | 374 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 15*/ 16#include "hphp/hhbbc/interp.h" 17class-wp-importer.php https://gitlab.com/morganestes/wordpress-develop | PHP | 333 lines
1<?php 2/** 213 if ( ! empty( $username ) && ! empty( $password ) ) { 214 $headers['Authorization'] = 'Basic ' . base64_encode( "$username:$password" ); 215 }BinaryType.php https://gitlab.com/ViniciusP/project-games | PHP | 82 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://cakephp.org CakePHP(tm) Project 12 * @since 3.0.0 12 * @since 3.0.0 13 * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 */ 25 * 26 * Use to convert binary data between PHP and the database types. 27 */ 53 */ 54 public function toPHP($value, Driver $driver) 55 {media.php https://gitlab.com/ppapadatis/Videolearn | PHP | 309 lines
15{ 16 require_once( JPATH_BASE.'/components/com_community/libraries/core.php'); 17} 42 43 JLoader::register('hwdMediaShareFactory', JPATH_ROOT.'/components/com_hwdmediashare/libraries/factory.php'); 44 JLoader::register('hwdMediaShareHelperRoute', JPATH_ROOT.'/components/com_hwdmediashare/helpers/route.php'); 215 hwdMediaShareFactory::load('downloads'); 216 JLoader::register('JHtmlHwdIcon', JPATH_SITE.'/components/com_hwdmediashare/helpers/icon.php'); 217 $doc = JFactory::getDocument(); 237 <div class="media-item-format-1-<?php echo $item->media_type; ?>"> 238 <img src="<?php echo JHtml::_('hwdicon.overlay', '1-'.$item->media_type, $item); ?>" alt="<?php echo JText::_('COM_HWDMS_MEDIA_TYPE'); ?>" /> 239 </div> 267 { 268 require_once(JPATH_SITE.'/components/com_community/libraries/core.php'); 269 require_once(JPATH_SITE.'/components/com_community/libraries/error.php');cardconnect.php https://gitlab.com/dadangnh/sb1-bon | PHP | 171 lines
1<?php 2class ModelExtensionPaymentCardConnect extends Model { 127 $header[] = 'Content-type: application/json'; 128 $header[] = 'Authorization: Basic ' . base64_encode($this->config->get('cardconnect_api_username') . ':' . $this->config->get('cardconnect_api_password')); 129Encrypter.php https://gitlab.com/techniconline/kmc | PHP | 302 lines
1<?php namespace Illuminate\Encryption; 2 60 61 $value = base64_encode($this->padAndMcrypt($value, $iv)); 62 62 63 // Once we have the encrypted value we will go ahead base64_encode the input 64 // vector and create the MAC for the encrypted value so we can verify its 65 // authenticity. Then, we'll JSON encode the data in a "payload" array. 66 $mac = $this->hash($iv = base64_encode($iv), $value); 67 67 68 return base64_encode(json_encode(compact('iv', 'value', 'mac'))); 69 }cqglobalMP.inc.php https://gitlab.com/nacridan/Nacridan | PHP | 133 lines
1<?php 2 37 38 require_once (HOMEPATH . "/factory/MailFactory.inc.php"); 39 97 98 $str .= "<input type='hidden' name='title' value='" . base64_encode($title) . "'/>"; 99 $str .= "<input type='hidden' name='MPcontent' value='" . base64_encode($MPcontent) . "'/>";interface.php https://bitbucket.org/mrmustarde/manhattan-beach.git | PHP | 293 lines
26 27 <a href="<?php echo wp_nonce_url( admin_url( 'tools.php?page=' . HMBKP_PLUGIN_SLUG . '&hmbkp_download_backup=' . $encoded_file . '&hmbkp_schedule_id=' . $schedule->get_id() ), 'hmbkp-download_backup' ); ?>"><?php _e( 'Download', 'hmbkp' ); ?></a> | 28 <a href="<?php echo wp_nonce_url( admin_url( 'tools.php?page=' . HMBKP_PLUGIN_SLUG . '&hmbkp_delete_backup=' . $encoded_file . '&hmbkp_schedule_id=' . $schedule->get_id() ), 'hmbkp-delete_backup' ); ?>" class="delete-action"><?php _e( 'Delete', 'hmbkp' ); ?></a> 71 function hmbkp_safe_mode_warning() { 72 echo '<div id="hmbkp-warning" class="updated fade"><p><strong>' . __( 'BackUpWordPress has detected a problem.', 'hmbkp' ) . '</strong> ' . sprintf( __( '%1$s is running in %2$s, please contact your host and ask them to disable it. BackUpWordPress may not work correctly whilst %3$s is on.', 'hmbkp' ), '<code>PHP</code>', sprintf( '<a href="%1$s">%2$s</a>', __( 'http://php.net/manual/en/features.safe-mode.php', 'hmbkp' ), __( 'Safe Mode', 'hmbkp' ) ), '<code>' . __( 'Safe Mode', 'hmbkp' ) . '</code>' ) . '</p></div>'; 73 } 244 245 <span class="hmbkp-status"><?php echo $schedule->get_status() ? $schedule->get_status() : __( 'Starting Backup', 'hmbkp' ); ?> <a href="<?php echo add_query_arg( array( 'action' => 'hmbkp_cancel', 'hmbkp_schedule_id' => $schedule->get_id() ), HMBKP_ADMIN_URL ); ?>"><?php _e( 'cancel', 'hmbkp' ); ?></a></span> 246 251 <?php if ( $schedule->get_type() !== 'database' ) { ?> 252 <a class="fancybox" href="<?php echo add_query_arg( array( 'action' => 'hmbkp_edit_schedule_excludes_load', 'hmbkp_schedule_id' => $schedule->get_id() ), admin_url( 'admin-ajax.php' ) ); ?>"><?php _e( 'Excludes', 'hmbkp' ); ?></a> | 253 <?php } ?> 254 255 <a class="hmbkp-run" href="<?php echo add_query_arg( array( 'action' => 'hmbkp_run_schedule', 'hmbkp_schedule_id' => $schedule->get_id() ), admin_url( 'admin-ajax.php' ) ); ?>"><?php _e( 'Run now', 'hmbkp' ); ?></a> | 256Base64ContentEncoderTest.php https://gitlab.com/vince.omega/mcb-nov-build | PHP | 298 lines
1<?php 2 2 3require_once 'Swift/Tests/SwiftUnitTestCase.php'; 4require_once 'Swift/Mime/ContentEncoder/Base64ContentEncoder.php'; 4require_once 'Swift/Mime/ContentEncoder/Base64ContentEncoder.php'; 5require_once 'Swift/OutputByteStream.php'; 6require_once 'Swift/InputByteStream.php'; 36 There's really no point in testing the entire base64 encoding to the 37 level QP encoding has been tested. base64_encode() has been in PHP for 38 years.TwitterAPIExchange.php https://gitlab.com/samina100/saviour | PHP | 263 lines
1<?php 2 3/** 4* Twitter-API-PHP : Simple PHP wrapper for the v1.1 API 5* 5* 6* PHP version 5.3.10 7* 8* @category Awesomeness 9* @package Twitter-API-PHP 10* @author James Mallison <me@j7mbo.co.uk> 10* @author James Mallison <me@j7mbo.co.uk> 11* @license http://opensource.org/licenses/gpl-license.php GNU Public License 12* @link http://github.com/j7mbo/twitter-api-php 163 $composite_key = rawurlencode($consumer_secret) . '&' . rawurlencode($oauth_access_token_secret); 164 $oauth_signature = base64_encode(hash_hmac('sha1', $base_info, $composite_key, true)); 165 $oauth['oauth_signature'] = $oauth_signature;FreemiusBase.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 178 lines
1<?php 2 /** 22 if ( ! function_exists( 'json_decode' ) ) { 23 throw new Exception( 'Freemius needs the JSON PHP extension.' ); 24 } 35 foreach ( $exceptions as $e ) { 36 require FS_SDK__EXCEPTIONS_PATH . $e . '.php'; 37 } 147 * Base64 encoding that does not need to be urlencode()ed. 148 * Exactly the same as base64_encode except it uses 149 * - instead of + 162 * Base64 encoding that does not need to be urlencode()ed. 163 * Exactly the same as base64_encode except it uses 164 * - instead of + 171 protected static function Base64UrlEncode( $input ) { 172 $str = strtr( base64_encode( $input ), '+/', '-_' ); 173 $str = str_replace( '=', '', $str );hash.js https://gitlab.com/axeltizon/magentoV1.9-demopoweraccess | 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) 2014 Magento Inc. (http://www.magentocommerce.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 += "==";perception.blade.php https://gitlab.com/laher01/factu40 | PHP | 327 lines
1@php 2 $establishment = $document->establishment; 20 //$document_type_description = $document_type_description_array[$document->document_type_code]; 21@endphp 22<html> 150 <td width="25%"> 151 <img src="data:{{mime_content_type(public_path("storage/uploads/logos/{$company->logo}"))}};base64, {{base64_encode(file_get_contents(public_path("storage/uploads/logos/{$company->logo}")))}}" alt="{{$company->name}}" class="company_logo"> 152 </td>icon.php https://bitbucket.org/eternaware/joomus.git | PHP | 161 lines
1<?php 2/** 25 26 $url = 'index.php?option=com_content&task=article.add&return='.base64_encode($uri).'&a_id=0&catid=' . $category->id; 27 41 { 42 require_once JPATH_SITE . '/components/com_mailto/helpers/mailto.php'; 43 $uri = JURI::getInstance(); 46 $link = $base.JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catid), false); 47 $url = 'index.php?option=com_mailto&tmpl=component&template='.$template.'&link='.MailToHelper::addLink($link); 48 103 104 $url = 'index.php?option=com_content&task=article.edit&a_id='.$article->id.'&return='.base64_encode($uri); 105elFinderSession.php https://gitlab.com/itlboy/yii2-starter-installed | PHP | 237 lines
1<?php 2 40 { 41 if (version_compare(PHP_VERSION, '5.4.0', '>=')) { 42 if (session_status() !== PHP_SESSION_ACTIVE) { 214 if ($this->base64encode) { 215 $data = base64_encode(serialize($data)); 216 }payment.php https://github.com/Bushmaster/oscommerce.git | PHP | 360 lines
1<?php 2/* 14 15 include(dirname(__FILE__) . '/credit_card.php'); 16 79 if (isset($server['user']) && isset($server['pass'])) { 80 $header[] = 'Authorization: Basic ' . base64_encode($server['user'] . ':' . $server['pass']); 81 }password.php https://gitlab.com/techniconline/kmc | PHP | 321 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 148 149 $base64_string = base64_encode($salt); 150 $salt = strtr(rtrim($base64_string, '='), $base64_digits, $bcrypt64_digits); 299 /** 300 * Check if current PHP version is compatible with the library 301 *Serializer.php https://gitlab.com/rocs/Streaming-Safe-for-Kids | PHP | 221 lines
1<?php namespace SuperClosure; 2 78 $signature = $this->calculateSignature($serialized); 79 $serialized = '%' . base64_encode($signature) . $serialized; 80 }Encrypter.php https://gitlab.com/kimting254/wbms | 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 }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';ListProductTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 177 lines
1<?php 2/** 8/** 9 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 10 */ 10 */ 11class ListProductTest extends \PHPUnit_Framework_TestCase 12{ 18 /** 19 * @var \Magento\Framework\Registry|\PHPUnit_Framework_MockObject_MockObject 20 */ 23 /** 24 * @var \PHPUnit_Framework_MockObject_MockObject 25 */ 28 /** 29 * @var \Magento\Framework\Data\Helper\PostHelper|\PHPUnit_Framework_MockObject_MockObject 30 */product_downloadable_with_files.php https://gitlab.com/axeltizon/magento-demopoweraccess | 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 );login.php https://github.com/WisdomPanda/EveBB.git | PHP | 351 lines
266 <fieldset> 267 <legend><?php echo $lang_login['Request pass legend'] ?></legend> 268 <div class="infldset"> 269 <input type="hidden" name="form_sent" value="1" /> 270 <label class="required"><strong><?php echo $lang_common['Email'] ?> <span><?php echo $lang_common['Required'] ?></span></strong><br /><input id="req_email" type="text" name="req_email" size="50" maxlength="80" /><br /></label> 271 <p><?php echo $lang_login['Request pass info'] ?></p> 274 </div> 275 <p class="buttons"><input type="submit" name="request_pass" value="<?php echo $lang_common['Submit'] ?>" /><?php if (empty($errors)): ?> <a href="javascript:history.go(-1)"><?php echo $lang_common['Go back'] ?></a><?php endif; ?></p> 276 </form> 333 <label class="conl required"><strong><?php echo $lang_common['Username'] ?> <span><?php echo $lang_common['Required'] ?></span></strong><br /><input type="text" name="req_username" size="25" maxlength="25" tabindex="1" /><br /></label> 334 <label class="conl required"><strong><?php echo $lang_common['Password'] ?> <span><?php echo $lang_common['Required'] ?></span></strong><br /><input type="password" name="req_password" size="25" tabindex="2" /><br /></label> 335 340 <p class="clearb"><?php echo $lang_login['Login info'] ?></p> 341 <p class="actions"><span><a href="register.php" tabindex="4"><?php echo $lang_login['Not registered'] ?></a></span> <span><a href="login.php?action=forget" tabindex="5"><?php echo $lang_login['Forgotten pass'] ?></a></span></p> 342 </div>global.login.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 112 lines
1<?php 2 45 { 46 $xtpl->assign( 'LOGOUT_ADMIN', "" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users&" . NV_OP_VARIABLE . "=logout" ); 47 $xtpl->parse( 'signed.admin' ); 48 } 49 $xtpl->assign( 'CHANGE_PASS', "" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users&" . NV_OP_VARIABLE . "=changepass" ); 50 $xtpl->assign( 'CHANGE_INFO', "" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users" ); 50 $xtpl->assign( 'CHANGE_INFO', "" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users" ); 51 $xtpl->assign( 'RE_GROUPS', "" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=users&" . NV_OP_VARIABLE . "=regroups" ); 52 55 56 $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>"; 57 $xtpl->assign( 'in_group', $in_group ); 95 { 96 $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'] ); 97 $assigns['title'] = ucfirst( $server );Encrypt.php https://gitlab.com/vince.omega/mcb-nov-build | PHP | 164 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/** 4 * using the MCrypt extension. 5 * @see http://php.net/mcrypt 6 * 6 * 7 * $Id: Encrypt.php 4072 2009-03-13 17:20:38Z jheathco $ 8 * 11 * @copyright (c) 2007-2008 Kohana Team 12 * @license http://kohanaphp.com/license.html 13 */ 139 // Use base64 encoding to convert to a string 140 return base64_encode($iv.$data); 141 }timezone.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | 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 );Socket.php https://bitbucket.org/acidel/buykoala.git | PHP | 537 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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 191 { 192 $val= base64_encode( "$login:$pass" ); 193 $this->addHeader( "Authorization", "Basic $val" ); 249 * 250 * @param string $uri ex. http://google.com/index.php?a=b 251 * @return string ex. /index.php?a=b_viewfiles_tables.php https://gitlab.com/mattswann/launch-housing | PHP | 176 lines
126<center> 127 <b><?php $backup_count = count( $backup_list ); echo $backup_count; ?> files displayed.</b><br><br> 128 133 134 <a href="<?php echo pb_backupbuddy::nonce_url( pb_backupbuddy::page_url() . '&live_action=view_files_tables&marker=' . urlencode( $marker ) . '&back=' . urlencode( pb_backupbuddy::_GET( 'marker' ) ) ); ?>" class="button button-secondary button-tertiary">Next Page</a> 135 <?php } ?> 139 140<?php 141// Render table listing files. 162<center> 163 <b><?php echo count( $backup_list ); ?> files displayed.</b><br><br> 164 166 <?php if ( '' != pb_backupbuddy::_GET( 'marker' ) ) { ?> 167 <a href="<?php echo pb_backupbuddy::page_url(); ?>&live_action=view_files&marker=<?php echo urlencode( pb_backupbuddy::_GET( 'back' ) ); ?>" class="button button-secondary button-tertiary">Previous Page</a> 168 <?php } ?>functions_session.inc.php https://gitlab.com/team_fsn/fsn-php | PHP | 274 lines
5// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | 6// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 30 and ($conf['session_save_handler'] == 'db') 31 and defined('PHPWG_INSTALLED')) 32{ 64{ 65 include_once(PHPWG_ROOT_PATH.'include/random_compat/random.php'); 66 72 { 73 include_once(PHPWG_ROOT_PATH.'include/srand.php'); 74 $bytes = secure_random_bytes($size+10); 80 '', 81 base64_encode($bytes) 82 ),payport.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 189 lines
1<?php 2 75 $weight = intval( $weight ) + 1; 76 $sql = "REPLACE INTO `" . $db_config['prefix'] . "_" . $module_data . "_payment` (`payment`, `paymentname`, `domain`, `active`, `weight`, `config`,`images_button`) VALUES (" . $db->dbescape_string( $payment ) . ", " . $db->dbescape_string( $array_payment_other[$payment]['paymentname'] ) . ", " . $db->dbescape_string( $array_payment_other[$payment]['domain'] ) . ", '0', '" . $weight . "', '" . nv_base64_encode( serialize( $array_payment_other[$payment]['config'] ) ) . "', " . $db->dbescape_string( $array_payment_other[$payment]['images_button'] ) . ")"; 77 $db->sql_query( $sql ); 106 107 $sql = "UPDATE `" . $db_config['prefix'] . "_" . $module_data . "_payment` SET `paymentname` = " . $db->dbescape_string( $paymentname ) . ", `domain` = " . $db->dbescape_string( $domain ) . ", `active`=" . $active . ", `config` = '" . nv_base64_encode( serialize( $array_config ) ) . "',`images_button`=" . $db->dbescape_string( $images_button ) . " WHERE `payment` = " . $db->dbescape_string( $payment ) . " LIMIT 1"; 108 $db->sql_query( $sql ); 110 nv_del_moduleCache( $module_name ); 111 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op ); 112} 121 { 122 $value['link_edit'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&payment=" . $value['payment']; 123 $value['class'] = ( $a % 2 == 0 ) ? ' class="second"' : ''; 129 } 130 $xtpl->assign( 'url_back', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op ); 131 $xtpl->assign( 'url_change', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=changepay" );Encrypt.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 547 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 128 129 return base64_encode($enc); 130 } 221 // and re-encode 222 return base64_encode($this->mcrypt_encode($dec, $key)); 223 } 545 546/* End of file Encrypt.php */ 547/* Location: ./system/libraries/Encrypt.php */TemporaryUploadedFile.php https://gitlab.com/jjpa2018/dashboard | PHP | 197 lines
1<?php 2 133 $hash = str()->random(30); 134 $meta = str('-meta'.base64_encode($file->getClientOriginalName()).'-')->replace('/', '_'); 135 $extension = '.'.$file->guessExtension();utilities.class.php https://gitlab.com/mattswann/launch-housing | PHP | 399 lines
1<?php 2/* 26 * @copyright See the included NOTICE.md file for more information. 27 * @link http://aws.amazon.com/php/ PHP Developer Center 28 */ 104 105 return base64_encode($raw); 106 } 195 * @author Ryan Parman <ryan@getcloudfusion.com> 196 * @license http://www.php.net/license/3_01.txt PHP License 197 * @param integer $size (Required) Filesize in bytes. 334 * 335 * @license http://us.php.net/manual/en/function.base64-decode.php#81425 PHP License 336 * @param string $s (Required) The string to test. 380 * 381 * @author Alix Axel <http://www.php.net/manual/en/function.com-create-guid.php#99425> 382 * @license http://www.php.net/license/3_01.txt PHP License