PageRenderTime 219ms queryFilters 1ms Sphinxql 41ms app.CodeModel.GetByIds 74ms findMatchingLines 55ms GetByIds 129ms meta 0ms repositoryFilters 6ms languageFilters 2ms sourceFilters 6ms

21,207 results for 'php chr repo:thomashii/vtigercrm-6-for-postgresql' (219 ms)

Source

Language

Repository

saldi_update.php https://github.com/nielsrune/saldi.git | PHP | 290 lines
1<?php
2// #----------------- saldi_update.php -----ver 3.2.6---- 2012.01.10 ----------
75
76		if (file_exists("soapklient/soapfunc.php")) $filnavn="soapklient/soapfunc.log";
77		else $filnavn="soapfunc.log";
102		}
103		if (file_exists("soapklient/soapfunc.php")) include("soapklient/soapfunc.php");
104		else include("soapfunc.php");
104		else include("soapfunc.php");
105		if (file_exists("soapklient/saldi_connect.php")) include("soapklient/saldi_connect.php");
106		else include("saldi_connect.php");
107		fwrite($fp,__LINE__."$url logon($regnskab,$brugernavn,$adgangskode)\n");
108		list($fejl,$svar)=explode(chr(9),logon($regnskab,$brugernavn,$adgangskode));
109		fwrite($fp,__LINE__."fejl $fejl - svar $svar\n");
285		}
286		return('0'.chr(9).$konto_id.chr(9).$ordre_id);
287		fclose($fp);
getid3.lib.php https://github.com/noonchild/rsa.git | PHP | 1,323 lines
1<?php
2/////////////////////////////////////////////////////////////////
294			$quotient = ($number / ($maskbyte + 1));
295			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
296			$number = floor($quotient);
336		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
337			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
338		}
346			if ($synchsafe) {
347				$intstring = $intstring.chr($number & 127);
348				$number >>= 7;
349			} else {
350				$intstring = $intstring.chr($number & 255);
351				$number >>= 8;
359		// written by kcěhireability*com
360		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
361		if (!is_array($array1) || !is_array($array2)) {
getid3.lib.php https://github.com/umonkey/molinos-cms.git | PHP | 1,309 lines
1<?php
2/////////////////////////////////////////////////////////////////
297			$quotient = ($number / ($maskbyte + 1));
298			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
299			$number = floor($quotient);
339		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
340			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
341		}
349			if ($synchsafe) {
350				$intstring = $intstring.chr($number & 127);
351				$number >>= 7;
352			} else {
353				$intstring = $intstring.chr($number & 255);
354				$number >>= 8;
362		// written by kcěhireability*com
363		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
364		if (!is_array($array1) || !is_array($array2)) {
class.pdf.php https://github.com/mbleed/health.git | PHP | 4,972 lines
1764      // figure out the additional paramaters required
1765      $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);
1766
1803      // now make the u value, phew.
1804      $tmp =  $this->md5_16($user.$ovalue.chr($options['p']) .chr(255) .chr(255) .chr(255) .$this->fileIdentifier);
1805
1891
1892    $tmp.=  chr(hexdec(substr($hex, 4, 2))) .chr(hexdec(substr($hex, 2, 2))) .chr(hexdec(substr($hex, 0, 2))) .chr(0) .chr(0);
1893
2214
2215      $this->addMessage('openFont: php file exists ' . $dir . 'php_' . $name.'.afm');
2216
4352
4353      $header =  chr(137) .chr(80) .chr(78) .chr(71) .chr(13) .chr(10) .chr(26) .chr(10);
4354
class.pdf.php https://github.com/reinhardsual/openemr.git | PHP | 3,084 lines
1024      // figure out the additional paramaters required
1025      $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);
1026      $len = strlen($options['owner']);
1047      // now make the u value, phew.
1048      $tmp = $this->md5_16($user.$ovalue.chr($options['p']).chr(255).chr(255).chr(255).$this->fileIdentifier);
1049      $ukey = substr($tmp,0,5);
1103  }
1104  $tmp.= chr(hexdec(substr($hex,4,2))).chr(hexdec(substr($hex,2,2))).chr(hexdec(substr($hex,0,2))).chr(0).chr(0);
1105  $key = $this->md5_16($tmp);
1399    $this->fonts[$font]=$data;
1400    touch($dir.'php_'.$name.'.afm'); // php bug
1401    $fp = fopen($dir.'php_'.$name.'.afm','w');
2664  if (!$error){
2665    $header = chr(137).chr(80).chr(78).chr(71).chr(13).chr(10).chr(26).chr(10);
2666    if (substr($data,0,8)!=$header){
getid3.lib.php https://github.com/stormeus/Kusaba-Z.git | PHP | 1,309 lines
1<?php
2/////////////////////////////////////////////////////////////////
297			$quotient = ($number / ($maskbyte + 1));
298			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
299			$number = floor($quotient);
339		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
340			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
341		}
349			if ($synchsafe) {
350				$intstring = $intstring.chr($number & 127);
351				$number >>= 7;
352			} else {
353				$intstring = $intstring.chr($number & 255);
354				$number >>= 8;
362		// written by kc┼śhireability*com
363		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
364		if (!is_array($array1) || !is_array($array2)) {
Urlizer.php https://github.com/jaimesuez/DoctrineExtensions.git | PHP | 462 lines
176            .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
177            .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
178            .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
178            .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
179            .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
180            .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
180            .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
181            .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
182            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
182            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
183            .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
184            .chr(252).chr(253).chr(255);
188            $string = strtr($string, $chars['in'], $chars['out']);
189            $doubleChars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
190            $doubleChars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
BigInteger.php https://gitlab.com/windigo-gs/windigos-gnu-social.git | PHP | 3,704 lines
575                    $temp = bcmod($current, '16777216');
576                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
577                    $current = bcdiv($current, '16777216', 0);
767     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
768     * directly in PHP5.  You can in PHP4 since it's not a magic method, but in PHP5, you have to call it by using the PHP5
769     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2899        // generate as many leading 1's as we need to.
2900        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2901        $this->_base256_lshift($leading_ones, $current_bits);
3008            $precision = 8 * strlen($bits) - 8 + $i;
3009            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
3010        }
3200
3201        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3202        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
getid3.lib.php https://gitlab.com/jessehall/hudson_alpha.git | PHP | 1,342 lines
84			if (!$hasINT64 && !defined('PHP_INT_MIN')) {
85				define('PHP_INT_MIN', ~PHP_INT_MAX);
86			}
88		// if integers are 64-bit - no other check required
89		if ($hasINT64 || (($num <= PHP_INT_MAX) && ($num >= PHP_INT_MIN))) {
90			return true;
385		// written by kc├śhireability*com
386		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
387		if (!is_array($array1) || !is_array($array2)) {
665			$newcharstring  = chr(($charval >>   6) | 0xC0);
666			$newcharstring .= chr(($charval & 0x3F) | 0x80);
667		} elseif ($charval < 65536) {
1322		if (GETID3_OS_ISWINDOWS) {
1323			if (class_exists('COM')) { // From PHP 5.3.15 and 5.4.5, COM and DOTNET is no longer built into the php core.you have to add COM support in php.ini:
1324				$filesystem = new COM('Scripting.FileSystemObject');
BigInteger.php https://gitlab.com/intersango/witcoin.git | PHP | 3,545 lines
519                    $temp = bcmod($current, '16777216');
520                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
521                    $current = bcdiv($current, '16777216', 0);
702     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
703     * directly in PHP5.  You can in PHP4 since it's not a magic method, but in PHP5, you have to call it by using the PHP5
704     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2793        // generate as many leading 1's as we need to.
2794        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2795        $this->_base256_lshift($leading_ones, $current_bits);
2902            $precision = 8 * strlen($bits) - 8 + $i;
2903            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2904        }
3039
3040        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3041        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
funcs.strings.php https://gitlab.com/fork/hotarucms.git | PHP | 607 lines
406		$chars['in'] = chr(128).chr(131).chr(138).chr(142).chr(154).chr(158)
407			.chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
408			.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
408			.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
409			.chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
410			.chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
411			.chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
412			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
413			.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
413			.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
414			.chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
415			.chr(252).chr(253).chr(255);
419		$string = strtr($string, $chars['in'], $chars['out']);
420		$double_chars['in'] = array( chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254) );
421		$double_chars['out'] = array( 'OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th' );
BigInteger.php git://github.com/spotweb/spotweb.git | PHP | 3,630 lines
528                    $temp = bcmod($current, '16777216');
529                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
530                    $current = bcdiv($current, '16777216', 0);
720     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
721     * directly in PHP5.  You can in PHP4 since it's not a magic method, but in PHP5, you have to call it by using the PHP5
722     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2858        // generate as many leading 1's as we need to.
2859        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2860        $this->_base256_lshift($leading_ones, $current_bits);
2967            $precision = 8 * strlen($bits) - 8 + $i;
2968            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2969        }
3104
3105        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3106        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
getid3.lib.php https://bitbucket.org/norvin/mingen_dts | PHP | 1,309 lines
1<?php
2/////////////////////////////////////////////////////////////////
297			$quotient = ($number / ($maskbyte + 1));
298			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
299			$number = floor($quotient);
339		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
340			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
341		}
349			if ($synchsafe) {
350				$intstring = $intstring.chr($number & 127);
351				$number >>= 7;
352			} else {
353				$intstring = $intstring.chr($number & 255);
354				$number >>= 8;
362		// written by kc┼śhireability*com
363		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
364		if (!is_array($array1) || !is_array($array2)) {
BigInteger.php https://bitbucket.org/arkross/venus | PHP | 3,548 lines
521                    $temp = bcmod($current, '16777216');
522                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
523                    $current = bcdiv($current, '16777216', 0);
704     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
705     * directly in PHP5.  You can in PHP4 since it's not a magic method, but in PHP5, you have to call it by using the PHP5
706     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2795        // generate as many leading 1's as we need to.
2796        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2797        $this->_base256_lshift($leading_ones, $current_bits);
2904            $precision = 8 * strlen($bits) - 8 + $i;
2905            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2906        }
3041
3042        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3043        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
AMFSerializer.php https://bitbucket.org/fxrialab/tickets | PHP | 1,048 lines
587			}
588			else if(AMFPHP_PHP5 && $className == 'domdocument')
589			{
786		{
787			$this->outBuffer .= chr($d >> 14 & 0x7f | 0x80) . chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
788		} 
950		{
951			return chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
952		}
954		{
955			return chr($d >> 14 & 0x7f | 0x80) . chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
956		} 
958		{
959			return chr($d >> 22 & 0x7f | 0x80) . chr($d >> 15 & 0x7f | 0x80) . 
960				   chr($d >> 8 & 0x7f | 0x80) . chr($d & 0xff);
AMFSerializer.php https://bitbucket.org/fxrialab/tickets | PHP | 1,048 lines
587			}
588			else if(AMFPHP_PHP5 && $className == 'domdocument')
589			{
786		{
787			$this->outBuffer .= chr($d >> 14 & 0x7f | 0x80) . chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
788		} 
950		{
951			return chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
952		}
954		{
955			return chr($d >> 14 & 0x7f | 0x80) . chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
956		} 
958		{
959			return chr($d >> 22 & 0x7f | 0x80) . chr($d >> 15 & 0x7f | 0x80) . 
960				   chr($d >> 8 & 0x7f | 0x80) . chr($d & 0xff);
phpagi.php https://github.com/Synforge/SynIVR.git | PHP | 1,741 lines
3 /**
4  * phpagi.php : PHP AGI Functions for Asterisk
5  * Website: http://phpagi.sourceforge.net/
6  *
7  * $Id: phpagi.php,v 2.14 2005/05/25 20:30:46 pinhole Exp $
8  *
14  *
15  * We would be happy to list your phpagi based application on the phpagi
16  * website.  Drop me an Email if you'd like us to list your program.
155      if(!isset($this->config['phpagi']['admin'])) $this->config['phpagi']['admin'] = NULL;
156      if(!isset($this->config['phpagi']['tempdir'])) $this->config['phpagi']['tempdir'] = AST_TMP_DIR;
157
174        global $phpagi_error_handler_email;
175        $phpagi_error_handler_email = $this->config['phpagi']['admin'];
176        error_reporting(E_ALL);
index.php https://github.com/michael-cannon/typo3-extensions.git | PHP | 1,247 lines
1<?php
2/***************************************************************
89unset($MCONF);
90require ('conf.php');
91require ($BACK_PATH.'init.php');
91require ($BACK_PATH.'init.php');
92require ($BACK_PATH.'template.php');
93$LANG->includeLLFile('EXT:kb_tv_migrate/mod1/locallang.php');
93$LANG->includeLLFile('EXT:kb_tv_migrate/mod1/locallang.php');
94#include ('locallang.php');
95require_once (PATH_t3lib.'class.t3lib_scbase.php');
95require_once (PATH_t3lib.'class.t3lib_scbase.php');
96require_once (PATH_t3lib.'class.t3lib_treeview.php');
97require_once (PATH_t3lib.'class.t3lib_tceforms.php');
97require_once (PATH_t3lib.'class.t3lib_tceforms.php');
98require_once (PATH_t3lib.'class.t3lib_tcemain.php');
99require_once (t3lib_extMgm::extPath('templavoila').'class.tx_templavoila_xmlrelhndl.php');
BasicIPP.php https://github.com/nethesis/nethserver-cups.git | PHP | 2,001 lines
2/* vim: set expandtab tabstop=2 shiftwidth=2 foldmethod=marker: */
3/* @(#) $Header: /sources/phpprintipp/phpprintipp/php_classes/BasicIPP.php,v 1.6 2010/08/22 15:45:17 harding Exp $
4 *
383  $this->meta->copies = chr(0x21) // integer type | value-tag
384   . chr(0x00) . chr(0x06) //             name-length
385   . "copies" // copies    |             name
1830     _("Values must be between -2147483648 and 2147483647: assuming '0'") , E_USER_WARNING);
1831   return chr(0x00) . chr(0x00) . chr(0x00) . chr(0x00);
1832  }
1843  $int4 = $value & 0xFF; //64bits
1844  if ($initial_value < 0) $int4 = chr($int4) | chr(0x80);
1845  else $int4 = chr($int4);
1845  else $int4 = chr($int4);
1846  $value = $int4 . chr($int3) . chr($int2) . chr($int1);
1847  return $value;
pdfest.php https://github.com/paanblogger/sacl.git | PHP | 4,114 lines
570					$cw = array(
571						chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
572						chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584,
576						'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556,
577						chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
578						chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
578						chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
579						chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667,
580						chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
580						chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
581						chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556,
582						chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500);
1558		//Check signature
1559		if(fread($f,8)!=chr(137).'PNG'.chr(13).chr(10).chr(26).chr(10))
1560			$this->Error('Not a PNG file: '.$file);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21