PageRenderTime 619ms queryFilters 1ms Sphinxql 452ms GetByIds 131ms meta 0ms repositoryFilters 2ms languageFilters 1ms sourceFilters 1ms

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

Source

Language

Repository

protocol.class.php https://github.com/abdullaheldeep/WhatsAPI.git | PHP | 708 lines
1<?php
2require 'decode.php';
2require 'decode.php';
3require 'exception.php';
4
42            //initial setter
43            if(php_sapi_name() == "cli")
44            {
586            $len = strlen($data);
587            $bsize[0] = chr((8 << 4) | (($len & 16711680) >> 16));
588            $bsize[1] = chr(($len & 65280) >> 8);
588            $bsize[1] = chr(($len & 65280) >> 8);
589            $bsize[2] = chr($len & 255);
590            $size = $this->parseInt24($bsize);
599        $ret = '';
600        $ret .= chr((($length & 0xf0000) >> 16));
601        $ret .= chr((($length & 0xff00) >> 8));
admin_config.php https://github.com/CasperGemini/e107.git | PHP | 846 lines
1<?php
2/*
15{
16	header('Location: '.e_BASE.'index.php');
17	exit;
20
21require_once(e_ADMIN.'auth.php');
22require_once(e_HANDLER.'userclass_class.php');
25
26define('LogFlagFile', 'LogFlag.php');
27
27
28include_lan(e_PLUGIN.'log/languages/'.e_LANGUAGE.'_admin_log.php');
29
783
784	$data = chr(60)."?php\n". chr(47)."* e107 website system: Log file: ".date("z:Y", time())." *". chr(47)."\n\n".
785	$varStart."ipAddresses = ".$quote.$ipAddresses.$quote.";\n".
DES.php https://github.com/cuijinquan/nextwind.git | PHP | 946 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
8 *
9 * PHP versions 4 and 5
10 *
18 * <code>
19 * <?php
20 *    include('Crypt/DES.php');
52 * @package    Crypt_DES
53 * @author     Jim Wigginton <terrafrost@php.net>
54 * @copyright  MMVII Jim Wigginton
55 * @license    http://www.gnu.org/licenses/lgpl.txt
56 * @version    $Id: DES.php 21939 2012-12-17 07:13:16Z long.shi $
57 * @link       http://phpseclib.sourceforge.net
439        if ($this->mode != CRYPT_DES_MODE_CTR && $this->mode != 'ctr') {
440            // we pad with chr(0) since that's what mcrypt_generic does.  to quote from http://php.net/function.mcrypt-generic :
441            // "The data is padded with "\0" to make sure the length of the data is n * blocksize."
rcube_charset.php https://github.com/raiman264/zpanelx.git | PHP | 824 lines
1<?php
2
394            if ($c >= 0x0001 && $c <= 0x007F) {
395                $dec .= chr($c);
396            }
397            else if ($c > 0x07FF) {
398                $dec .= chr(0xE0 | (($c >> 12) & 0x0F));
399                $dec .= chr(0x80 | (($c >>  6) & 0x3F));
399                $dec .= chr(0x80 | (($c >>  6) & 0x3F));
400                $dec .= chr(0x80 | (($c >>  0) & 0x3F));
401            }
402            else {
403                $dec .= chr(0xC0 | (($c >>  6) & 0x1F));
404                $dec .= chr(0x80 | (($c >>  0) & 0x3F));
419     *
420     * Translated from C to PHP by Thomas Bruederli <roundcube@gmail.com>
421     *
OverviewUtility.php https://github.com/dkd/tc_beuser.git | PHP | 1,024 lines
1<?php
2namespace dkd\TcBeuser\Utility;
33/**
34 * OverviewUtility.php
35 *
921				'<img' . IconUtility::skinImg($this->backPath, 'gfx/zoom2.gif', 'width="12" height="12"') . ' title="" alt="" />' .
922				'</a>' . chr(10);
923		}
933					'<img' . IconUtility::skinImg($this->backPath, 'gfx/button_unhide.gif', 'width="11" height="10"') . ' title="unhide" alt="" />' .
934					'</a>' . chr(10);
935			} else {
966						'<img '.IconUtility::skinImg($this->backPath,'gfx/su_back.gif').' border="0" align="top" title="'.htmlspecialchars('Switch user to: '.$userRecord['username']).' [switch-back mode]" alt="" />'
967						.chr(10).chr(10);
968			} else {
970						'<a href="'.GeneralUtility::linkThisScript(array('SwitchUser'=>$userRecord['uid'], 'switchBackUser' => 1)).'" target="_top"><img '.IconUtility::skinImg($this->backPath,'gfx/su_back.gif').' border="0" align="top" title="'.htmlspecialchars('Switch user to: '.$userRecord['username']).' [switch-back mode]" alt="" /></a>'
971						.chr(10).chr(10);
972			}
importer_adresser.php https://github.com/nielsrune/saldi.git | PHP | 604 lines
1<?php
2// ------systemdata/importer_adresser.php---lap 3.2.9---2013-02-10--------
32
33include("../includes/connect.php");
34include("../includes/online.php");
34include("../includes/online.php");
35include("../includes/std_func.php");
36
41print "<table width=\"100%\" align=\"center\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\"><tbody>";
42if ($popup) print "<td width=\"10%\" $top_bund><a href=../includes/luk.php accesskey=L>Luk</a></td>";
43else print "<td width=\"10%\" $top_bund><a href=diverse.php?sektion=div_io accesskey=L>Luk</a></td>";
84	print "<tr><td width=100% align=center><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tbody>";
85	print "<form enctype=\"multipart/form-data\" action=\"importer_adresser.php\" method=\"POST\">";
86	print "<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"900000\">";
549
550		if (substr($var[$i],0,1)==chr(34) && substr($var[$i],-1)==chr(34)) {
551			$var[$i]=substr($var[$i],1,strlen($var[$i])-2);
exporter_kontoplan.php https://github.com/nielsrune/saldi.git | PHP | 69 lines
24
25include("../includes/connect.php");
26include("../includes/online.php");
26include("../includes/online.php");
27include("../includes/std_func.php");
28
30
31$returside="../diverse.php";
32
35$fp=fopen($filnavn,"w");
36if (fwrite($fp, "kontonr".chr(9)."beskrivelse".chr(9)."kontotype".chr(9)."momskode".chr(9)."fra_konto\r\n")) {
37	$q=db_select("select * from kontoplan where regnskabsaar='$regnskabsaar' order by kontonr");
40		if ($charset=="UTF-8") $beskrivelse=utf8_decode($beskrivelse);
41		$linje=str_replace("\n","",$r['kontonr'].chr(9).$beskrivelse.chr(9).$r['kontotype'].chr(9).$r['moms'].chr(9).$r['fra_kto']);
42		fwrite($fp, $linje."\r\n");
soapfunc.php https://github.com/nielsrune/saldi.git | PHP | 189 lines
1<?php
2// #----------------- soapfunc.php -----ver 3.2.9---- 2012.10.09 ----------
26		global $url;
27#		include("saldi_connect.php");
28		(strpos(getcwd(),'soapklient'))?$folder="":$folder="soapklient/";
41		$soap = new SoapClient("$folder".$wsdl);
42		list($error,$svar)=explode(chr(9),$soap->logon("$regnskab".chr(9)."$username".chr(9)."$password"));
43		if ($error) {
45		} else {
46			return ("0".chr(9)."$svar");
47		}
53		$query=utf8_encode($query);
54		$string="$s_id".chr(9)."$query";
55		(strpos(getcwd(),'soapklient'))?$folder="":$folder="soapklient/";
146		global $url;
147		$string="$s_id".chr(9)."$ordre_id".chr(9)."$products_model".chr(9)."$products_name".chr(9)."$products_quantity".chr(9)."$products_price".chr(9)."$products_tax".chr(9)."$posnr";
148		$string=utf8_encode($string);
opdat_vare.php https://github.com/nielsrune/saldi.git | PHP | 142 lines
1<?php
2// #----------------- opdat_vare.php -----ver 3.2.6---- 2012.01.14 ----------
30$notes=$_GET['notes'];
31$kat_id=explode(chr(9),$_GET['kat_id']);
32$parent_kat_id==explode(chr(9),$_GET['parent_kat_id']);
32$parent_kat_id==explode(chr(9),$_GET['parent_kat_id']);
33$kat=explode(chr(9),$_GET['kat']);
34$parent_kat==explode(chr(9),$_GET['parent_kat']);
34$parent_kat==explode(chr(9),$_GET['parent_kat']);
35$shop_kat_id=explode(chr(9),$_GET['shop_kat_id']);
36$parent_shop_kat_id=explode(chr(9),$_GET['parent_shop_kat_id']);
57if ($vare_id&&$varenr&&$beskrivelse) {
58	include("shop_connect.php");
59	include("soapfunc.php");
118	if (!$shop_id) {
119		include("saldi_connect.php");
120#		include("soapfunc.php");
security-cas.php https://github.com/muchael/expressolivre.git | PHP | 145 lines
1<?php
2	$GLOBALS['phpgw_info'] = array();
2	$GLOBALS['phpgw_info'] = array();
3	$GLOBALS['phpgw_info']['flags']['currentapp'] = 'admin';
4	include('../header.inc.php');
4	include('../header.inc.php');
5	require_once('classes/CertificadoB.php');
6        require_once('security-lib.php');
37                                $w = '';
38                                if(count(explode(chr(0x0A),$w)) < 7 )
39                                    {
42                                    }
43                                if(count(explode(chr(0x0A),$w)) < 7 )
44                                    {
80                                            {
81                                                $conteudo .= chr(0x0D) . chr(0x0A) . $cert;
82                                                $msgs_alertas .= lang('Certificate added to') . ' ' . $a->dados['NOME'] . ' .<br/>';
login_default.php https://github.com/muchael/expressolivre.git | PHP | 656 lines
49				{
50					$GLOBALS['phpgw']->session->phpgw_setcookie(PHPGW_PHPSESSID);
51				}
138
139            $_SESSION['login_certificado'] = troca_espaco_por_mais(str_replace(chr(0x0D).chr(0x0A),chr(0x0A),str_replace(chr(0x0A).chr(0x0A),chr(0x0A),$_POST['certificado'])));
140        }
265			}
266			$forward = isset($_GET['phpgw_forward']) ? urldecode($_GET['phpgw_forward']) : @$_POST['phpgw_forward'];
267			if (!$forward)
485	{
486		$var['logo_file'] = $GLOBALS['phpgw']->common->image('phpgwapi',$GLOBALS['phpgw_info']['server']['login_logo_file']?$GLOBALS['phpgw_info']['server']['login_logo_file']:'logo');
487	}
487	}
488	$var['logo_url'] = $GLOBALS['phpgw_info']['server']['login_logo_url']?$GLOBALS['phpgw_info']['server']['login_logo_url']:'http://www.eGroupWare.org';
489	if (substr($var['logo_url'],0,4) != 'http')
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',
core.php https://github.com/dshafik/wp-lifestream.git | PHP | 2,783 lines
1<?php
2
4{
5	require_once(LIFESTREAM_PATH . '/lib/simplepie.inc.php');
6}
12	$bits = func_get_args();
13	$sep = (in_array(PHP_OS, array("WIN32", "WINNT")) ? '\\' : '/');
14	foreach ($bits as $key=>$value) {
25}
26// Returns the utf string corresponding to the unicode value (from php.net, courtesy - romans@void.lv)
27function lifestream_code2utf($num)
29	if ($num < 128) return chr($num);
30	if ($num < 2048) return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
31	if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
31	if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
32	if ($num < 2097152) return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
33	return '';
core.php https://github.com/barszczmm/wp-lifestream.git | PHP | 2,842 lines
1<?php
2
4{
5	require_once(LIFESTREAM_PATH . '/lib/simplepie.inc.php');
6}
12	$bits = func_get_args();
13	$sep = (in_array(PHP_OS, array("WIN32", "WINNT")) ? '\\' : '/');
14	foreach ($bits as $key=>$value) {
26}
27// Returns the utf string corresponding to the unicode value (from php.net, courtesy - romans@void.lv)
28function lifestream_code2utf($num)
30	if ($num < 128) return chr($num);
31	if ($num < 2048) return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
32	if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
32	if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
33	if ($num < 2097152) return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
34	return '';
core.php https://github.com/idotter/wp-lifestream.git | PHP | 2,982 lines
1<?php
2
4{
5	require_once(LIFESTREAM_PATH . '/lib/simplepie.inc.php');
6}
12	$bits = func_get_args();
13	$sep = (in_array(PHP_OS, array("WIN32", "WINNT")) ? '\\' : '/');
14	foreach ($bits as $key=>$value) {
26}
27// Returns the utf string corresponding to the unicode value (from php.net, courtesy - romans@void.lv)
28function lifestream_code2utf($num)
30	if ($num < 128) return chr($num);
31	if ($num < 2048) return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
32	if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
32	if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
33	if ($num < 2097152) return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
34	return '';
String.inc.php https://github.com/michaeljoyce/pkp-lib.git | PHP | 808 lines
26 * Thanks to the PEAR Validation package (Tomas V.V.Cox <cox@idecnet.com>,
27 * Pierre-Alain Joye <pajoye@php.net>, Amir Mohammad Saied <amir@php.net>)
28 *
193	/**
194	 * @see http://ca.php.net/manual/en/function.strtoupper.php
195	 */
546		if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
547		if ($num < 2097152) return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
548		return '';
614	 * Required to support HTML functions without objects in PHP4/PHP5
615	 * From php.net: function.get-html-translation-table.php
616	 * @return string
712	 * Wrapper around fputcsv for systems that may or may not support it
713	 * (i.e. PHP before 5.1.0); see PHP documentation for fputcsv.
714	 */
core.php https://github.com/jonathandong/wp-lifestream.git | PHP | 3,026 lines
1<?php
2
4{
5	require_once(ABSPATH . WPINC . '/class-simplepie.php');
6}
12	$bits = func_get_args();
13	$sep = (in_array(PHP_OS, array("WIN32", "WINNT")) ? '\\' : '/');
14	foreach ($bits as $key=>$value) {
26}
27// Returns the utf string corresponding to the unicode value (from php.net, courtesy - romans@void.lv)
28function lifestream_code2utf($num)
30	if ($num < 128) return chr($num);
31	if ($num < 2048) return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
32	if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
32	if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
33	if ($num < 2097152) return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
34	return '';
googlebase.php https://github.com/tisoft/xtcmodified.git | PHP | 482 lines
84    $module_directory = DIR_FS_CATALOG_MODULES . 'payment/';
85    $module_file_extension = substr($_SERVER['PHP_SELF'], strrpos($_SERVER['PHP_SELF'], '.'));
86    $directory_array = array();
121
122    $schema_txt_de = "beschreibung".chr(9)."id".chr(9)."link".chr(9)."preis".chr(9)."w".chr(228)."hrung".chr(9)."titel".chr(9)."zustand".chr(9)."bild_url".chr(9)."ean".chr(9)."gewicht".chr(9)."marke".chr(9)."versand".chr(9)."zahlungsmethode".chr(9)."zahlungsrichtlinien".chr(13);
123    
138      $americanexpress_modules = array('cc', 'moneybookers_cc', 'amoneybookers', 'ipayment');
139      $lastschrift_modules = array('banktransfer', 'uos_lastschrift_modul', 'uos_lastschrift_de_modul', 'uos_lastschrift_at_modul', 'uos_utdirekt_ls_modul', 'ipaymentelv', 'paymentpartner_dd');
140      $ueberweisung_modules = array('moneyorder', 'sofortueberweisungvorkasse', 'eustandardtransfer', 'uos_vorkasse_modul', 'uos_utdirekt_vk_modul');
170      if ($ae == true) { $americanexpress = 'AmericanExpress,'; } else { $americanexpress = ''; }
171      if ($la == true) { $lastschrift = 'Lastschrift,'; } else { $lastschrift = ''; }
172      if ($uw == true) { $ueberweisung = chr(220).'berweisung,'; } else { $ueberweisung = ''; }
329      $schema_xml_de .= "\t"."\t".'<item>'."\n".
330                        "\t"."\t"."\t".'<beschreibung>'.$products_description.'</beschreibung>'."\n".
331                        "\t"."\t"."\t".'<g:id>'.$products['products_id'].'</g:id>'."\n".
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21