PageRenderTime 26ms queryFilters 0ms Sphinxql 54ms app.CodeModel.GetByIds 124ms findMatchingLines 40ms GetByIds 164ms meta 0ms repositoryFilters 6ms languageFilters 0ms sourceFilters 2ms

21,207 results for 'php chr repo:Dratone/EveBB' (26 ms)

Source

Language

Repository

String.inc.php https://github.com/lib-uoguelph-ca/ocs.git | PHP | 938 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 *
237	/**
238	 * @see http://ca.php.net/manual/en/function.strtoupper.php
239	 */
634		if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
635		if ($num < 2097152) return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
636		return '';
702	 * Required to support HTML functions without objects in PHP4/PHP5
703	 * From php.net: function.get-html-translation-table.php
704	 * @return string
800	 * Wrapper around fputcsv for systems that may or may not support it
801	 * (i.e. PHP before 5.1.0); see PHP documentation for fputcsv.
802	 */
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}
class.pdf.php https://github.com/sabatesduran/gawos.git | PHP | 4,618 lines
1644      $pad = chr(0x28) .chr(0xBF) .chr(0x4E) .chr(0x5E) .chr(0x4E) .chr(0x75) .chr(0x8A) .chr(0x41)
1645             .chr(0x64) .chr(0x00) .chr(0x4E) .chr(0x56) .chr(0xFF) .chr(0xFA) .chr(0x01) .chr(0x08)
1646             .chr(0x2E) .chr(0x2E) .chr(0x00) .chr(0xB6) .chr(0xD0) .chr(0x68) .chr(0x3E) .chr(0x80)
1646             .chr(0x2E) .chr(0x2E) .chr(0x00) .chr(0xB6) .chr(0xD0) .chr(0x68) .chr(0x3E) .chr(0x80)
1647             .chr(0x2F) .chr(0x0C) .chr(0xA9) .chr(0xFE) .chr(0x64) .chr(0x53) .chr(0x69) .chr(0x7A);
1648
1674      // now make the u value, phew.
1675      $tmp = $this->md5_16($user.$ovalue.chr($options['p']) .chr(255) .chr(255) .chr(255) .$this->fileIdentifier);
1676
1727    }
1728    $tmp.= chr(hexdec(substr($hex, 4, 2))) .chr(hexdec(substr($hex, 2, 2))) .chr(hexdec(substr($hex, 0, 2))) .chr(0) .chr(0);
1729    $key = $this->md5_16($tmp);
4142      if (!$error) {
4143        $header = chr(137) .chr(80) .chr(78) .chr(71) .chr(13) .chr(10) .chr(26) .chr(10);
4144
jsonlib.php https://github.com/akadim/igate.git | PHP | 828 lines
11 * Suddenly became relevant again because Linux distros decided not to include
12 * the PHP JSON package with PHP 5.5 due to a stupid licensing cock-up.
13 */
66 * @license     http://www.opensource.org/licenses/bsd-license.php
67 * @link        http://pear.php.net/pepr/pepr-proposal-show.php?id=198
68 */
540	                    $utf8 = '';
541	                    $strlen_chrs = strlen($chrs);
542
667
668	                    $strlen_chrs = strlen($chrs);
669
765	                            for ($i = $top['where']; $i <= $c; ++$i)
766	                                $chrs = substr_replace($chrs, ' ', $i, 1);
767
class-snoopy.php https://github.com/marciomassari/svlabs.git | PHP | 1,257 lines
1<?php
2
3/**
4 * Deprecated. Use WP_HTTP (http.php, class-http.php) instead.
5 */
5 */
6_deprecated_file( basename( __FILE__ ), '3.0', WPINC . '/http.php' );
7
10
11Snoopy - the PHP net client
12Author: Monte Ohrt <monte@ispi.net>
43
44	var $host			=	"www.php.net";		// host name we are connecting to
45	var $port			=	80;					// port we are connecting to
81	var $read_timeout	=	0;					// timeout on read operations, in seconds
82												// supported only since PHP 4 Beta 4
83												// set to 0 to disallow timeouts
keitai.ini.php https://github.com/miya5n/pukiwiki.git | PHP | 388 lines
271	// Face marks
272	'\s(\:\))'	=>	chr(27).'$Gv'.chr(15),	// '&#57430;',	// smile
273	'\s(\:D)'	=>	chr(27).'$Gv'.chr(15),	// '&#57430;',	// bigsmile => smile
277	'\s(X\()'	=>	chr(27).'$Gx'.chr(15),	// '&#57432;',	// oh
278	'\s(;\))'	=>	chr(27).'$E&'.chr(15),	// '&#57606;',	// winkじゃないけどね(^^; (※目がハート)
279	'\s(;\()'	=>	chr(27).'$E&'.chr(15),	// '&#57606;',	// sad
313	'&amp;(man);'	=>	chr(27).'$G!'.chr(15),
314	'&amp;(clock);'	=>	chr(27).'$GF'.chr(15),	// '&#xE026;',
315	'&amp;(mail);'	=>	chr(27).'$Fv'.chr(15),
315	'&amp;(mail);'	=>	chr(27).'$Fv'.chr(15),
316	'&amp;(mailto);'=>	chr(27).'$E#'.chr(15),
317	'&amp;(phone);'	=>	chr(27).'$G)'.chr(15),
317	'&amp;(phone);'	=>	chr(27).'$G)'.chr(15),
318	'&amp;(phoneto);'=>	chr(27).'$E$'.chr(15),
319	'&amp;(faxto);'	=>	chr(27).'$G+'.chr(15),
testsuite.php https://github.com/mehrdadmhd/phpxmlrpc.git | PHP | 1,524 lines
9require_once 'phpunit.php';
10//require_once 'PHPUnit/TestDecorator.php';
11
276            'test.nosuch',
277            array(php_xmlrpc_encode(1), php_xmlrpc_encode(2)));
278        $recursive = $this->_multicall_msg(
376        $bad = new xmlrpcmsg('test.nosuch',
377            array(php_xmlrpc_encode(1), php_xmlrpc_encode(2)));
378        $recursive = new xmlrpcmsg('system.multicall',
1497    $target = strpos($_SERVER['PHP_SELF'], '?') ? $_SERVER['PHP_SELF'].'&amp;DEBUG=1' : $_SERVER['PHP_SELF'].'?DEBUG=1';
1498    $t2 = strpos($_SERVER['PHP_SELF'], '?') ? $_SERVER['PHP_SELF'].'&amp;DEBUG=2' : $_SERVER['PHP_SELF'].'?DEBUG=2';
1499    if(isset($_SERVER['REQUEST_METHOD']))
1515HTTP Server:&nbsp;&nbsp;<input name="LOCALSERVER" size="30" value="<?php echo htmlspecialchars($LOCALSERVER); ?>"/> Path: <input name="URI"  size="30" value="<?php echo htmlspecialchars($URI); ?>"/><br/>
1516HTTPS Server: <input name="HTTPSSERVER" size="30" value="<?php echo htmlspecialchars($HTTPSSERVER); ?>"/> Path: <input name="HTTPSURI"  size="30" value="<?php echo htmlspecialchars($HTTPSURI); ?>"/> Do not verify cert: <input name="HTTPSIGNOREPEER" value="true" type="checkbox" <?php if ($HTTPSIGNOREPEER) echo 'checked="checked"'; ?>/><br/>
1517
Misc.php https://github.com/louieDA/bestilblomster.git | PHP | 2,248 lines
379	 *
380	 * To generate it, run `php create.php` on the command line, and copy the
381	 * output to replace this function.
1967		{
1968			return chr(0xc0 | ($codepoint >> 6)) . chr(0x80 | ($codepoint & 0x3f));
1969		}
1971		{
1972			return chr(0xe0 | ($codepoint >> 12)) . chr(0x80 | (($codepoint >> 6) & 0x3f)) . chr(0x80 | ($codepoint & 0x3f));
1973		}
1975		{
1976			return chr(0xf0 | ($codepoint >> 18)) . chr(0x80 | (($codepoint >> 12) & 0x3f)) . chr(0x80 | (($codepoint >> 6) & 0x3f)) . chr(0x80 | ($codepoint & 0x3f));
1977		}
2197		$info = 'SimplePie ' . SIMPLEPIE_VERSION . ' Build ' . SIMPLEPIE_BUILD . "\n";
2198		$info .= 'PHP ' . PHP_VERSION . "\n";
2199		if ($sp->error() !== null)
poll_class.php https://github.com/CasperGemini/e107.git | PHP | 910 lines
1<?php
2/*
12
13include_lan(e_PLUGIN.'poll/languages/'.e_LANGUAGE.'.php');
14define('POLLCLASS', TRUE);
110		{
111			$poll_options .= $tp->toDB($value).chr(1);
112		}
128			$foo = $sql->fetch();
129			$voteA = explode(chr(1), $foo['poll_votes']);
130
136				{
137					$foo['poll_votes'] .= '0'.chr(1);
138				}
149			{
150				$votes .= '0'.chr(1);
151			}
phpjs.js https://github.com/Renatabk/SilkJS.git | JavaScript | 2,039 lines
5 *
6 * <p>PHPJS - implementations of PHP core functions in JavaScript.</p>
7 */
888                chr = keys[0].charAt(j);
889                if (chr === ' ' || chr === '.' || chr === '[') {
890                    keys[0] = keys[0].substr(0, j) + '_' + keys[0].substr(j + 1);
1817        var i = 2;
1818        while (chr != stopchr) {
1819            if ((i+offset) > data.length) {
1898                dataoffset += chrs + 2;
1899                if (chrs != parseInt(stringlength, 10) && chrs != readdata.length){
1900                    error('SyntaxError', 'String length mismatch');
1910                keyandchrs = read_until(data, dataoffset, ':');
1911                chrs = keyandchrs[0];
1912                keys = keyandchrs[1];
library.php https://github.com/dedavidd/piratenpartij.nl.git | PHP | 1,288 lines
1<?php
2
4	{
5		include_once(dirname(__FILE__) . '/debug.php');
6	}
7
8	if(file_exists(dirname(__FILE__) . '/update.order.status.php'))
9	{
9	{
10		include_once(dirname(__FILE__) . '/update.order.status.php');
11	}
113	{
114		return (is_file(dirname(__FILE__) . '/debug.php') == true);
115	}
154	{
155		return str_replace(array('ŕ', 'á', 'â', 'ă', 'ä', 'ĺ', 'ć', 'ç', 'č', 'é', 'ę', 'ë', 'đ', 'ě', 'í', 'î', 'ď', 'ń', 'ň', 'ó', 'ô', 'ő', 'ö', 'ř', '§', 'ů', 'ú', 'ű', 'ü', 'ý', '˙', 'Ŕ', 'Á', 'Â', 'Ă', 'Ä', 'Ĺ', 'Ć', 'Ç', 'Č', 'É', 'Ę', 'Ë', '€', 'Đ', 'Ě', 'Í', 'Î', 'Ď', 'Ń', 'Ň', 'Ó', 'Ô', 'Ő', 'Ö', 'Ř', '§', 'Ů', 'Ú', 'Ű', 'Ü', 'Ý', 'Ÿ', chr(96), chr(132), chr(133), chr(145), chr(146), chr(147), chr(148), chr(150), chr(151)), array('a', 'a', 'a', 'a', 'a', 'a', 'ae', 'c', 'e', 'e', 'e', 'e', 'ed', 'i', 'i', 'i', 'i', 'n', 'o', 'o', 'o', 'o', 'o', 'o', 's', 'u', 'u', 'u', 'u', 'y', 'y', 'A', 'A', 'A', 'A', 'A', 'A', 'AE', 'C', 'E', 'E', 'E', 'E', 'EUR', 'ED', 'I', 'I', 'I', 'I', 'N', 'O', 'O', 'O', 'O', 'O', 'O', 'S', 'U', 'U', 'U', 'U', 'Y', 'Y', '\'', '"', '...', '\'', '\'', '"', '"', '-', '-'), $sString);
156	}
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);
UtfNormalTest2.php https://github.com/spenser-roark/OOUG-Wiki.git | PHP | 240 lines
64 */
65function normalize_form_c_php($c)  { return UtfNormal::toNFC($c, "php");  }
66function normalize_form_d_php($c)  { return UtfNormal::toNFD($c, "php");  }
67function normalize_form_kc_php($c) { return UtfNormal::toNFKC($c, "php"); }
68function normalize_form_kd_php($c) { return UtfNormal::toNFKD($c, "php"); }
69
197	} elseif ($c <= 0x7FF) {
198		return chr(0xC0 | $c >> 6) . chr(0x80 | $c & 0x3F);
199	} elseif ($c <= 0xFFFF) {
199	} elseif ($c <= 0xFFFF) {
200		return chr(0xE0 | $c >> 12) . chr(0x80 | $c >> 6 & 0x3F)
201			. chr(0x80 | $c & 0x3F);
202	} elseif ($c <= 0x10FFFF) {
203		return chr(0xF0 | $c >> 18) . chr(0x80 | $c >> 12 & 0x3F)
204			. chr(0x80 | $c >> 6 & 0x3F)
mimeDecode.php https://github.com/muchael/expressolivre.git | PHP | 1,060 lines
1<?php
2/**
9 *  +----------------------------- IMPORTANT ------------------------------+
10 *  | Usage of this class compared to native php extensions such as        |
11 *  | mailparse or imap, is slow and may be feature deficient. If available|
11 *  | mailparse or imap, is slow and may be feature deficient. If available|
12 *  | you are STRONGLY recommended to use the php extensions.              |
13 *  +----------------------------------------------------------------------+
14 *
15 * Compatible with PHP versions 4 and 5
16 *
17 * LICENSE: This LICENSE is in the BSD license style.
18 * Copyright (c) 2002-2003, Richard Heyes <richard@phpguru.org>
19 * Copyright (c) 2003-2006, PEAR <pear-group@php.net>
48 * @package    Mail_Mime
49 * @author     Richard Heyes  <richard@phpguru.org>
50 * @author     George Schlossnagle <george@omniti.com>
inc_functions.php https://bitbucket.org/dongyin67/keyin | PHP | 3,979 lines
1<?php
2
158
159  if(!isset($GLOBALS['__funString'])) include_once(dirname(__FILE__)."/inc/inc_fun_funString.php");
160
514
515	if(!isset($GLOBALS['__funAdmin'])) include_once(dirname(__FILE__)."/inc/inc_fun_funAdmin.php");
516
524
525	if(!isset($GLOBALS['__funAdmin'])) include_once(dirname(__FILE__)."/inc/inc_fun_funAdmin.php");
526
2367
2368	$fp1Header = "<{$phph}php\r\nglobal \$_Cs;\r\n\$_Cs=array();\r\n";
2369
2991	if(empty($activation)){
2992		showmsg_member("Äú»¹Ã»Ó줻îÄúµÄÕÊ»§£¬Ç뼤»îºó".$msg."£¡<br><a href='/passport/confirm_activation.php?userid=".$userid.'&email='.$email."'>µã»÷ÕâÀD»îÄúµÄÕÊ»§</a>",'/member/control.php','','20000');
2993	exit;
JSON.php https://bitbucket.org/ceu/moodle_demo | PHP | 820 lines
66 * @license     http://www.opensource.org/licenses/bsd-license.php
67 * @link        http://pear.php.net/pepr/pepr-proposal-show.php?id=198
68 */
517                    $utf8 = '';
518                    $strlen_chrs = strlen($chrs);
519
691
692                        } elseif ((($chrs{$c} == '"') || ($chrs{$c} == "'")) && ($top['what'] != SERVICES_JSON_IN_STR)) {
693                            // found a quote, and we are not inside a string
699                                 (($chrs{$c - 1} != '\\') ||
700                                 ($chrs{$c - 1} == '\\' && $chrs{$c - 2} == '\\'))) {
701                            // found a quote, we're in a string, and it's not escaped
739                            for ($i = $top['where']; $i <= $c; ++$i)
740                                $chrs = substr_replace($chrs, ' ', $i, 1);
741
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21