PageRenderTime 87ms queryFilters 1ms Sphinxql 609ms GetByIds 292ms meta 0ms repositoryFilters 8ms languageFilters 1ms sourceFilters 31ms

84,481 results for 'php chr repo:aoseala/yii-bootstrap' (87 ms)

Source

Language

Repository

ASN1.php https://github.com/dsawardekar/worker.git | PHP | 1,301 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4/**
5 * Pure-PHP ASN.1 Parser
6 * PHP versions 4 and 5
29 * @package    File_ASN1
30 * @author     Jim Wigginton <terrafrost@php.net>
31 * @copyright  MMXII Jim Wigginton
32 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
33 * @link       http://phpseclib.sourceforge.net
34 */
104 *
105 * @author  Jim Wigginton <terrafrost@php.net>
106 * @version 0.3.0
134/**
135 * Pure-PHP ASN.1 Parser
136 *
func.inc.php https://github.com/prologos/xe-core.git | PHP | 1,621 lines
813		{
814			$firephp = FirePHP::getInstance(TRUE);
815		}
862			else $print[] = $type . '(' . var_export($debug_output, TRUE) . ')';
863			$print[] = PHP_EOL.PHP_EOL;
864		}
1298	{
1299		return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
1300	}
1302	{
1303		return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
1304	}
1306	{
1307		return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
1308	}
helpers.class.php https://github.com/CharlesTati/Minicraft.git | PHP | 861 lines
174        chr(194) . chr(170) => 'a',
175        chr(194) . chr(186) => 'o',
176        chr(195) . chr(128) => 'A',
176        chr(195) . chr(128) => 'A',
177        chr(195) . chr(129) => 'A',
178        chr(195) . chr(130) => 'A',
223        chr(195) . chr(177) => 'n',
224        chr(195) . chr(178) => 'o',
225        chr(195) . chr(179) => 'o',
375        // Euro Sign
376        chr(226) . chr(130) . chr(172) => 'E',
377        // GBP (Pound) Sign
383      // Assume ISO-8859-1 if not UTF-8
384      $chars['in'] = chr(128) . chr(131) . chr(138) . chr(142) . chr(154) . chr(158) . chr(159) . chr(162) . chr(165) . chr(181) . chr(192) . chr(193) . chr(194) . chr(195) . chr(196) . chr(197) . chr(199) . chr(200) . chr(201) . chr(202) . chr(203) . chr(204) . chr(205) . chr(206) . chr(207) . chr(209) . chr(210) . chr(211) . chr(212) . chr(213) . chr(214) . chr(216) . chr(217) . chr(218) . chr(219) . chr(220) . chr(221) . chr(224) . chr(225) . chr(226) . chr(227) . chr(228) . chr(229) . chr(231) . chr(232) . chr(233) . chr(234) . chr(235) . chr(236) . chr(237) . chr(238) . chr(239) . chr(241) . chr(242) . chr(243) . chr(244) . chr(245) . chr(246) . chr(248) . chr(249) . chr(250) . chr(251) . chr(252) . chr(253) . chr(255);
385      
manager.encoding.php https://github.com/williamjmendoza/sigecost.git | PHP | 297 lines
4require_once(HTML2PS_DIR.'encoding.entities.inc.php');
5require_once(HTML2PS_DIR.'encoding.glyphs.inc.php');
6require_once(HTML2PS_DIR.'encoding.iso-8859-1.inc.php');
6require_once(HTML2PS_DIR.'encoding.iso-8859-1.inc.php');
7require_once(HTML2PS_DIR.'encoding.iso-8859-2.inc.php');
8require_once(HTML2PS_DIR.'encoding.iso-8859-3.inc.php');
17require_once(HTML2PS_DIR.'encoding.iso-8859-13.inc.php');
18require_once(HTML2PS_DIR.'encoding.iso-8859-14.inc.php');
19require_once(HTML2PS_DIR.'encoding.iso-8859-15.inc.php');
209      // ! Note the order of array checking; optimizing interpreters may break this
210      if (isset($vector[chr($i)]) && isset($GLOBALS['g_unicode_glyphs'][$vector[chr($i)]])) {
211        $result .= " /".$GLOBALS['g_unicode_glyphs'][$vector[chr($i)]];
246    for ($i = 0; $i <= 32; $i++) {
247      $initial_vector[chr($i)] = chr($i);
248    };
lagerstatus.php https://github.com/nielsrune/saldi.git | PHP | 194 lines
35include("../includes/connect.php");
36include("../includes/online.php");
37include("../includes/std_func.php");
38
39# if ($popup) $returside="../includes/luk.php";
40# else $returside="rapport.php";
49	setcookie("saldi_lagerstatus", $varegruppe);
50	$returside="rapport.php?varegruppe=$varegruppe";
51}
124	$fp=fopen("../temp/$db/lagerstatus.csv","w");
125	fwrite($fp,"Varenr".chr(9)."Enhed".chr(9)."Beskrivelse".chr(9)."Købt".chr(9)."Solgt".chr(9)."Antal".chr(9)."Købspris".chr(9)."Kostpris".chr(9)."Salgspris\n");
126}
176		<td align=right>".dkdecimal($salgspris[$x]*$batch_t_antal[$x])."<br></td></tr>";
177		if ($csv) fwrite($fp,"$varenr[$x]".chr(9)."$enhed[$x]".chr(9)."$beskrivelse[$x]".chr(9)."$batch_k_antal[$x]".chr(9)."$batch_s_antal[$x]".chr(9).$batch_t_antal[$x].chr(9).dkdecimal($batch_pris[$x]).chr(9).dkdecimal($kostpris[$x]*$batch_t_antal[$x]).chr(9).dkdecimal($salgspris[$x]*$batch_t_antal[$x])."\n");
178		$lagervalue=$lagervalue+$batch_pris[$x];$kostvalue=$kostvalue+$kostpris[$x]*$batch_t_antal[$x]; $salgsvalue=$salgsvalue+($salgspris[$x]*$batch_t_antal[$x]);
exporter_varer.php https://github.com/nielsrune/saldi.git | PHP | 87 lines
31
32include("../includes/connect.php");
33include("../includes/online.php");
33include("../includes/online.php");
34include("../includes/std_func.php");
35
35
36$returside="../diverse.php";
37
41
42$overskrift='"'."varenr".'"'.chr(9).'"'."stregkode".'"'.chr(9).'"'."beskrivelse".'"'.chr(9).'"'."kostpris".'"'.chr(9).'"'."salgspris".'"'.chr(9).'"'."vejl_pris".'"'.chr(9).'"'."notes".'"'.chr(9).'"'."enhed".'"'.chr(9).'"'."gruppe".'"'.chr(9).'"'."min_lager".'"'.chr(9).'"'."max_lager".'"'.chr(9).'"'."lokation".'"';
43if ($charset=="UTF-8") $overskrift=utf8_decode($overskrift);
56
57		$linje='"'.$varenr.'"'.chr(9).'"'.$stregkode.'"'.chr(9).'"'.$beskrivelse.'"'.chr(9).$kostpris.chr(9).$salgspris.chr(9).$retail_price.chr(9).'"'.$r['notes'].'"'.chr(9).'"'.$r['enhed'].'"'.chr(9).$r['gruppe'].chr(9).$min_lager.chr(9).$max_lager.chr(9).'"'.$r['location'].'"';
58		$linje=str_replace("\n","",$linje);
exporter_formular.php https://github.com/nielsrune/saldi.git | PHP | 74 lines
28
29include("../includes/connect.php");
30include("../includes/online.php");
30include("../includes/online.php");
31include("../includes/std_func.php");
32
34
35$returside="../diverse.php";
36
39$fp=fopen($filnavn,"w");
40if (fwrite($fp,"formular".chr(9)."art".chr(9)."beskrivelse".chr(9)."justering".chr(9)."xa".chr(9)."ya".chr(9)."xb".chr(9)."yb".chr(9)."str".chr(9)."color".chr(9)."font".chr(9)."fed".chr(9)."kursiv".chr(9)."side".chr(9)."sprog\r\n")) {
41	$q=db_select("select * from formularer order by sprog,formular,art",__FILE__ . " linje " . __LINE__);
45		$r['xa']*=1;$r['ya']*=1;$r['xb']*=1;$r['yb']*=1;$r['str']*=1;
46		$linje=str_replace("\n","",$r['formular'].chr(9).$r['art'].chr(9).$beskrivelse.chr(9).$r['justering'].chr(9).$r['xa'].chr(9).$r['ya'].chr(9).$r['xb'].chr(9).$r['yb'].chr(9).$r['str'].chr(9).$r['color'].chr(9).$r['font'].chr(9).$r['fed'].chr(9).$r['kursiv'].chr(9).$r['side'].chr(9).$r['sprog']);
47		fwrite($fp, $linje."\r\n");
debitorvisning.php https://github.com/nielsrune/saldi.git | PHP | 317 lines
1<?php
2
2
3// --debitor/debitorvisning.php--------------------lap 3.2.2--2011-07-03--
4// LICENS
37
38include("../includes/connect.php");
39include("../includes/online.php");
39include("../includes/online.php");
40include("../includes/std_func.php");
41
43
44if ($popup) $returside="../includes/luk.php"; 
45else $returside="$side.php";
60			if ($dg_liste[$x]) {
61				($box1)?$box1.=chr(9).$dg_id[$x]:$box1=$dg_id[$x];
62			}
invoice.php https://github.com/nielsrune/saldi.git | PHP | 117 lines
1<?php
2// #----------------- soapserver/invoice.php -----ver 3.2.4---- 2011.10.25 ----------
29		
30	list($s_id,$tmp)=explode(chr(9),$string);
31	if (!$s_id) return('1'.chr(9)."Missing session ID");
31	if (!$s_id) return('1'.chr(9)."Missing session ID");
32#	include("../includes/select.php");
33	include ("../includes/connect.php");
33	include ("../includes/connect.php");
34	include ("../includes/online.php");
35	include ("../includes/std_func.php");
35	include ("../includes/std_func.php");
36	include ("../includes/ordrefunc.php");
37	include ("../includes/formfunk.php");
40	$ordre_id=str_replace($s_id,"",$string);
41	$ordre_id=str_replace(chr(9),"",$ordre_id);
42	$ordre_id=str_replace(chr(10),"",$ordre_id);
Installer.php https://github.com/spenser-roark/OOUG-Wiki.git | PHP | 1,594 lines
386	public function doEnvironmentChecks() {
387		$phpVersion = phpversion();
388		if( version_compare( $phpVersion, self::MINIMUM_PHP_VERSION, '>=' ) ) {
391		} else {
392			$this->showMessage( 'config-env-php-toolow', $phpVersion, self::MINIMUM_PHP_VERSION );
393			$good = false;
1028		} elseif ($c <= 0xFFFF) {
1029			return chr(0xE0 | $c >> 12) . chr(0x80 | $c >> 6 & 0x3F)
1030				. chr(0x80 | $c & 0x3F);
1031		} elseif ($c <= 0x10FFFF) {
1032			return chr(0xF0 | $c >> 18) . chr(0x80 | $c >> 12 & 0x3F)
1033				. chr(0x80 | $c >> 6 & 0x3F)
1176				"<?php echo 'ex' . 'ec';",
1177				"#!/var/env php5\n<?php echo 'ex' . 'ec';",
1178			),
class.pdf.php https://github.com/muchael/expressolivre.git | PHP | 5,635 lines
2055      // figure out the additional paramaters required
2056      $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);
2057
2094      // now make the u value, phew.
2095      $tmp =  $this->md5_16($user.$ovalue.chr($options['p']) .chr(255) .chr(255) .chr(255) .$this->fileIdentifier);
2096
2182
2183    $tmp.=  chr(hexdec(substr($hex, 4, 2))) .chr(hexdec(substr($hex, 2, 2))) .chr(hexdec(substr($hex, 0, 2))) .chr(0) .chr(0);
2184
3713  function  utf8toCodePointsArray(&$text) {
3714    $length = mb_strlen($text,'8bit'); // http://www.php.net/manual/en/function.mb-strlen.php#77040
3715    $unicode = array(); // array containing unicode values
4982
4983      $header =  chr(137) .chr(80) .chr(78) .chr(71) .chr(13) .chr(10) .chr(26) .chr(10);
4984
utf8.php https://github.com/gbby/folders2web.git | PHP | 1,625 lines
57     * @author <bmorel@ssi.fr>
58     * @link   http://www.php.net/manual/en/function.utf8-encode.php
59     */
104     * @author Harry Fuecks <hfuecks@gmail.com>
105     * @author Chris Smith <chris@jalakai.co.uk>
106     * @param string
134        // cast parameters to appropriate types to avoid multiple notices/warnings
135        $str = (string)$str;                          // generates E_NOTICE for PHP4 objects, but not PHP5 objects
136        $offset = (int)$offset;
462     * @author <vpribish at shopping dot com>
463     * @link   http://www.php.net/manual/en/function.utf8-decode.php
464     */
899     *
900     * @author       chris smith <chris@jalakai.co.uk>
901     */
formatting.php https://github.com/davidmh/WordPress.git | PHP | 3,146 lines
718		$chars['in'] = chr(128).chr(131).chr(138).chr(142).chr(154).chr(158)
719			.chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
720			.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
720			.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
721			.chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
722			.chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
722			.chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
723			.chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
724			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
725			.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
726			.chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
727			.chr(252).chr(253).chr(255);
731		$string = strtr($string, $chars['in'], $chars['out']);
732		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
733		$double_chars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
Hostname.php https://github.com/wmakend/zf2.git | PHP | 723 lines
1<?php
2/**
18 *
19 * The first is tests/Zend/Validator/HostnameTestStandalone.php which is designed to be run on
20 * the command line.
21 *
22 * The second is tests/Zend/Validator/HostnameTestForm.php which is designed to be run via HTML
23 * to allow users to test entering UTF-8 characters in a form.
112     * (.DE) Germany http://www.denic.de/en/domains/idns/liste.html
113     * (.DK) Danmark http://www.dk-hostmaster.dk/index.php?id=151
114     * (.ES) Spain https://www.nic.es/media/2008-05/1210147705287.pdf
120     * (.IR) Iran http://www.nic.ir/Allowable_Characters_dot-iran
121     * (.IS) Iceland http://www.isnic.is/domain/rules.php
122     * (.KR) Korea http://www.iana.org/domains/idn-tables/tables/kr_ko-kr_1.0.html
129     * (.NU) Niue http://www.worldnames.net/
130     * (.ORG) International http://www.pir.org/index.php?db=content/FAQs&tbl=FAQs_Registrant&id=2
131     * (.PE) Peru https://www.nic.pe/nuevas_politicas_faq_2.php
ref.php https://github.com/firejdl/php-ref.git | PHP | 2,179 lines
334   *
335   * @link    http://pear.php.net/manual/en/standards.sample.php
336   * @param   string $comment    DocBlock comment (must start with /**)
581              }else{
582                $output[] = $closing ? array('chr' => '-') : array('chr-range' => '-');
583              }
1495
1496        // @see: http://php.net/manual/en/resource.php
1497        // need to add more...
1840
1841        // work-around for https://bugs.php.net/bug.php?id=49154
1842        // @see http://stackoverflow.com/questions/15672287/strange-behavior-of-reflectiongetproperties-with-numeric-keys
1981            }catch(\Exception $e){
1982              // @see https://bugs.php.net/bug.php?id=32177&edit=1
1983            }
class.tx_mthfeedit.php https://github.com/michael-cannon/typo3-extensions.git | PHP | 1,647 lines
1<?php
2/***************************************************************
36require_once(PATH_tslib.'class.tslib_pibase.php');
37require_once(PATH_site.TYPO3_mainDir.'sysext/lang/lang.php');
38require_once(PATH_t3lib.'class.t3lib_parsehtml_proc.php');
38require_once(PATH_t3lib.'class.t3lib_parsehtml_proc.php');
39define(PATH_typo3,PATH_site.TYPO3_mainDir); // used in template.php
40require_once(PATH_site.TYPO3_mainDir.'template.php');
40require_once(PATH_site.TYPO3_mainDir.'template.php');
41if(t3lib_extmgm::isLoaded('rtehtmlarea')) require_once(t3lib_extMgm::extPath('rtehtmlarea').'pi2/class.tx_rtehtmlarea_pi2.php');
42if(t3lib_extmgm::isLoaded('rlmp_dateselectlib')) require_once(t3lib_extMgm::extPath('rlmp_dateselectlib').'class.tx_rlmpdateselectlib.php');
428      if(!$withHTML) {
429	$result[] = $label.chr(10).$fieldCode.chr(10);
430      } else {
1498    return 
1499  '<script type="text/javascript">'.implode(chr(10), $this->additionalJS_post).'</script>'.chr(10).
1500  '<script type="text/javascript">'.implode(chr(10), $this->additionalJS_end).'</script>';
Converter.php https://github.com/csk83/PHPIDS.git | PHP | 760 lines
1<?php
2
7 *
8 * Copyright (c) 2008 PHPIDS group (https://phpids.org)
9 *
22 *
23 * PHP version 5.1.6+
24 *
340        $search = array(
341            chr(0), chr(1), chr(2), chr(3), chr(4), chr(5),
342            chr(6), chr(7), chr(8), chr(11), chr(12), chr(14),
342            chr(6), chr(7), chr(8), chr(11), chr(12), chr(14),
343            chr(15), chr(16), chr(17), chr(18), chr(19), chr(24),
344            chr(25), chr(192), chr(193), chr(238), chr(255), '\\0'
480            foreach ($matches[0] as $match) {
481                $chr = chr(hexdec(substr($match, 2, 4)));
482                $value = str_replace($match, $chr, $value);
CupsPrintIPP.php https://github.com/nethesis/nethserver-cups.git | PHP | 672 lines
2/* vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker: */
3/* @(#) $Header: /sources/phpprintipp/phpprintipp/php_classes/CupsPrintIPP.php,v 1.1 2008/06/21 00:30:56 harding Exp $
4 *
87                $this->meta->attributes .= chr(0x44) // Keyword
88                                        .  chr(0x0).chr(0x0) // zero-length name
89                                        .  self::_giveMeStringLength($attributes[$i])
162       $this->stringjob = chr(0x01) . chr(0x01) // IPP version 1.1 
163                         . chr(0x40). chr(0x08) // operation:  cups vendor extension: Accept-Jobs
164                         . $this->meta->operation_id // request-id
321                $this->meta->attributes .= chr(0x44) // Keyword
322                                        .  chr(0x0).chr(0x0) // zero-length name
323                                        .  self::_giveMeStringLength($attributes[$i])
327        $this->stringjob = chr(0x01) . chr(0x01) // IPP version 1.1 
328                         . chr(0x40). chr(0x02) // operation:  cups vendor extension: get printers
329                         . $this->meta->operation_id //           request-id
Urlizer.php https://github.com/mrcoco/codeigniter-hmvc-doctrine.git | PHP | 221 lines
171            $chars['in'] = chr(128).chr(131).chr(138).chr(142).chr(154).chr(158)
172            .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
173            .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
173            .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
174            .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
175            .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
176            .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
177            .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
178            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
178            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
179            .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
180            .chr(252).chr(253).chr(255);
184            $string = strtr($string, $chars['in'], $chars['out']);
185            $doubleChars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
186            $doubleChars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
functions.inc.php https://github.com/dwagner2301/dompdf.git | PHP | 1,027 lines
784  else if ($c <= 0x7FF) {
785    return chr(0xC0 | $c >>  6) . chr(0x80 | $c & 0x3F);
786  }
787  else if ($c <= 0xFFFF) {
788    return chr(0xE0 | $c >> 12) . chr(0x80 | $c >> 6 & 0x3F)
789                                . chr(0x80 | $c & 0x3F);
791  else if ($c <= 0x10FFFF) {
792    return chr(0xF0 | $c >> 18) . chr(0x80 | $c >> 12 & 0x3F)
793                                . chr(0x80 | $c >> 6 & 0x3F)
814 * PDF streaming is impossible.
815 * @see http://www.php.net/manual/en/function.set-error_handler.php
816 *
940 *
941 * @link http://us.php.net/manual/en/function.sys-get-temp-dir.php#85261
942 */
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21