PageRenderTime 2277ms queryFilters 0ms Sphinxql 332ms GetByIds 1884ms meta 0ms repositoryFilters 10ms languageFilters 0ms sourceFilters 1ms

84,481 results for 'php chr repo:teplitsa/easy-digital-downloads' (2277 ms)

Source

Language

Repository

mo.php https://github.com/davodey/WordPress.git | PHP | 260 lines
1<?php
2/**
4 *
5 * @version $Id: mo.php 718 2012-10-31 00:32:02Z nbachiyski $
6 * @package pomo
9
10require_once dirname(__FILE__) . '/translations.php';
11require_once dirname(__FILE__) . '/streams.php';
38	function export() {
39		$tmp_fh = fopen("php://temp", 'r+');
40		if ( !$tmp_fh ) return false;
75		$current_addr++;
76		$originals_table = chr(0);
77
78		foreach($entries as $entry) {
79			$originals_table .= $this->export_original($entry) . chr(0);
80			$length = strlen($this->export_original($entry));
DataTest.php https://github.com/chasemaier/zf1.git | PHP | 5,648 lines
1<?php
2/**
43    {
44        require_once 'Zend/Cache.php';
45        $this->_cache = Zend_Cache::factory('Core', 'File',
740                array(
741                    0 => 'v. Chr.',
742                    1 => 'n. Chr.',
745                array(
746                    0 => 'v. Chr.',
747                    1 => 'n. Chr.',
761        $date = Zend_Locale_Data::getList('de_AT', 'era');
762        $this->assertEquals(array("0" => "v. Chr.", "1" => "n. Chr."), $date);
763
764        $date = Zend_Locale_Data::getList('de_AT', 'era', array('gregorian', 'Abbr'));
765        $this->assertEquals(array("0" => "v. Chr.", "1" => "n. Chr."), $date);
766
mo.php https://github.com/cicorias/YOURLS.git | PHP | 257 lines
1<?php
2/**
4 *
5 * @version $Id: mo.php 718 2012-10-31 00:32:02Z nbachiyski $
6 * @package pomo
9
10require_once dirname(__FILE__) . '/translations.php';
11require_once dirname(__FILE__) . '/streams.php';
38	function export() {
39		$tmp_fh = fopen("php://temp", 'r+');
40		if ( !$tmp_fh ) return false;
75		$current_addr++;
76		$originals_table = chr(0);
77
78		foreach($entries as $entry) {
79			$originals_table .= $this->export_original($entry) . chr(0);
80			$length = strlen($this->export_original($entry));
admin_config.php https://github.com/CasperGemini/e107.git | PHP | 721 lines
1<?php
2/*
13
14require_once('../../class2.php');
15if (!getperms('P')) 
16{
17	header('location:'.e_BASE.'index.php');
18	exit;
20$e_sub_cat = 'newsletter';
21require_once(e_ADMIN.'auth.php');
22// Include ren_help for display_help (while showing BBcodes)
22// Include ren_help for display_help (while showing BBcodes)
23require_once(e_HANDLER.'ren_help.php');
24
150					<td>".$data['newsletter_title']."</td>
151					<td>".((substr_count($data['newsletter_subscribers'], chr(1))!= 0)?"<a href='".e_SELF."?vs.".$data['newsletter_id']."'>".substr_count($data['newsletter_subscribers'], chr(1))."</a>":substr_count($data['newsletter_subscribers'], chr(1)))."</td>
152					<td>
image_functions.php https://github.com/Pankrashingo/cms-landing.git | PHP | 905 lines
1<?php
2
184    $length = strlen($value);
185    $retval = chr(0x1C) . chr($rec) . chr($data);
186
188    {
189        $retval .= chr($length >> 8) .  chr($length & 0xFF);
190    }
192    {
193        $retval .= chr(0x80) . 
194                   chr(0x04) . 
194                   chr(0x04) . 
195                   chr(($length >> 24) & 0xFF) . 
196                   chr(($length >> 16) & 0xFF) . 
196                   chr(($length >> 16) & 0xFF) . 
197                   chr(($length >> 8) & 0xFF) . 
198                   chr($length & 0xFF);
wpt-functions.php https://github.com/CaffeinatedJim/catsinmyyard.git | PHP | 745 lines
414	}
415	$admin_url = ( is_plugin_active( 'wp-tweets-pro/wpt-pro-functions.php' ) ) ? admin_url( 'admin.php?page=wp-tweets-pro' ) : admin_url( 'options-general.php?page=wp-to-twitter/wp-to-twitter.php' );
416	echo "
577                    {
578                        $last_uchr = $compMap[$last_uchr . $uchr];
579                    }
610                    $L = 0xAC00 + ($L * 21 + $V) * 28 + $T;
611                    $last_uchr = chr(0xE0 | $L>>12) . chr(0x80 | $L>>6 & 0x3F) . chr(0x80 | $L & 0x3F);
612                }
662                    isset($c[$combClass[$uchr]]) || $c[$combClass[$uchr]] = '';
663                    $c[$combClass[$uchr]] .= isset($compatMap[$uchr]) ? $compatMap[$uchr] : (isset($decompMap[$uchr]) ? $decompMap[$uchr] : $uchr);
664                }
677
678                        $j = isset($compatMap[$uchr]) ? $compatMap[$uchr] : (isset($decompMap[$uchr]) ? $decompMap[$uchr] : $uchr);
679
Base.php https://github.com/tjworks/mongoing.git | PHP | 1,990 lines
328     * - CRYPT_MODE_MCRYPT   (fast, php-extension: mcrypt, extension_loaded('mcrypt') required)
329     * - CRYPT_MODE_INTERNAL (slower, pure php-engine, no php-extension required)
330     *
641
642            // re: {@link http://phpseclib.sourceforge.net/cfb-demo.phps}
643            // using mcrypt's default handing of CFB the above would output two different things.  using phpseclib's
909            if ($this->paddable) {
910                // we pad with chr(0) since that's what mcrypt_generic does.  to quote from {@link http://www.php.net/function.mcrypt-generic}:
911                // "The data is padded with "\0" to make sure the length of the data is n * blocksize."
1282            // to workaround mcrypt's broken ncfb implementation in buffered mode
1283            // see: {@link http://phpseclib.sourceforge.net/cfb-demo.phps}
1284            if ($this->mode == CRYPT_MODE_CFB) {
1467     *       - 100% compatible to encrypt()/decrypt()
1468     *       - using only php5+ features/lang-constructs/php-extensions if
1469     *         compatibility (down to php4) or fallback is provided
debitorkort.php https://github.com/nielsrune/saldi.git | PHP | 869 lines
1<?php
2// ------------- debitor/debitorkort.php ------ lap 3.4.1 ----2014-05-07-----------
57	$cat_id=explode(chr(9),$r['box1']);
58	$cat_beskrivelse=explode(chr(9),$r['box2']);
59	$cat_antal=count($cat_id);
832if ($popup) print "<td width=\"10%\" $top_bund onClick=\"javascript:historik=window.open('historikkort.php?id=$id&returside=../includes/luk.php','historik','".$jsvars."');historik.focus();\" onMouseOver=\"this.style.cursor = 'pointer'\" title=\"$tekst\">".findtekst(131,$sprog_id)."<!--tekst 131--></td>\n";
833elseif ($returside!="historikkort.php") print "<td width=\"10%\" $top_bund title=\"$tekst\"><!--tekst 130--><a href=historikkort.php?id=$id&returside=debitorkort.php>".findtekst(131,$sprog_id)."<!--tekst 131--></td>\n";
834else print "<td width=\"10%\" $top_bund title=\"$tekst\"><!--tekst 130--><a href=historikkort.php?id=$id>".findtekst(131,$sprog_id)."<!--tekst 131--></td>\n";
836if ($popup) print "<td width=\"10%\" $top_bund onClick=\"javascript:kontokort=window.open('rapport.php?rapportart=kontokort&konto_fra=$kontonr&konto_til=$kontonr&returside=../includes/luk.php','kontokort','".$jsvars."');kontokort.focus();\" onMouseOver=\"this.style.cursor = 'pointer'\" title=\"$tekst\">".findtekst(133,$sprog_id)."<!--tekst 133--></td>\n";
837else print "<td width=\"10%\" $top_bund  title=\"$tekst\"><!--tekst 132--><a href=rapport.php?rapportart=kontokort&konto_fra=$kontonr&konto_til=$kontonr&returside=../debitor/debitorkort.php?id=$id>".findtekst(133,$sprog_id)."<!--tekst 133--></td>\n";
838$tekst=findtekst(129,$sprog_id);
840	if ($popup) print "<td width=\"10%\" $top_bund onClick=\"javascript:d_ordrer=window.open('ordreliste.php?konto_id=$id&valg=faktura&returside=../includes/luk.php','d_ordrer','".$jsvars."');d_ordrer.focus();\" onMouseOver=\"this.style.cursor = 'pointer'\" title=\"$tekst\">".findtekst(134,$sprog_id)."<!--tekst 134--></td>\n";
841	else print "<td width=\"10%\" $top_bund  title=\"$tekst\"><!--tekst 129--><a href=ordreliste.php?konto_id=$id&valg=faktura&returside=../debitor/debitorkort.php?id=$id>".findtekst(134,$sprog_id)."<!--tekst 134--></td>\n";
842} else print "<td width=\"10%\" $top_bund><span style=\"color:#999;\">".findtekst(134,$sprog_id)."<!--tekst 134--></span></td>\n";
846	$tekst=findtekst(312,$sprog_id);#"Klik her for at &aring;bne listen med arbejdskort"
847print "<td width=\"10%\" $top_bund title=\"$tekst\"><!--tekst 312--><a href=jobliste.php?konto_id=$id&returside=debitorkort.php>".findtekst(38,$sprog_id)."<!--tekst 38--></td>\n";
848} else print "<td width=\"10%\"  $top_bund><span style=\"color:#999;\">".findtekst(38,$sprog_id)."<!--tekst 38--></span></td>\n";
singleupdate.php https://github.com/nielsrune/saldi.git | PHP | 61 lines
1<?php
2// #----------------- soapserver/singleupdate.php -----ver 3.2.4---- 2011.10.25 ----------
27
28	list($s_id,$tmp)=explode(chr(9),$string);
29	if (!$s_id) return('1'.chr(9)."Missing session ID");
29	if (!$s_id) return('1'.chr(9)."Missing session ID");
30#	include("../includes/select.php");
31	include ("../includes/connect.php");
31	include ("../includes/connect.php");
32	include ("../includes/online.php");
33
36	$singleupdate=str_replace($s_id,"",$string);
37	$singleupdate=str_replace(chr(9),"",$singleupdate);
38	$singleupdate=str_replace(chr(10),"",$singleupdate);
38	$singleupdate=str_replace(chr(10),"",$singleupdate);
39	$singleupdate=str_replace(chr(13),"",$singleupdate);
40#	$singleupdate=str_replace(" ","",$singleupdate);
application.php https://github.com/dprotopopov/tritumana.git | PHP | 882 lines
1<?php
2//////////////////////////////////////////////////////////////////////////////
5/** Include PHPExcel */
6require_once dirname(__FILE__) . '/bower_components/PHPExcel/Classes/PHPExcel.php';
7
8require_once( dirname(__FILE__) . '/defines.php' );
9require_once( dirname(__FILE__) . '/functions.php' );
10require_once( dirname(__FILE__) . '/configuration.php' );
10require_once( dirname(__FILE__) . '/configuration.php' );
11require_once( dirname(__FILE__) . '/database.php' );
12require_once( dirname(__FILE__) . '/insales.php' );
698		//add BOM to fix UTF-8 in Excel
699		fputs($file, $bom =( chr(0xEF) . chr(0xBB) . chr(0xBF) ));
700		// The fputcsv() function formats a line as CSV and writes it to an open file.
805		//add BOM to fix UTF-8 in Excel
806		fputs($file, $bom =( chr(0xEF) . chr(0xBB) . chr(0xBF) ));
807		// The fputcsv() function formats a line as CSV and writes it to an open file.
getid3.lib.php https://github.com/noonchild/rsa.git | PHP | 1,323 lines
1<?php
2/////////////////////////////////////////////////////////////////
294			$quotient = ($number / ($maskbyte + 1));
295			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
296			$number = floor($quotient);
336		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
337			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
338		}
346			if ($synchsafe) {
347				$intstring = $intstring.chr($number & 127);
348				$number >>= 7;
349			} else {
350				$intstring = $intstring.chr($number & 255);
351				$number >>= 8;
359		// written by kcěhireability*com
360		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
361		if (!is_array($array1) || !is_array($array2)) {
getid3.lib.php https://github.com/umonkey/molinos-cms.git | PHP | 1,309 lines
1<?php
2/////////////////////////////////////////////////////////////////
297			$quotient = ($number / ($maskbyte + 1));
298			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
299			$number = floor($quotient);
339		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
340			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
341		}
349			if ($synchsafe) {
350				$intstring = $intstring.chr($number & 127);
351				$number >>= 7;
352			} else {
353				$intstring = $intstring.chr($number & 255);
354				$number >>= 8;
362		// written by kcěhireability*com
363		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
364		if (!is_array($array1) || !is_array($array2)) {
class.pdf.php https://github.com/mbleed/health.git | PHP | 4,972 lines
1764      // figure out the additional paramaters required
1765      $pad =  chr(0x28) .chr(0xBF) .chr(0x4E) .chr(0x5E) .chr(0x4E) .chr(0x75) .chr(0x8A) .chr(0x41) .chr(0x64) .chr(0x00) .chr(0x4E) .chr(0x56) .chr(0xFF) .chr(0xFA) .chr(0x01) .chr(0x08) .chr(0x2E) .chr(0x2E) .chr(0x00) .chr(0xB6) .chr(0xD0) .chr(0x68) .chr(0x3E) .chr(0x80) .chr(0x2F) .chr(0x0C) .chr(0xA9) .chr(0xFE) .chr(0x64) .chr(0x53) .chr(0x69) .chr(0x7A);
1766
1803      // now make the u value, phew.
1804      $tmp =  $this->md5_16($user.$ovalue.chr($options['p']) .chr(255) .chr(255) .chr(255) .$this->fileIdentifier);
1805
1891
1892    $tmp.=  chr(hexdec(substr($hex, 4, 2))) .chr(hexdec(substr($hex, 2, 2))) .chr(hexdec(substr($hex, 0, 2))) .chr(0) .chr(0);
1893
2214
2215      $this->addMessage('openFont: php file exists ' . $dir . 'php_' . $name.'.afm');
2216
4352
4353      $header =  chr(137) .chr(80) .chr(78) .chr(71) .chr(13) .chr(10) .chr(26) .chr(10);
4354
class.pdf.php https://github.com/reinhardsual/openemr.git | PHP | 3,084 lines
1024      // figure out the additional paramaters required
1025      $pad = chr(0x28).chr(0xBF).chr(0x4E).chr(0x5E).chr(0x4E).chr(0x75).chr(0x8A).chr(0x41).chr(0x64).chr(0x00).chr(0x4E).chr(0x56).chr(0xFF).chr(0xFA).chr(0x01).chr(0x08).chr(0x2E).chr(0x2E).chr(0x00).chr(0xB6).chr(0xD0).chr(0x68).chr(0x3E).chr(0x80).chr(0x2F).chr(0x0C).chr(0xA9).chr(0xFE).chr(0x64).chr(0x53).chr(0x69).chr(0x7A);
1026      $len = strlen($options['owner']);
1047      // now make the u value, phew.
1048      $tmp = $this->md5_16($user.$ovalue.chr($options['p']).chr(255).chr(255).chr(255).$this->fileIdentifier);
1049      $ukey = substr($tmp,0,5);
1103  }
1104  $tmp.= chr(hexdec(substr($hex,4,2))).chr(hexdec(substr($hex,2,2))).chr(hexdec(substr($hex,0,2))).chr(0).chr(0);
1105  $key = $this->md5_16($tmp);
1399    $this->fonts[$font]=$data;
1400    touch($dir.'php_'.$name.'.afm'); // php bug
1401    $fp = fopen($dir.'php_'.$name.'.afm','w');
2664  if (!$error){
2665    $header = chr(137).chr(80).chr(78).chr(71).chr(13).chr(10).chr(26).chr(10);
2666    if (substr($data,0,8)!=$header){
getid3.lib.php https://github.com/stormeus/Kusaba-Z.git | PHP | 1,309 lines
1<?php
2/////////////////////////////////////////////////////////////////
297			$quotient = ($number / ($maskbyte + 1));
298			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
299			$number = floor($quotient);
339		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
340			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
341		}
349			if ($synchsafe) {
350				$intstring = $intstring.chr($number & 127);
351				$number >>= 7;
352			} else {
353				$intstring = $intstring.chr($number & 255);
354				$number >>= 8;
362		// written by kc┼śhireability*com
363		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
364		if (!is_array($array1) || !is_array($array2)) {
Urlizer.php https://github.com/jaimesuez/DoctrineExtensions.git | PHP | 462 lines
176            .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
177            .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
178            .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
178            .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
179            .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
180            .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
180            .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
181            .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
182            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
182            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
183            .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
184            .chr(252).chr(253).chr(255);
188            $string = strtr($string, $chars['in'], $chars['out']);
189            $doubleChars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
190            $doubleChars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
BigInteger.php https://gitlab.com/windigo-gs/windigos-gnu-social.git | PHP | 3,704 lines
575                    $temp = bcmod($current, '16777216');
576                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
577                    $current = bcdiv($current, '16777216', 0);
767     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
768     * 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
769     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2899        // generate as many leading 1's as we need to.
2900        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2901        $this->_base256_lshift($leading_ones, $current_bits);
3008            $precision = 8 * strlen($bits) - 8 + $i;
3009            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
3010        }
3200
3201        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3202        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
getid3.lib.php https://gitlab.com/jessehall/hudson_alpha.git | PHP | 1,342 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)) {
665			$newcharstring  = chr(($charval >>   6) | 0xC0);
666			$newcharstring .= chr(($charval & 0x3F) | 0x80);
667		} elseif ($charval < 65536) {
1322		if (GETID3_OS_ISWINDOWS) {
1323			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:
1324				$filesystem = new COM('Scripting.FileSystemObject');
BigInteger.php https://gitlab.com/intersango/witcoin.git | PHP | 3,545 lines
519                    $temp = bcmod($current, '16777216');
520                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
521                    $current = bcdiv($current, '16777216', 0);
702     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
703     * 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
704     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2793        // generate as many leading 1's as we need to.
2794        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2795        $this->_base256_lshift($leading_ones, $current_bits);
2902            $precision = 8 * strlen($bits) - 8 + $i;
2903            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2904        }
3039
3040        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3041        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
funcs.strings.php https://gitlab.com/fork/hotarucms.git | PHP | 607 lines
406		$chars['in'] = chr(128).chr(131).chr(138).chr(142).chr(154).chr(158)
407			.chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
408			.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
408			.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
409			.chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
410			.chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
411			.chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
412			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
413			.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
413			.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
414			.chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
415			.chr(252).chr(253).chr(255);
419		$string = strtr($string, $chars['in'], $chars['out']);
420		$double_chars['in'] = array( chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254) );
421		$double_chars['out'] = array( 'OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th' );
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21