PageRenderTime 1899ms queryFilters 31ms Sphinxql 376ms GetByIds 1482ms meta 0ms repositoryFilters 5ms languageFilters 0ms sourceFilters 1ms

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

Source

Language

Repository

exporter_variantvarer.php https://github.com/nielsrune/saldi.git | PHP | 146 lines
1<?php
2// ---------/systemdata/exporter_variantvarer.php---lap 3.4.1--2014-05-26------------------------
33include("../includes/connect.php");
34include("../includes/online.php");
35include("../includes/std_func.php");
36
37$returside="../diverse.php";
38
77else $fp=fopen($filnavn,"a");
78$overskrift="varenr".chr(9)."beskrivelse".chr(9)."stregkode".chr(9)."kostpris".chr(9)."salgspris".chr(9)."vejl.pris";
79for ($x=0;$x<count($varianter_id);$x++) {
79for ($x=0;$x<count($varianter_id);$x++) {
80	$overskrift.=chr(9).$varianter_beskrivelse[$x];
81}
96#			$variant_lager=$r['lager'];
97			$linje='"'.$varenr.'"'.chr(9).'"'.$beskrivelse.'"'.chr(9).'"'.$variant_stregkode.'"'.chr(9).dkdecimal($r['variant_kostpris']).chr(9).dkdecimal($r['variant_salgspris']).chr(9).dkdecimal($r['variant_vejlpris']);
98			for ($x=0;$x<count($varianter_id);$x++) {
importer_variantvarer.php https://github.com/nielsrune/saldi.git | PHP | 590 lines
1<?php
2// ------systemdata/importer_variantvarer.php---lap 3.1.3--2013-04-18--------
29
30include("../includes/connect.php");
31include("../includes/online.php");
31include("../includes/online.php");
32include("../includes/std_func.php");
33
38print "<table width=\"100%\" align=\"center\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\"><tbody>\n";
39if ($popup) print "<td width=\"10%\" $top_bund><a href=../includes/luk.php accesskey=L>Luk</a></td>\n"; 
40else print "<td width=\"10%\" $top_bund><a href=diverse.php?sektion=div_io accesskey=L>Luk</a></td>\n";
76
77print "<form enctype=\"multipart/form-data\" action=\"importer_variantvarer.php\" method=\"POST\">\n";
78print "<tr><td width=100% align=center><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tbody>\n";
159}
160$feltnavne.=chr(9)."salgspris".chr(9)."kostpris".chr(9)."vejl.pris";
161$felt_navn=explode(chr(9),$feltnavne);
docubizzexport.php https://github.com/nielsrune/saldi.git | PHP | 127 lines
51		else $EUmoms="N";
52		fwrite ($fp, "$r[kontonr]".chr(9)."$r[firmanavn]".chr(9)."".chr(9)."$cvrnr".chr(9)."$aktiv".chr(9)."$r[betalingsbet] $r[betalingsdage]".chr(9)."$r[addr1]".chr(9)."$r[addr2]".chr(9)."$r[postnr]".chr(9)."$r[bynavn]".chr(9)."$r[land]".chr(9)."$r[tlf]".chr(9)."$r[web]".chr(9)."$r[email]".chr(9)."$r[valuta]".chr(9)."$spćrret".chr(9)."$EUmoms\n");
53	}
61	while ($r = db_fetch_array($q)){
62		fwrite ($fp, "$r[kodenr]".chr(9)."$r[beskrivelse]".chr(9)."J".chr(9)."".chr(9)."\n");
63	}
74		else $aktiv='J';
75		fwrite ($fp, "$r[kontonr]".chr(9)."$r[beskrivelse]".chr(9)."$aktiv".chr(9)."".chr(9)."$r[genvej]".chr(9)."$r[moms]\n");
76	}
87		else $aktiv="J";
88		fwrite ($fp, "$r[initialer]".chr(9)."$r[navn]".chr(9)."$aktiv\n");
89	}
96	while ($r = db_fetch_array($q)){
97		fwrite ($fp, "$r[kodenr]".chr(9)."$r[beskrivelse]".chr(9)."J\n");
98	}
ConvertCharset.class.php https://github.com/nielsrune/saldi.git | PHP | 603 lines
24 * displayed correctly.
25 * If you want to see what I mean, go to demo.php and demo1.php
26 * 
30 * For good understanding this class you shouls read all this stuff first :) but if you are
31 * in a hurry just start the demo.php and see what's inside.
32 * 1. That I'm not good in english at 03:45 :) - so forgive me all mistakes
33 * 2. This class is a BETA version because I haven't tested it enough
34 * 3. Feel free to contact me with questions, bug reports and mistakes in PHP and this documentation (email below)
35 * 
272		if($UtfCharInDec<128) $OutputChar .= chr($UtfCharInDec);
273    else if($UtfCharInDec<2048)$OutputChar .= chr(($UtfCharInDec>>6)+192).chr(($UtfCharInDec&63)+128);
274    else if($UtfCharInDec<65536)$OutputChar .= chr(($UtfCharInDec>>12)+224).chr((($UtfCharInDec>>6)&63)+128).chr(($UtfCharInDec&63)+128);
274    else if($UtfCharInDec<65536)$OutputChar .= chr(($UtfCharInDec>>12)+224).chr((($UtfCharInDec>>6)&63)+128).chr(($UtfCharInDec&63)+128);
275    else if($UtfCharInDec<2097152)$OutputChar .= chr($UtfCharInDec>>18+240).chr((($UtfCharInDec>>12)&63)+128).chr(($UtfCharInDec>>6)&63+128). chr($UtfCharInDec&63+128);
276	return $OutputChar;
pos_ordre.php https://github.com/nielsrune/saldi.git | PHP | 1,576 lines
1<?php
2// ------------- debitor/pos_ordre.php ---------- lap 3.2.3----2013.05.07-------
39include("../includes/connect.php");
40include("../includes/online.php");
41include("../includes/std_func.php");
41include("../includes/std_func.php");
42include("../includes/ordrefunc.php");
43
55if (!$returside) {
56	if ($popup) $returside="../includes/luk.php";
57	else $returside="../index/menu.php";
670			if ($fokus!="pris_ny" && $fokus!="rabat_ny") $fokus="antal_ny";
671		} else return ("fejl".chr(9)."".chr(9)."Varenr: $varenr_ny eksisterer ikke");
672		if ($variant_type) {
762	}
763	return ($varenr_ny.chr(9).$pris_ny.chr(9).$status);
764}
functions.php http://novaboard.googlecode.com/svn/trunk/ | PHP | 1,566 lines
34			$charCheck		=	array(
35									chr(195).chr(128) => 'A', chr(195).chr(129) => 'A',
36									chr(195).chr(130) => 'A', chr(195).chr(131) => 'A',
36									chr(195).chr(130) => 'A', chr(195).chr(131) => 'A',
37									chr(195).chr(132) => 'A', chr(195).chr(133) => 'A',
38									chr(195).chr(135) => 'C', chr(195).chr(136) => 'E',
120									chr(197).chr(178) => 'U', chr(197).chr(179) => 'u',
121									chr(197).chr(180) => 'W', chr(197).chr(181) => 'w',
122									chr(197).chr(182) => 'Y', chr(197).chr(183) => 'y',
123									chr(197).chr(184) => 'Y', chr(197).chr(185) => 'Z',
124									chr(197).chr(186) => 'z', chr(197).chr(187) => 'Z',
125									chr(197).chr(188) => 'z', chr(197).chr(189) => 'Z',
125									chr(197).chr(188) => 'z', chr(197).chr(189) => 'Z',
126									chr(197).chr(190) => 'z', chr(197).chr(191) => 's',
127									chr(226).chr(130).chr(172) => 'E',
lib.php https://github.com/mirabalj/yekuana.git | PHP | 848 lines
812    chr(197).chr(134) => 'n', chr(197).chr(135) => 'N',
813    chr(197).chr(136) => 'n', chr(197).chr(137) => 'N',
814    chr(197).chr(138) => 'n', chr(197).chr(139) => 'N',
833    chr(197).chr(176) => 'U', chr(197).chr(177) => 'u',
834    chr(197).chr(178) => 'U', chr(197).chr(179) => 'u',
835    chr(197).chr(180) => 'W', chr(197).chr(181) => 'w',
835    chr(197).chr(180) => 'W', chr(197).chr(181) => 'w',
836    chr(197).chr(182) => 'Y', chr(197).chr(183) => 'y',
837    chr(197).chr(184) => 'Y', chr(197).chr(185) => 'Z',
837    chr(197).chr(184) => 'Y', chr(197).chr(185) => 'Z',
838    chr(197).chr(186) => 'z', chr(197).chr(187) => 'Z',
839    chr(197).chr(188) => 'z', chr(197).chr(189) => 'Z',
839    chr(197).chr(188) => 'z', chr(197).chr(189) => 'Z',
840    chr(197).chr(190) => 'z', chr(197).chr(191) => 's',
841    // Euro Sign
RouterTest.php https://github.com/dianaprajescu/joomla-framework.git | PHP | 350 lines
129				array(
130					'regex' => chr(1) . '^foo$' . chr(1),
131					'vars' => array(),
158			array(
159				'regex' => chr(1) . '^login$' . chr(1),
160				'vars' => array(),
163			array(
164				'regex' => chr(1) . '^logout$' . chr(1),
165				'vars' => array(),
168			array(
169				'regex' => chr(1) . '^requests$' . chr(1),
170				'vars' => array(),
173			array(
174				'regex' => chr(1) . '^requests/([^/]*)$' . chr(1),
175				'vars' => array('request_id'),
app.function.php https://github.com/no2key/TeamToy.git | PHP | 693 lines
1<?php
2if( !defined('SAE_TMP_PATH') )
312{
313	require_once( AROOT . 'controller' . DS . 'api.class.php' );
314    require_once( AROOT . 'model' . DS . 'api.function.php' );
475        if($_num>0 && $_num<160 ){
476                return chr($_num);
477        }elseif($_num<-20319 || $_num>-10247){
490        }elseif($_c < 0x800) { 
491                $_string .= chr(0xc0 | $_c>>6); 
492                $_string .= chr(0x80 | $_c & 0x3f); 
493        }elseif($_c < 0x10000){ 
494                $_string .= chr(0xe0 | $_c>>12); 
495                $_string .= chr(0x80 | $_c>>6 & 0x3f); 
495                $_string .= chr(0x80 | $_c>>6 & 0x3f); 
496                $_string .= chr(0x80 | $_c & 0x3f); 
497        }elseif($_c < 0x200000) { 
function_core.php https://github.com/kuaileshike/upload.git | PHP | 2,018 lines
1<?php
2
165		$box[$j] = $tmp;
166		$result .= chr(ord($string[$i]) ^ ($box[($box[$a] + $box[$j]) % 256]));
167	}
209		} else {
210			if(PHP_VERSION < '5.4.0') {
211				$string = htmlspecialchars($string, $flags);
246	$string = str_replace(array("\r", "\n"), array('', ''), $string);
247	if(empty($http_response_code) || PHP_VERSION < '4.3' ) {
248		@header($string, $replace);
276	$life = $life > 0 ? getglobal('timestamp') + $life : ($life < 0 ? getglobal('timestamp') - 31536000 : 0);
277	$path = $httponly && PHP_VERSION < '5.2.0' ? $config['cookiepath'].'; HttpOnly' : $config['cookiepath'];
278
400	if(!$staticavatar && !$static) {
401		return $returnsrc ? $ucenterurl.'/avatar.php?uid='.$uid.'&size='.$size : '<img src="'.$ucenterurl.'/avatar.php?uid='.$uid.'&size='.$size.($real ? '&type=real' : '').'" />';
402	} else {
rcube_charset.php https://github.com/netconstructor/roundcubemail.git | PHP | 792 lines
1<?php
2
4 +-----------------------------------------------------------------------+
5 | program/include/rcube_charset.php                                     |
6 |                                                                       |
391            if ($c >= 0x0001 && $c <= 0x007F) {
392                $dec .= chr($c);
393            }
394            else if ($c > 0x07FF) {
395                $dec .= chr(0xE0 | (($c >> 12) & 0x0F));
396                $dec .= chr(0x80 | (($c >>  6) & 0x3F));
396                $dec .= chr(0x80 | (($c >>  6) & 0x3F));
397                $dec .= chr(0x80 | (($c >>  0) & 0x3F));
398            }
399            else {
400                $dec .= chr(0xC0 | (($c >>  6) & 0x1F));
401                $dec .= chr(0x80 | (($c >>  0) & 0x3F));
TripleDES.php https://github.com/kea/phpseclib.git | PHP | 1,055 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/TripleDES.php');
49 * @package    Crypt_TripleDES
50 * @author     Jim Wigginton <terrafrost@php.net>
51 * @copyright  MMVII Jim Wigginton
52 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
53 * @version    $Id: TripleDES.php,v 1.13 2010/02/26 03:40:25 terrafrost Exp $
54 * @link       http://phpseclib.sourceforge.net
687        if ($this->paddable) {
688            // we pad with chr(0) since that's what mcrypt_generic does.  to quote from http://php.net/function.mcrypt-generic :
689            // "The data is padded with "\0" to make sure the length of the data is n * blocksize."
DES.php https://github.com/kea/phpseclib.git | PHP | 1,298 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');
55 * @package    Crypt_DES
56 * @author     Jim Wigginton <terrafrost@php.net>
57 * @copyright  MMVII Jim Wigginton
58 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
59 * @version    $Id: DES.php,v 1.12 2010/02/09 06:10:26 terrafrost Exp $
60 * @link       http://phpseclib.sourceforge.net
666        if ($this->paddable) {
667            // we pad with chr(0) since that's what mcrypt_generic does.  to quote from http://php.net/function.mcrypt-generic :
668            // "The data is padded with "\0" to make sure the length of the data is n * blocksize."
function_core.php https://github.com/jinbo51/DiscuzX.git | PHP | 2,070 lines
1<?php
2
165		$box[$j] = $tmp;
166		$result .= chr(ord($string[$i]) ^ ($box[($box[$a] + $box[$j]) % 256]));
167	}
209		} else {
210			if(PHP_VERSION < '5.4.0') {
211				$string = htmlspecialchars($string, $flags);
246	$string = str_replace(array("\r", "\n"), array('', ''), $string);
247	if(empty($http_response_code) || PHP_VERSION < '4.3' ) {
248		@header($string, $replace);
276	$life = $life > 0 ? getglobal('timestamp') + $life : ($life < 0 ? getglobal('timestamp') - 31536000 : 0);
277	$path = $httponly && PHP_VERSION < '5.2.0' ? $config['cookiepath'].'; HttpOnly' : $config['cookiepath'];
278
408	if(!$staticavatar && !$static) {
409		return $returnsrc ? $ucenterurl.'/avatar.php?uid='.$uid.'&size='.$size : '<img src="'.$ucenterurl.'/avatar.php?uid='.$uid.'&size='.$size.($real ? '&type=real' : '').'" />';
410	} else {
TripleDES.php https://github.com/sezuan/core.git | PHP | 1,081 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/TripleDES.php');
49 * @package    Crypt_TripleDES
50 * @author     Jim Wigginton <terrafrost@php.net>
51 * @copyright  MMVII Jim Wigginton
52 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
53 * @version    $Id: TripleDES.php,v 1.13 2010/02/26 03:40:25 terrafrost Exp $
54 * @link       http://phpseclib.sourceforge.net
711        if ($this->paddable) {
712            // we pad with chr(0) since that's what mcrypt_generic does.  to quote from http://php.net/function.mcrypt-generic :
713            // "The data is padded with "\0" to make sure the length of the data is n * blocksize."
DES.php https://github.com/sezuan/core.git | PHP | 1,335 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');
55 * @package    Crypt_DES
56 * @author     Jim Wigginton <terrafrost@php.net>
57 * @copyright  MMVII Jim Wigginton
58 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
59 * @version    $Id: DES.php,v 1.12 2010/02/09 06:10:26 terrafrost Exp $
60 * @link       http://phpseclib.sourceforge.net
691        if ($this->paddable) {
692            // we pad with chr(0) since that's what mcrypt_generic does.  to quote from http://php.net/function.mcrypt-generic :
693            // "The data is padded with "\0" to make sure the length of the data is n * blocksize."
mo.php https://bitbucket.org/acipriani/madeinapulia.com | PHP | 265 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
80		foreach($entries as $entry) {
81			$originals_table .= $this->export_original($entry) . chr(0);
82			$length = $reader->strlen($this->export_original($entry));
mo.php https://bitbucket.org/Thane2376/death-edge.ru.git | PHP | 262 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
80		foreach($entries as $entry) {
81			$originals_table .= $this->export_original($entry) . chr(0);
82			$length = $reader->strlen($this->export_original($entry));
Base.class.php https://bitbucket.org/ronaldobrandini/framework.git | PHP | 1,935 lines
207     *
208     * @link http://phpseclib.sourceforge.net/cfb-demo.phps
209     * @see Base::encrypt()
608
609            // re: {@link http://phpseclib.sourceforge.net/cfb-demo.phps}
610            // using mcrypt's default handing of CFB the above would output two different things.  using phpseclib's
875            if($this->paddable){
876                // we pad with chr(0) since that's what mcrypt_generic does.  to quote from {@link http://www.php.net/function.mcrypt-generic}:
877                // "The data is padded with "\0" to make sure the length of the data is n * blocksize."
1239            // to workaround mcrypt's broken ncfb implementation in buffered mode
1240            // see: {@link http://phpseclib.sourceforge.net/cfb-demo.phps}
1241            if($this->mode == CRYPT_MODE_CFB){
1418     *       - 100% compatible to encrypt()/decrypt()
1419     *       - using only php5+ features/lang-constructs/php-extensions if
1420     *         compatibility (down to php4) or fallback is provided
TripleDES.php https://github.com/DaveBenNoah/PrestaShop-modules.git | PHP | 1,062 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/TripleDES.php');
49 * @package    Crypt_TripleDES
50 * @author     Jim Wigginton <terrafrost@php.net>
51 * @copyright  MMVII Jim Wigginton
52 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
53 * @version    $Id: TripleDES.php,v 1.13 2010/02/26 03:40:25 terrafrost Exp $
54 * @link       http://phpseclib.sourceforge.net
697        if ($this->paddable) {
698            // we pad with chr(0) since that's what mcrypt_generic does.  to quote from http://php.net/function.mcrypt-generic :
699            // "The data is padded with "\0" to make sure the length of the data is n * blocksize."
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21