PageRenderTime 702ms queryFilters 0ms Sphinxql 256ms GetByIds 377ms meta 0ms repositoryFilters 23ms languageFilters 1ms sourceFilters 1ms

147,079 results for 'php chr' (702 ms)

Source

Language

Repository

Misc.php https://bitbucket.org/betaimages/chakalos.git | PHP | 2,247 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)
Doctrine_Inflector.php https://bitbucket.org/visualappeal/yii-sm-cms.git | PHP | 320 lines
151            chr(195).chr(143) => 'I', chr(195).chr(145) => 'N',
152            chr(195).chr(146) => 'O', chr(195).chr(147) => 'O',
153            chr(195).chr(148) => 'O', chr(195).chr(149) => 'O',
250            $chars['in'] = chr(128).chr(131).chr(138).chr(142).chr(154).chr(158)
251                .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
252                .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
252                .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
253                .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
254                .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
255                .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
256                .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
257                .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
257                .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
258                .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
259                .chr(252).chr(253).chr(255);
Doctrine_Inflector.php https://bitbucket.org/visualappeal/yii-sm-project.git | PHP | 320 lines
151            chr(195).chr(143) => 'I', chr(195).chr(145) => 'N',
152            chr(195).chr(146) => 'O', chr(195).chr(147) => 'O',
153            chr(195).chr(148) => 'O', chr(195).chr(149) => 'O',
250            $chars['in'] = chr(128).chr(131).chr(138).chr(142).chr(154).chr(158)
251                .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
252                .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
252                .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
253                .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
254                .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
255                .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
256                .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
257                .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
257                .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
258                .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
259                .chr(252).chr(253).chr(255);
db_update.php https://bitbucket.org/gencer/fluxbb.git | PHP | 1,909 lines
34if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<'))
35	exit('You are running PHP version '.PHP_VERSION.'. FluxBB '.UPDATE_TO.' requires at least PHP '.MIN_PHP_VERSION.' to run properly. You must upgrade your PHP installation before you can continue.');
36
524			<h1><span><?php echo $lang_update['Update'] ?></span></h1>
525			<div id="brddesc"><p><?php echo $lang_update['Update message'] ?></p><p><strong><?php echo $lang_update['Note']; ?></strong> <?php echo $lang_update['Members message']; ?></p></div>
526		</div>
1631
1632<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $lang_common['lang_identifier'] ?>" lang="<?php echo $lang_common['lang_identifier'] ?>" dir="<?php echo $lang_common['lang_direction'] ?>">
1633<head>
1664					<div class="infldset">
1665						<label class="required"><strong><?php echo $lang_update['New username'] ?> <span><?php echo $lang_update['Required'] ?></span></strong><br /><input type="text" name="<?php echo 'dupe_users['.$id.']'; ?>" value="<?php if (isset($_POST['dupe_users'][$id])) echo pun_htmlspecialchars($_POST['dupe_users'][$id]); ?>" size="25" maxlength="25" /><br /></label>
1666					</div>
1868
1869<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $lang_common['lang_identifier'] ?>" lang="<?php echo $lang_common['lang_identifier'] ?>" dir="<?php echo $lang_common['lang_direction'] ?>">
1870<head>
db_update.php https://bitbucket.org/gencer/punbb.git | PHP | 2,244 lines
23if (!function_exists('version_compare') || version_compare(PHP_VERSION, '5.0.0', '<'))
24	exit('You are running PHP version '.PHP_VERSION.'. '.UPDATE_TO.' requires at least PHP 5.0.0 to run properly. You must upgrade your PHP installation before you can continue.');
25
2157				// We rename the old config.php file just in case
2158				if (rename(FORUM_ROOT.'config.php', FORUM_ROOT.'config.old.'.time().'.php'))
2159				{
2209<?php if (isset($new_config) && !$written): ?>
2210			<p>In order to complete the process, you must now update your config.php script. <strong>Copy and paste the text in the text box below into the file called config.php in the root directory of your PunBB installation</strong>. The file already exists, so you must edit/overwrite the contents of the old file. You may then <a href="<?php echo $base_url ?>/index.php">go to the forum index</a> once config.php has been updated.</p>
2211<?php else: ?>
2211<?php else: ?>
2212			<p>You may <a href="<?php echo $base_url ?>/index.php">go to the forum index</a> now.</p>
2213<?php endif; ?>		</div>
2243if ($query_str != '')
2244	exit('<script type="text/javascript">window.location="db_update.php'.$query_str.'"</script><br />JavaScript seems to be disabled. <a href="db_update.php'.$query_str.'">Click here to continue</a>.');
2245
Hostname.php https://bitbucket.org/gencer/zf2.git | PHP | 761 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.
80        'build', 'builders', 'buzz', 'bv', 'bw', 'by', 'bz', 'ca', 'cab', 'camera', 'camp', 'cards', 'careers', 'cat',
81        'catering', 'cc', 'cd', 'center', 'ceo', 'cf', 'cg', 'ch', 'cheap', 'christmas', 'ci', 'ck', 'cl', 'cleaning',
82        'clothing', 'club', 'cm', 'cn', 'co', 'codes', 'coffee', 'com', 'community', 'company', 'computer',
128     * (.DE) Germany http://www.denic.de/en/domains/idns/liste.html
129     * (.DK) Danmark http://www.dk-hostmaster.dk/index.php?id=151
130     * (.ES) Spain https://www.nic.es/media/2008-05/1210147705287.pdf
137     * (.IR) Iran http://www.nic.ir/Allowable_Characters_dot-iran
138     * (.IS) Iceland http://www.isnic.is/domain/rules.php
139     * (.KR) Korea http://www.iana.org/domains/idn-tables/tables/kr_ko-kr_1.0.html
Hostname.php https://bitbucket.org/jfrubiom/zendframework-1.x.git | PHP | 788 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Hostname.php 24593 2012-01-05 20:35:02Z matthew $
20 */
24 */
25require_once 'Zend/Validate/Abstract.php';
26
29 */
30require_once 'Zend/Validate/Ip.php';
31
35 *
36 * The first is tests/Zend/Validate/HostnameTestStandalone.php which is designed to be run on
37 * the command line.
38 *
39 * The second is tests/Zend/Validate/HostnameTestForm.php which is designed to be run via HTML
40 * to allow users to test entering UTF-8 characters in a form.
json.lib.php https://bitbucket.org/speedealing/speedealing.git | PHP | 356 lines
28	/**
29	 * Implement json_encode for PHP that does not support it
30	 *
30	 *
31	 * @param	mixed	$elements		PHP Object to json encode
32	 * @return 	string					Json encoded string
269	    // single, escaped unicode character
270	    $utf16 = chr(hexdec($reg[1])) . chr(hexdec($reg[2]));
271	    $utf8  = utf162utf8($utf16);
345	// see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
346	return chr(0x07 & (ord($utf8{0}) >> 2)) . chr((0xC0 & (ord($utf8{0}) << 6)) | (0x3F & ord($utf8{1})));
347
350	// see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
351	return chr((0xF0 & (ord($utf8{0}) << 4)) | (0x0F & (ord($utf8{1}) >> 2))) . chr((0xC0 & (ord($utf8{1}) << 6)) | (0x7F & ord($utf8{2})));
352	}
restore.php https://bitbucket.org/biojazzard/joomla-eboracast.git | PHP | 5,746 lines
38// fnmatch not available on non-POSIX systems
39// Thanks to soywiz@php.net for this usefull alternative function [http://gr2.php.net/fnmatch]
40if (!function_exists('fnmatch')) {
654	                                // single, escaped unicode character
655	                                $utf16 = chr(hexdec(substr($chrs, ($c + 2), 2)))
656	                                       . chr(hexdec(substr($chrs, ($c + 4), 2)));
3590		// error purposes. Also make sure this is never gonna be less than 0.
3591		$php_max_exec = max($php_max_exec * 1000 - 1000, 0);
3592
5003/**
5004 * AES implementation in PHP (c) Chris Veness 2005-2011
5005 * (http://www.movable-type.co.uk/scripts/aes-php.html)
5401
5402	// In restore.php mode, require restoration.php or fail
5403	if(!defined('KICKSTART'))
Misc.php https://bitbucket.org/KamranMackey/wordpress.git | PHP | 2,247 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)
Hostname.php https://bitbucket.org/synergylearning/campusconnect.git | PHP | 741 lines
1<?php
2/**
24 */
25require_once 'Zend/Validate/Abstract.php';
26
29 */
30require_once 'Zend/Validate/Ip.php';
31
35 *
36 * The first is tests/Zend/Validate/HostnameTestStandalone.php which is designed to be run on
37 * the command line.
38 *
39 * The second is tests/Zend/Validate/HostnameTestForm.php which is designed to be run via HTML
40 * to allow users to test entering UTF-8 characters in a form.
151     * (.DE) Germany http://www.denic.de/en/domains/idns/liste.html
152     * (.DK) Danmark http://www.dk-hostmaster.dk/index.php?id=151
153     * (.ES) Spain https://www.nic.es/media/2008-05/1210147705287.pdf
GeoIP.php https://bitbucket.org/synergylearning/campusconnect.git | PHP | 905 lines
490                $offset += 3;
491                if ($delim == (chr(255).chr(255).chr(255))) {
492                    $this->databaseType = ord(shmop_read($this->shmid, $offset, 1));
524                $delim = fread($this->filehandle, 3);
525                if ($delim == (chr(255).chr(255).chr(255))) {
526                    $this->databaseType = ord(fread($this->filehandle, 1));
777                $country_code = "US";
778                $region = chr(($seek_region - 1000)/26 + 65) . chr(($seek_region - 1000)%26 + 65);
779            } else {
791                $country_code = "US";
792                $region = chr(($seek_region - self::US_OFFSET)/26 + 65) . chr(($seek_region - self::US_OFFSET)%26 + 65);
793            } elseif ($seek_region < self::WORLD_OFFSET) {
794                $country_code = "CA";
795                $region = chr(($seek_region - self::CANADA_OFFSET)/26 + 65) . chr(($seek_region - self::CANADA_OFFSET)%26 + 65);
796            } else {
Misc.php https://bitbucket.org/geetharani/gordon.git | PHP | 2,247 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)
Misc.php https://bitbucket.org/mrmustarde/manhattan-beach.git | PHP | 2,247 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)
OpenId.php https://bitbucket.org/freddixx/e-business-vcrm-plugin.git | PHP | 715 lines
1<?php
2
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
20 * @version    $Id: OpenId.php 9240 2008-04-18 13:06:29Z dmitry $
21 */
25 */
26require_once "Zend/OpenId/Exception.php";
27
30 */
31require_once "Zend/Controller/Response/Abstract.php";
32
64    /**
65     * Allows enable/disable stoping execution of PHP script after redirect()
66     */
122            $url .= $_SERVER['REDIRECT_URL'];
123        } else if (isset($_SERVER['PHP_SELF'])) {
124            $url .= $_SERVER['PHP_SELF'];
Misc.php https://bitbucket.org/erickjones/aotopo.git | PHP | 2,247 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)
Hostname.php https://bitbucket.org/michalmatoga/ebpl.git | PHP | 788 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Hostname.php 24631 2012-02-24 17:43:08Z adamlundrigan $
20 */
24 */
25require_once 'Zend/Validate/Abstract.php';
26
29 */
30require_once 'Zend/Validate/Ip.php';
31
35 *
36 * The first is cmstests/Zend/Validate/HostnameTestStandalone.php which is designed to be run on
37 * the command line.
38 *
39 * The second is cmstests/Zend/Validate/HostnameTestForm.php which is designed to be run via HTML
40 * to allow users to test entering UTF-8 characters in a form.
restore.php https://bitbucket.org/asosso/joomla25.git | PHP | 5,744 lines
36// fnmatch not available on non-POSIX systems
37// Thanks to soywiz@php.net for this usefull alternative function [http://gr2.php.net/fnmatch]
38if (!function_exists('fnmatch')) {
652	                                // single, escaped unicode character
653	                                $utf16 = chr(hexdec(substr($chrs, ($c + 2), 2)))
654	                                       . chr(hexdec(substr($chrs, ($c + 4), 2)));
3588		// error purposes. Also make sure this is never gonna be less than 0.
3589		$php_max_exec = max($php_max_exec * 1000 - 1000, 0);
3590
5001/**
5002 * AES implementation in PHP (c) Chris Veness 2005-2011
5003 * (http://www.movable-type.co.uk/scripts/aes-php.html)
5399
5400	// In restore.php mode, require restoration.php or fail
5401	if(!defined('KICKSTART'))
Hostname.php https://bitbucket.org/Ppito/kawaiviewmodel2.git | PHP | 727 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.
115     * (.DE) Germany http://www.denic.de/en/domains/idns/liste.html
116     * (.DK) Danmark http://www.dk-hostmaster.dk/index.php?id=151
117     * (.ES) Spain https://www.nic.es/media/2008-05/1210147705287.pdf
123     * (.IR) Iran http://www.nic.ir/Allowable_Characters_dot-iran
124     * (.IS) Iceland http://www.isnic.is/domain/rules.php
125     * (.KR) Korea http://www.iana.org/domains/idn-tables/tables/kr_ko-kr_1.0.html
132     * (.NU) Niue http://www.worldnames.net/
133     * (.ORG) International http://www.pir.org/index.php?db=content/FAQs&tbl=FAQs_Registrant&id=2
134     * (.PE) Peru https://www.nic.pe/nuevas_politicas_faq_2.php
class.pdf.php https://bitbucket.org/ite/on-track-code-base.git | PHP | 4,969 lines
1637      // figure out the additional paramaters required
1638      $pad =  chr(0x28) .chr(0xBF) .chr(0x4E) .chr(0x5E) .chr(0x4E) .chr(0x75) .chr(0x8A) .chr(0x41)
1639             .chr(0x64) .chr(0x00) .chr(0x4E) .chr(0x56) .chr(0xFF) .chr(0xFA) .chr(0x01) .chr(0x08)
1639             .chr(0x64) .chr(0x00) .chr(0x4E) .chr(0x56) .chr(0xFF) .chr(0xFA) .chr(0x01) .chr(0x08)
1640             .chr(0x2E) .chr(0x2E) .chr(0x00) .chr(0xB6) .chr(0xD0) .chr(0x68) .chr(0x3E) .chr(0x80)
1641             .chr(0x2F) .chr(0x0C) .chr(0xA9) .chr(0xFE) .chr(0x64) .chr(0x53) .chr(0x69) .chr(0x7A);
1668      // now make the u value, phew.
1669      $tmp =  $this->md5_16($user.$ovalue.chr($options['p']) .chr(255) .chr(255) .chr(255) .$this->fileIdentifier);
1670
1721    }
1722    $tmp.=  chr(hexdec(substr($hex, 4, 2))) .chr(hexdec(substr($hex, 2, 2))) .chr(hexdec(substr($hex, 0, 2))) .chr(0) .chr(0);
1723    $key =  $this->md5_16($tmp);
4495      if  (!$error) {
4496        $header =  chr(137) .chr(80) .chr(78) .chr(71) .chr(13) .chr(10) .chr(26) .chr(10);
4497        
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21