PageRenderTime 206ms queryFilters 0ms Sphinxql 35ms app.CodeModel.GetByIds 92ms findMatchingLines 44ms GetByIds 136ms meta 0ms repositoryFilters 11ms languageFilters 5ms sourceFilters 4ms

21,207 results for 'php chr repo:yourilima/yii-bootstrap' (206 ms)

Source

Language

Repository

vercert.php https://github.com/muchael/expressolivre.git | PHP | 91 lines
13    {
14        echo '1'.chr(0x0D).chr(0x0A).lang('Error. header.inc.php not found');
15        exit();
24include('classes/Verifica_Certificado_conf.php');
25$cert = troca_espaco_por_mais(str_replace(chr(0x0D).chr(0x0A),chr(0x0A),str_replace(chr(0x0A).chr(0x0A),chr(0x0A),$_POST['certificado'])));
26$c = new certificadoB();
60     }
61$cert_atrib_cpf = isset($GLOBALS['phpgw_info']['server']['certificado_atributo_cpf'])&&$GLOBALS['phpgw_info']['server']['certificado_atributo_cpf']!=''?$GLOBALS['phpgw_info']['server']['certificado_atributo_cpf']:"uid";
62$filtro = $cert_atrib_cpf .'='. $c->dados['2.16.76.1.3.1']['CPF'];
77    {
78	echo '7'.chr(0x0D).chr(0x0A).lang('User account is inactive in Expresso');
79	ldap_close($ds);
83    {
84	echo '0'.chr(0x0D).chr(0x0A).$info[0]["uid"][0].chr(0x0D).chr(0x0A).$info[0]["cryptpassword"][0];
85    }
String.php https://bitbucket.org/y_widyatama/ijepa2 | PHP | 777 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
516	 * Assumes Big-Endian byte order if no BOM is available.
517	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
518	 * and $bom_be parameter added.
668	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
669	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
670	 *
700	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
701	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
702	 *
732	 * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
733	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
734	 *
tcpdf_barcodes_1d.php https://bitbucket.org/synergylearning/campusconnect.git | PHP | 2,288 lines
591			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
592			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
593			chr(8) => chr(128).'H', chr(9) => chr(128).'I', chr(10) => chr(128).'J', chr(11) => '£K',
600			chr(36) => chr(129).'D', chr(37) => chr(129).'E', chr(38) => chr(129).'F', chr(39) => chr(129).'G',
601			chr(40) => chr(129).'H', chr(41) => chr(129).'I', chr(42) => chr(129).'J', chr(43) => chr(129).'K',
602			chr(44) => chr(129).'L', chr(45) => '-', chr(46) => '.', chr(47) => chr(129).'O',
605			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
606			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
607			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
1050		$keys_a = ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_';
1051		$keys_a .= chr(0).chr(1).chr(2).chr(3).chr(4).chr(5).chr(6).chr(7).chr(8).chr(9);
1052		$keys_a .= chr(10).chr(11).chr(12).chr(13).chr(14).chr(15).chr(16).chr(17).chr(18).chr(19);
1052		$keys_a .= chr(10).chr(11).chr(12).chr(13).chr(14).chr(15).chr(16).chr(17).chr(18).chr(19);
1053		$keys_a .= chr(20).chr(21).chr(22).chr(23).chr(24).chr(25).chr(26).chr(27).chr(28).chr(29);
1054		$keys_a .= chr(30).chr(31);
barcodes.php https://github.com/vlad88sv/MupiAir.git | PHP | 1,713 lines
450		$encode = array(
451			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
452			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
455			chr(16) => chr(128).'P', chr(17) => chr(128).'Q', chr(18) => chr(128).'R', chr(19) => chr(128).'S',
456			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
457			chr(24) => chr(128).'X', chr(25) => chr(128).'Y', chr(26) => chr(128).'Z', chr(27) => chr(131).'A',
457			chr(24) => chr(128).'X', chr(25) => chr(128).'Y', chr(26) => chr(128).'Z', chr(27) => chr(131).'A',
458			chr(28) => chr(131).'B', chr(29) => chr(131).'C', chr(30) => chr(131).'D', chr(31) => chr(131).'E',
459			chr(32) => ' ', chr(33) => chr(129).'A', chr(34) => chr(129).'B', chr(35) => chr(129).'C',
460			chr(36) => chr(129).'D', chr(37) => chr(129).'E', chr(38) => chr(129).'F', chr(39) => chr(129).'G',
461			chr(40) => chr(129).'H', chr(41) => chr(129).'I', chr(42) => chr(129).'J', chr(43) => chr(129).'K',
462			chr(44) => chr(129).'L', chr(45) => '-', chr(46) => '.', chr(47) => chr(129).'O',
465			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
466			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
467			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
OpenId.php https://github.com/lboaretto/magento-pt_br.git | PHP | 754 lines
1<?php
2
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
20 * @version    $Id: OpenId.php 13218 2008-12-14 11:11:56Z thomas $
21 */
25 */
26#require_once "Zend/Controller/Response/Abstract.php";
27
59    /**
60     * Allows enable/disable stoping execution of PHP script after redirect()
61     */
139            $url .= $_SERVER['REDIRECT_URL'];
140        } else if (isset($_SERVER['PHP_SELF'])) {
141            $url .= $_SERVER['PHP_SELF'];
251                ++$i;
252                $ch = chr($c);
253                if (($ch >= 'A' && $ch <= 'Z') ||
Hostname.php https://github.com/vmei/MIT-Mobile-Web.git | PHP | 674 lines
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Hostname.php 14556 2009-03-31 10:35:42Z thomas $
20 */
24 */
25require_once 'Zend/Validate/Abstract.php';
26
29 */
30require_once 'Zend/Loader.php';
31
34 */
35require_once 'Zend/Validate/Ip.php';
36
40 *
41 * The first is tests/Zend/Validate/HostnameTestStandalone.php which is designed to be run on
42 * the command line.
Hostname.php https://github.com/cwt137/zf2.git | PHP | 769 lines
1<?php
2/**
29 *
30 * The first is tests/Zend/Validator/HostnameTestStandalone.php which is designed to be run on
31 * the command line.
32 *
33 * The second is tests/Zend/Validator/HostnameTestForm.php which is designed to be run via HTML
34 * to allow users to test entering UTF-8 characters in a form.
154     * (.DE) Germany http://www.denic.de/en/domains/idns/liste.html
155     * (.DK) Danmark http://www.dk-hostmaster.dk/index.php?id=151
156     * (.ES) Spain https://www.nic.es/media/2008-05/1210147705287.pdf
162     * (.IR) Iran http://www.nic.ir/Allowable_Characters_dot-iran
163     * (.IS) Iceland http://www.isnic.is/domain/rules.php
164     * (.KR) Korea http://www.iana.org/domains/idn-tables/tables/kr_ko-kr_1.0.html
171     * (.NU) Niue http://www.worldnames.net/
172     * (.ORG) International http://www.pir.org/index.php?db=content/FAQs&tbl=FAQs_Registrant&id=2
173     * (.PE) Peru https://www.nic.pe/nuevas_politicas_faq_2.php
2008-11-11 https://github.com/zengcode/ZengCode-PHP-Framework.git | Unknown | 270 lines
42<?php
43$detail=str_replace(chr(13).chr(10), chr(10), $record[\"detail\"]);
44$detail=str_replace(chr(10), chr(32), $detail);
44$detail=str_replace(chr(10), chr(32), $detail);
45$detail=str_replace(chr(9), chr(32), $detail);
46while(strstr($detail, chr(32).chr(32))){
46while(strstr($detail, chr(32).chr(32))){
47$detail=str_replace(chr(32).chr(32), chr(32), $detail);
48}//End while
50$detail=htmlspecialchars($detail);
51$detail=str_replace(\"thisistheendofline\", \"<br>\".chr(13).chr(10), $detail);
52echo $detail;
113<p>&nbsp;</p>",now()) 
11413:11:54 :  => Update content SET category_id='1',content_name='A Simple Cache with PHP',content_summary='<p>การทำ Cache แบบง่าย ๆ ด้วย php <br />
115ลองดูละกันครับว่าง่ายดายขนาดไหน</p>',content_detail='<p><code>&lt;?php<br />
RSA.php https://github.com/purare/spotweb.git | PHP | 2,142 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
10 * <code>
11 * <?php
12 *    include('Crypt/RSA.php');
28 * <code>
29 * <?php
30 *    include('Crypt/RSA.php');
61 * @package    Crypt_RSA
62 * @author     Jim Wigginton <terrafrost@php.net>
63 * @copyright  MMIX Jim Wigginton
597        $raw = array(
598            'version' => $num_primes == 2 ? chr(0) : chr(1), // two-prime vs. multi
599            'modulus' => $n->toBytes(true),
1642        $ps = $this->_random($this->k - $mLen - 3, true);
1643        $em = chr(0) . chr(2) . $ps . chr(0) . $m;
1644
RSA.php https://gitlab.com/intersango/witcoin.git | PHP | 2,108 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
10 * <code>
11 * <?php
12 *    include('Crypt/RSA.php');
28 * <code>
29 * <?php
30 *    include('Crypt/RSA.php');
61 * @package    Crypt_RSA
62 * @author     Jim Wigginton <terrafrost@php.net>
63 * @copyright  MMIX Jim Wigginton
590        $raw = array(
591            'version' => $num_primes == 2 ? chr(0) : chr(1), // two-prime vs. multi
592            'modulus' => $n->toBytes(true),
1619        $ps = $this->_random($this->k - $mLen - 3, true);
1620        $em = chr(0) . chr(2) . $ps . chr(0) . $m;
1621
db_update.php https://bitbucket.org/samovarchik/fluxbb.pe | PHP | 2,507 lines
49if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<'))
50	exit('You are running PHP version '.PHP_VERSION.'. FluxBB '.UPDATE_TO.' requires at least PHP '.MIN_PHP_VERSION.' to run properly. You must upgrade your PHP installation before you can continue.');
51
147
148/* TODO: подумать, есть ли смысл завести отдельный конфиг для db_update.php (как для install.php)?
149 * Сейчас склоняюсь, что нет, но тем не менее отдельный файл с некоторыми дефайнами отсюда можно сделать.
602			<h1><span><?php echo $lang_update['Update'] ?></span></h1>
603			<div id="brddesc"><p><?php echo $lang_update['Update message'] ?></p><p><strong><?php echo $lang_update['Note']; ?></strong> <?php echo $lang_update['Members message']; ?></p></div>
604		</div>
2261					<div class="infldset">
2262						<label class="required"><strong><?php echo $lang_update['New username'] ?> <span><?php echo $lang_update['Required'] ?></span></strong><br /><input type="text" name="<?php echo 'dupe_users['.$id.']'; ?>" value="<?php if (isset($_POST['dupe_users'][$id])) echo pun_htmlspecialchars($_POST['dupe_users'][$id]); ?>" size="25" maxlength="25" /><br /></label>
2263					</div>
2483				<div class="forminfo">
2484					<p style="font-size: 1.1em"><?php printf($lang_update['Successfully updated'], sprintf('<a href="index.php">%s</a>', $lang_update['go to index'])) ?></p>
2485				</div>
Installer.php https://bitbucket.org/kgrashad/thawrapedia | PHP | 1,512 lines
375	public function doEnvironmentChecks() {
376		$phpVersion = phpversion();
377		if( version_compare( $phpVersion, self::MINIMUM_PHP_VERSION, '>=' ) ) {
380		} else {
381			$this->showMessage( 'config-env-php-toolow', $phpVersion, self::MINIMUM_PHP_VERSION );
382			$good = false;
988		} else if ($c <= 0x7FF) {
989			return chr(0xC0 | $c >> 6) . chr(0x80 | $c & 0x3F);
990		} else if ($c <= 0xFFFF) {
990		} else if ($c <= 0xFFFF) {
991			return chr(0xE0 | $c >> 12) . chr(0x80 | $c >> 6 & 0x3F)
992				. chr(0x80 | $c & 0x3F);
993		} else if ($c <= 0x10FFFF) {
994			return chr(0xF0 | $c >> 18) . chr(0x80 | $c >> 12 & 0x3F)
995				. chr(0x80 | $c >> 6 & 0x3F)
Services_JSON.php https://bitbucket.org/kgrashad/thawrapedia | PHP | 882 lines
55* @license http://www.opensource.org/licenses/bsd-license.php
56* @see http://pear.php.net/pepr/pepr-proposal-show.php?id=198
57*/
572					$utf8 = '';
573					$strlen_chrs = strlen($chrs);
574
766								 (($chrs{$c - 1} != '\\') ||
767								 ($chrs{$c - 1} == '\\' && $chrs{$c - 2} == '\\'))) {
768							// found a quote, we're in a string, and it's not escaped
806							for ($i = $top['where']; $i <= $c; ++$i)
807								$chrs = substr_replace($chrs, ' ', $i, 1);
808
832		if ( self::pearInstalled() ) {
833			//avoid some strict warnings on PEAR isError check (looks like http://pear.php.net/bugs/bug.php?id=9950 has been around for some time)
834			return @PEAR::isError($data, $code);
Hostname.php https://bitbucket.org/farouqzaib/precurio | PHP | 735 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Hostname.php 20358 2010-01-17 19:03:49Z thomas $
20 */
24 */
25require_once 'Zend/Validate/Abstract.php';
26
29 */
30require_once 'Zend/Validate/Ip.php';
31
35 *
36 * The first is tests/Zend/Validate/HostnameTestStandalone.php which is designed to be run on
37 * the command line.
38 *
39 * The second is tests/Zend/Validate/HostnameTestForm.php which is designed to be run via HTML
40 * to allow users to test entering UTF-8 characters in a form.
RSA.php https://bitbucket.org/norvin/mingen_dts | PHP | 2,119 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
10 * <code>
11 * <?php
12 *    include('Crypt/RSA.php');
28 * <code>
29 * <?php
30 *    include('Crypt/RSA.php');
61 * @package    Crypt_RSA
62 * @author     Jim Wigginton <terrafrost@php.net>
63 * @copyright  MMIX Jim Wigginton
590        $raw = array(
591            'version' => $num_primes == 2 ? chr(0) : chr(1), // two-prime vs. multi
592            'modulus' => $n->toBytes(true),
1619        $ps = $this->_random($this->k - $mLen - 3, true);
1620        $em = chr(0) . chr(2) . $ps . chr(0) . $m;
1621
String.php https://bitbucket.org/rlm3/rlm3_staging | PHP | 777 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
516	 * Assumes Big-Endian byte order if no BOM is available.
517	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
518	 * and $bom_be parameter added.
668	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
669	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
670	 *
700	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
701	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
702	 *
732	 * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
733	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
734	 *
RSA.php https://bitbucket.org/arkross/venus | PHP | 2,122 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
8 *
9 * PHP versions 4 and 5
10 *
12 * <code>
13 * <?php
14 *    include('Crypt/RSA.php');
30 * <code>
31 * <?php
32 *    include('Crypt/RSA.php');
592        $raw = array(
593            'version' => $num_primes == 2 ? chr(0) : chr(1), // two-prime vs. multi
594            'modulus' => $n->toBytes(true),
1621        $ps = $this->_random($this->k - $mLen - 3, true);
1622        $em = chr(0) . chr(2) . $ps . chr(0) . $m;
1623
Hash.php https://bitbucket.org/ttalov/fgcu_pci.git | PHP | 825 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4/**
5 * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
6 *
13 *
14 * PHP versions 4 and 5
15 *
20 * <code>
21 * <?php
22 *    include('Crypt/Hash.php');
51 * @package    Crypt_Hash
52 * @author     Jim Wigginton <terrafrost@php.net>
53 * @copyright  MMVII Jim Wigginton
54 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
55 * @version    $Id: Hash.php,v 1.6 2009/11/23 23:37:07 terrafrost Exp $
56 * @link       http://phpseclib.sourceforge.net
Cpdf.php https://bitbucket.org/1blankz7/bibioteka.git | PHP | 4,612 lines
1645			// figure out the additional paramaters required
1646			$pad =	chr(0x28) .chr(0xBF) .chr(0x4E) .chr(0x5E) .chr(0x4E) .chr(0x75) .chr(0x8A) .chr(0x41)
1647 						.chr(0x64) .chr(0x00) .chr(0x4E) .chr(0x56) .chr(0xFF) .chr(0xFA) .chr(0x01) .chr(0x08)
1647 						.chr(0x64) .chr(0x00) .chr(0x4E) .chr(0x56) .chr(0xFF) .chr(0xFA) .chr(0x01) .chr(0x08)
1648 						.chr(0x2E) .chr(0x2E) .chr(0x00) .chr(0xB6) .chr(0xD0) .chr(0x68) .chr(0x3E) .chr(0x80)
1649 						.chr(0x2F) .chr(0x0C) .chr(0xA9) .chr(0xFE) .chr(0x64) .chr(0x53) .chr(0x69) .chr(0x7A);
1676			// now make the u value, phew.
1677			$tmp =	$this->md5_16($user.$ovalue.chr($options['p']) .chr(255) .chr(255) .chr(255) .$this->fileIdentifier);
1678
1731		}
1732		$tmp.=	chr(hexdec(substr($hex, 4, 2))) .chr(hexdec(substr($hex, 2, 2))) .chr(hexdec(substr($hex, 0, 2))) .chr(0) .chr(0);
1733		$key =	$this->md5_16($tmp);
4086		if	(!$error) {
4087			$header =	chr(137) .chr(80) .chr(78) .chr(71) .chr(13) .chr(10) .chr(26) .chr(10);
4088			if	(mb_substr($data, 0, 8, '8bit') !=	$header) {
Compression.php https://bitbucket.org/mengqing/magento-mirror.git | PHP | 391 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Compression.php 20096 2010-01-06 02:05:09Z bkarwin $
20 */
23/** Zend_Pdf_Filter_Interface */
24#require_once 'Zend/Pdf/Filter/Interface.php';
25
77                $predictor != 13  &&  $predictor != 14  &&   $predictor != 15) {
78                #require_once 'Zend/Pdf/Exception.php';
79                throw new Zend_Pdf_Exception('Invalid value of \'Predictor\' decode param - ' . $predictor . '.' );
99            if ($colors != 1  &&  $colors != 2  &&  $colors != 3  &&  $colors != 4) {
100                #require_once 'Zend/Pdf/Exception.php';
101                throw new Zend_Pdf_Exception('Invalid value of \'Color\' decode param - ' . $colors . '.' );
123                $bitsPerComponent != 16 ) {
124                #require_once 'Zend/Pdf/Exception.php';
125                throw new Zend_Pdf_Exception('Invalid value of \'BitsPerComponent\' decode param - ' . $bitsPerComponent . '.' );
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21