PageRenderTime 801ms queryFilters 0ms Sphinxql 420ms GetByIds 321ms meta 0ms repositoryFilters 7ms languageFilters 3ms sourceFilters 1ms

173,263 results for 'php chr repo:aleksame/zurmo' (801 ms)

Source

Language

Repository

BigInteger.php https://github.com/aet2505/osTicket-1.8.git | PHP | 3,651 lines
552                    $temp = bcmod($current, '16777216');
553                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
554                    $current = bcdiv($current, '16777216', 0);
744     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
745     * directly in PHP5.  You can in PHP4 since it's not a magic method, but in PHP5, you have to call it by using the PHP5
746     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2876        // generate as many leading 1's as we need to.
2877        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2878        $this->_base256_lshift($leading_ones, $current_bits);
2985            $precision = 8 * strlen($bits) - 8 + $i;
2986            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2987        }
3147
3148        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3149        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
cmd.php https://github.com/dlimuratdj/kyphp2.0.git | PHP | 590 lines
349spl_autoload_register("__autoload");
350require_once(KYPHP_PATH.'kyclass/kyphp_base/Action.php');
351require_once(KYPHP_PATH.'kyclass/kyphp_base/Cache.php');
361require_once(KYPHP_PATH.'kyclass/kyphp_base/Pagination.php');
362require_once(KYPHP_PATH.'kyclass/kyphp_base/Request.php');
363require_once(KYPHP_PATH.'kyclass/kyphp_base/Response.php');
363require_once(KYPHP_PATH.'kyclass/kyphp_base/Response.php');
364require_once(KYPHP_PATH.'kyclass/kyphp_base/runtime.php');
365require_once(KYPHP_PATH.'kyclass/kyphp_base/Session.php');
365require_once(KYPHP_PATH.'kyclass/kyphp_base/Session.php');
366require_once(KYPHP_PATH.'kyclass/kyphp_base/templete.php');
367require_once(KYPHP_PATH.'kyclass/kyphp_base/Url.php');
577function is_utf8($liehuo_net){ 
578if(preg_match("/^([".chr(228)."-".chr(233)."]{1}[".chr(128)."-".chr(191)."]{1}[".chr(128)."-".chr(191)."]{1}){1}/",$liehuo_net) == true || preg_match("/([".chr(228)."-".chr(233)."]{1}[".chr(128)."-".chr(191)."]{1}[".chr(128)."-".chr(191)."]{1}){1}$/",$liehuo_net) == true || preg_match("/([".chr(228)."-".chr(233)."]{1}[".chr(128)."-".chr(191)."]{1}[".chr(128)."-".chr(191)."]{1}){2,}/",$liehuo_net) == true) 
579{ 
getid3.lib.php https://github.com/jezard/susiesummers.git | PHP | 1,341 lines
84			if (!$hasINT64 && !defined('PHP_INT_MIN')) {
85				define('PHP_INT_MIN', ~PHP_INT_MAX);
86			}
88		// if integers are 64-bit - no other check required
89		if ($hasINT64 || (($num <= PHP_INT_MAX) && ($num >= PHP_INT_MIN))) {
90			return true;
385		// written by kcØhireability*com
386		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
387		if (!is_array($array1) || !is_array($array2)) {
664			$newcharstring  = chr(($charval >>   6) | 0xC0);
665			$newcharstring .= chr(($charval & 0x3F) | 0x80);
666		} elseif ($charval < 65536) {
1321		if (GETID3_OS_ISWINDOWS) {
1322			if (class_exists('COM')) { // From PHP 5.3.15 and 5.4.5, COM and DOTNET is no longer built into the php core.you have to add COM support in php.ini:
1323				$filesystem = new COM('Scripting.FileSystemObject');
getid3.lib.php https://github.com/Maljuboori/gitwordpress.git | PHP | 1,341 lines
84			if (!$hasINT64 && !defined('PHP_INT_MIN')) {
85				define('PHP_INT_MIN', ~PHP_INT_MAX);
86			}
88		// if integers are 64-bit - no other check required
89		if ($hasINT64 || (($num <= PHP_INT_MAX) && ($num >= PHP_INT_MIN))) {
90			return true;
385		// written by kcØhireability*com
386		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
387		if (!is_array($array1) || !is_array($array2)) {
664			$newcharstring  = chr(($charval >>   6) | 0xC0);
665			$newcharstring .= chr(($charval & 0x3F) | 0x80);
666		} elseif ($charval < 65536) {
1321		if (GETID3_OS_ISWINDOWS) {
1322			if (class_exists('COM')) { // From PHP 5.3.15 and 5.4.5, COM and DOTNET is no longer built into the php core.you have to add COM support in php.ini:
1323				$filesystem = new COM('Scripting.FileSystemObject');
BigInteger.php https://github.com/tjworks/mongoing.git | PHP | 3,682 lines
552                    $temp = bcmod($current, '16777216');
553                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
554                    $current = bcdiv($current, '16777216', 0);
744     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
745     * directly in PHP5.  You can in PHP4 since it's not a magic method, but in PHP5, you have to call it by using the PHP5
746     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2876        // generate as many leading 1's as we need to.
2877        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2878        $this->_base256_lshift($leading_ones, $current_bits);
2985            $precision = 8 * strlen($bits) - 8 + $i;
2986            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2987        }
3177
3178        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3179        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
kontrolspor.php https://github.com/nielsrune/saldi.git | PHP | 312 lines
32include("../includes/connect.php");
33include("../includes/online.php");
34include("../includes/std_func.php");
34include("../includes/std_func.php");
35include("../includes/udvaelg.php");
36
155print "<td align=center><b><a href='kontrolspor.php?nysort=id&sort=$sort&valg=$valg$hreftext'>Id</b></td>";
156print "<td align=center><b><a href='kontrolspor.php?nysort=transdate&sort=$sort&valg=$valg$hreftext'>Dato</a></b></td>";
157print "<td align=center><b><a href='kontrolspor.php?nysort=logdate&sort=$sort&valg=$valg$hreftext'>Log. dato</a></b></td>";
206		$fp=fopen("../temp/$db/kontrolspor.csv","w");
207		fwrite($fp,"Id".chr(9)."Dato".chr(9)."Logdato".chr(9)."Logtid".chr(9)."Kladde id".chr(9)."Bilag".chr(9)."Kontonr".chr(9)."Kontonavn".chr(9)."Faktura".chr(9)."Debet".chr(9)."Kredit".chr(9)."Projekt".chr(9)."Beskrivelse\n");
208	}
286				if ($csv) {
287					fwrite($fp,$row['id'].chr(9).$transdato.chr(9).$logdato.chr(9).substr($row['logtime'],0,5).chr(9).$row['kladde_id'].chr(9).$row['bilag'].chr(9).$row['kontonr'].chr(9).utf8_decode(stripslashes($row['kontonavn'])).chr(9).$row['faktura'].chr(9).dkdecimal($row['debet']).chr(9).dkdecimal($row['kredit']).chr(9).$row['projekt'].chr(9).utf8_decode(stripslashes($row['beskrivelse']))."\n");
288				}
saldi_update.php https://github.com/nielsrune/saldi.git | PHP | 290 lines
1<?php
2// #----------------- saldi_update.php -----ver 3.2.6---- 2012.01.10 ----------
75
76		if (file_exists("soapklient/soapfunc.php")) $filnavn="soapklient/soapfunc.log";
77		else $filnavn="soapfunc.log";
102		}
103		if (file_exists("soapklient/soapfunc.php")) include("soapklient/soapfunc.php");
104		else include("soapfunc.php");
104		else include("soapfunc.php");
105		if (file_exists("soapklient/saldi_connect.php")) include("soapklient/saldi_connect.php");
106		else include("saldi_connect.php");
107		fwrite($fp,__LINE__."$url logon($regnskab,$brugernavn,$adgangskode)\n");
108		list($fejl,$svar)=explode(chr(9),logon($regnskab,$brugernavn,$adgangskode));
109		fwrite($fp,__LINE__."fejl $fejl - svar $svar\n");
285		}
286		return('0'.chr(9).$konto_id.chr(9).$ordre_id);
287		fclose($fp);
getid3.lib.php https://github.com/cazwizzle/moodle-mod_pcast.git | PHP | 1,262 lines
1<?php
2/////////////////////////////////////////////////////////////////
81			if (!$hasINT64 && !defined('PHP_INT_MIN')) {
82				define('PHP_INT_MIN', ~PHP_INT_MAX);
83			}
85		// if integers are 64-bit - no other check required
86		if ($hasINT64 || (($num <= PHP_INT_MAX) && ($num >= PHP_INT_MIN))) {
87			return true;
273			// synchsafe ints are not allowed to be signed
274			if ($bytewordlen <= PHP_INT_SIZE) {
275				$signMaskBit = 0x80 << (8 * ($bytewordlen - 1));
279			} else {
280				throw new Exception('ERROR: Cannot have signed integers larger than '.(8 * PHP_INT_SIZE).'-bits ('.strlen($byteword).') in getid3_lib::BigEndian2Int()');
281				break;
381		// written by kcŘhireability*com
382		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
383		if (!is_array($array1) || !is_array($array2)) {
barcodes.php https://github.com/felipegirotti/2D-3D-Barcodes-Generator.git | PHP | 2,709 lines
1004			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
1005			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
1006			chr(8) => chr(128).'H', chr(9) => chr(128).'I', chr(10) => chr(128).'J', chr(11) => '£K',
1013			chr(36) => chr(129).'D', chr(37) => chr(129).'E', chr(38) => chr(129).'F', chr(39) => chr(129).'G',
1014			chr(40) => chr(129).'H', chr(41) => chr(129).'I', chr(42) => chr(129).'J', chr(43) => chr(129).'K',
1015			chr(44) => chr(129).'L', chr(45) => '-', chr(46) => '.', chr(47) => chr(129).'O',
1018			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
1019			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
1020			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
1463		$keys_a = ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_';
1464		$keys_a .= chr(0).chr(1).chr(2).chr(3).chr(4).chr(5).chr(6).chr(7).chr(8).chr(9);
1465		$keys_a .= chr(10).chr(11).chr(12).chr(13).chr(14).chr(15).chr(16).chr(17).chr(18).chr(19);
1465		$keys_a .= chr(10).chr(11).chr(12).chr(13).chr(14).chr(15).chr(16).chr(17).chr(18).chr(19);
1466		$keys_a .= chr(20).chr(21).chr(22).chr(23).chr(24).chr(25).chr(26).chr(27).chr(28).chr(29);
1467		$keys_a .= chr(30).chr(31);
feidianxlate.php https://github.com/sobodash/feidianxlate.git | PHP | 241 lines
81               '2','3','4','5','6','7','8','9','!','?','@','*',
82               chr(0xa0),chr(0xa1),chr(0xa2),chr(0xa3),chr(0xa4),chr(0xa5),chr(0xa6),chr(0xa7),
83               chr(0xa8),chr(0xa9),chr(0xaa),chr(0xab),chr(0xac),chr(0xad),chr(0xae),chr(0xaf),
83               chr(0xa8),chr(0xa9),chr(0xaa),chr(0xab),chr(0xac),chr(0xad),chr(0xae),chr(0xaf),
84               chr(0xb0),chr(0xb1),chr(0xb2),chr(0xb3),chr(0xb4),chr(0xb5),chr(0xb6),chr(0xb7),
85               chr(0xb8),chr(0xb9),chr(0xba),chr(0xbb),chr(0xbc),chr(0xbd),chr(0xbe),chr(0xbf),
86               chr(0xc0),chr(0xc1),chr(0xc2),chr(0xc3),chr(0xc4),chr(0xc5),chr(0xc6),chr(0xc7),
87               chr(0xc8),chr(0xc9),chr(0xca),chr(0xcb),chr(0xcc),chr(0xcd),chr(0xce),chr(0xcf),
88               chr(0xd0),chr(0xd1),chr(0xd2),chr(0xd3),chr(0xd4),chr(0xd5),chr(0xd6),chr(0xd7),
88               chr(0xd0),chr(0xd1),chr(0xd2),chr(0xd3),chr(0xd4),chr(0xd5),chr(0xd6),chr(0xd7),
89               chr(0xd8),chr(0xd9),chr(0xda),chr(0xdb),chr(0xdc),chr(0xdd),chr(0xde),chr(0xdf),
90               chr(0xe0),chr(0xe1),chr(0xe2),chr(0xe3),chr(0xe4),chr(0xe5),chr(0xe6),chr(0xe7),
90               chr(0xe0),chr(0xe1),chr(0xe2),chr(0xe3),chr(0xe4),chr(0xe5),chr(0xe6),chr(0xe7),
91               chr(0xe8),chr(0xe9),chr(0xea),chr(0xeb),chr(0xec),chr(0xed),chr(0xee),chr(0xef)));
92}
ASN1.php https://github.com/kea/phpseclib.git | PHP | 1,267 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4/**
5 * Pure-PHP ASN.1 Parser
6 *
6 *
7 * PHP versions 4 and 5
8 *
36 * @package    File_ASN1
37 * @author     Jim Wigginton <terrafrost@php.net>
38 * @copyright  MMXII Jim Wigginton
40 * @version    $Id$
41 * @link       http://phpseclib.sourceforge.net
42 */
43
44namespace phpseclib;
45
Hash.php https://github.com/kea/phpseclib.git | PHP | 824 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
ASN1.php https://github.com/sezuan/core.git | PHP | 1,278 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4/**
5 * Pure-PHP ASN.1 Parser
6 *
6 *
7 * PHP versions 4 and 5
8 *
36 * @package    File_ASN1
37 * @author     Jim Wigginton <terrafrost@php.net>
38 * @copyright  MMXII Jim Wigginton
40 * @version    $Id$
41 * @link       http://phpseclib.sourceforge.net
42 */
47if (!class_exists('Math_BigInteger')) {
48    require_once('Math/BigInteger.php');
49}
String.php https://bitbucket.org/astahiam/penduduk.git | PHP | 777 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2013 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	 *
Hash.php https://bitbucket.org/Kamor/nexway.git | PHP | 842 lines
1<?php
2
3/**
4 * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
5 *
12 *
13 * PHP versions 4 and 5
14 *
19 * <code>
20 * <?php
21 *    include 'Crypt/Hash.php';
50 * @package   Crypt_Hash
51 * @author    Jim Wigginton <terrafrost@php.net>
52 * @copyright MMVII Jim Wigginton
53 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
54 * @link      http://phpseclib.sourceforge.net
55 */
barcodes.php https://bitbucket.org/meerdevelopersoffice/bolivia.git | PHP | 809 lines
261			chr(0) => '%U', chr(1) => '$A', chr(2) => '$B', chr(3) => '$C',
262			chr(4) => '$D', chr(5) => '$E', chr(6) => '$F', chr(7) => '$G',
263			chr(8) => '$H', chr(9) => '$I', chr(10) => '$J', chr(11) => 'ŁK',
264			chr(12) => '$L', chr(13) => '$M', chr(14) => '$N', chr(15) => '$O',
265			chr(16) => '$P', chr(17) => '$Q', chr(18) => '$R', chr(19) => '$S',
266			chr(20) => '$T', chr(21) => '$U', chr(22) => '$V', chr(23) => '$W',
289			chr(112) => '+P', chr(113) => '+Q', chr(114) => '+R', chr(115) => '+S',
290			chr(116) => '+T', chr(117) => '+U', chr(118) => '+V', chr(119) => '+W',
291			chr(120) => '+X', chr(121) => '+Y', chr(122) => '+Z', chr(123) => '%P',
291			chr(120) => '+X', chr(121) => '+Y', chr(122) => '+Z', chr(123) => '%P',
292			chr(124) => '%Q', chr(125) => '%R', chr(126) => '%S', chr(127) => '%T');
293		$code_ext = '';
544		// add start, check and stop codes
545		$code = chr($startid).$code.chr($check).chr(106).chr(107);
546		$bararray = array("code" => $code, "maxw" => 0, "maxh" => 1, "bcode" => array());
Hash.class.php https://bitbucket.org/ronaldobrandini/framework.git | PHP | 815 lines
1<?php
2namespace core\tools\secure\crypt;
3/**
4 * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
5 *
12 *
13 * PHP versions 4 and 5
14 *
19 * <code>
20 * <?php
21 *    include 'Crypt/Hash.php';
50 * @package   Hash
51 * @author    Jim Wigginton <terrafrost@php.net>
52 * @copyright MMVII Jim Wigginton
53 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
54 * @link      http://phpseclib.sourceforge.net
55 */
modificar_cuenta.php https://github.com/ejgallegos/tgpcuentas.git | PHP | 421 lines
167                                      
168                                      <option title="<?php echo $saf[$i]["nombre"]; ?>" value="<?php echo $saf[$i]["cod_ser"]; ?>" 
169                                      <?php if ($saf[$i]["cod_ser"]==$cta2)
364                echo $sector[$i]['cod_saf']."[$cont] = new slctr('".trim($sector[$i]['sector'])."','".$sector[$i]['id']."')";
365                echo chr(13).chr(10);
366                $cont++;
370                $varaux=$sector[$i]['cod_saf'];
371                echo "var ".$sector[$i]['cod_saf']."=new Array()".chr(13).chr(10);
372                $cont=0;
373                                  //MENSAJE DESPUES DE SELECCIONAR SELECT
374                //echo $sector[$i]['cod_saf']."[$cont] = new slctr('Seleccione Sector','d00')".chr(13).chr(10);
375                //$cont++;
376                echo $sector[$i]['cod_saf']."[$cont] = new slctr('".trim($sector[$i]['sector'])."','".$sector[$i]['id']."')";
377                echo chr(13).chr(10);
378                $cont++;
cambiar_saf.php https://github.com/ejgallegos/tgpcuentas.git | PHP | 328 lines
144                                      
145                                      <option title="<?php echo $saf[$i]["nombre"]; ?>" value="<?php echo $saf[$i]["cod_ser"]; ?>" 
146                                      <?php if ($saf[$i]["cod_ser"]==$cta2)
271                echo $sector[$i]['cod_saf']."[$cont] = new slctr('".trim($sector[$i]['sector'])."','".$sector[$i]['id']."')";
272                echo chr(13).chr(10);
273                $cont++;
277                $varaux=$sector[$i]['cod_saf'];
278                echo "var ".$sector[$i]['cod_saf']."=new Array()".chr(13).chr(10);
279                $cont=0;
280                                  //MENSAJE DESPUES DE SELECCIONAR SELECT
281                //echo $sector[$i]['cod_saf']."[$cont] = new slctr('Seleccione Sector','d00')".chr(13).chr(10);
282                //$cont++;
283                echo $sector[$i]['cod_saf']."[$cont] = new slctr('".trim($sector[$i]['sector'])."','".$sector[$i]['id']."')";
284                echo chr(13).chr(10);
285                $cont++;
edit_firmante.php https://github.com/ejgallegos/tgpcuentas.git | PHP | 297 lines
196
197              <div class="panel-footer"><?php include ("partes/footer.php");?></div>  
198
240                echo $sector[$i]['cod_saf']."[$cont] = new slctr('".trim($sector[$i]['sector'])."','".$sector[$i]['id']."')";
241                echo chr(13).chr(10);
242                $cont++;
246                $varaux=$sector[$i]['cod_saf'];
247                echo "var ".$sector[$i]['cod_saf']."=new Array()".chr(13).chr(10);
248                $cont=0;
249                                  //MENSAJE DESPUES DE SELECCIONAR SELECT
250                //echo $sector[$i]['cod_saf']."[$cont] = new slctr('Seleccione Sector','d00')".chr(13).chr(10);
251                //$cont++;
252                echo $sector[$i]['cod_saf']."[$cont] = new slctr('".trim($sector[$i]['sector'])."','".$sector[$i]['id']."')";
253                echo chr(13).chr(10);
254                $cont++;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21