PageRenderTime 2328ms queryFilters 0ms Sphinxql 503ms GetByIds 514ms meta 0ms repositoryFilters 8ms languageFilters 2ms sourceFilters 1ms

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

Source

Language

Repository

Hash.php https://bitbucket.org/appstrakt/lib_php_phpseclib.git | PHP | 818 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');
48 * @package    Hash
49 * @author     Jim Wigginton <terrafrost@php.net>
50 * @copyright  MMVII Jim Wigginton
51 * @license    http://www.gnu.org/licenses/lgpl.txt
52 * @version    $Id: Hash.php 81 2010-05-19 21:56:16Z admin $
53 * @link       http://phpseclib.sourceforge.net
barcodes.php https://bitbucket.org/speedealing/speedealing.git | PHP | 2,287 lines
591			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
592			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
593			chr(8) => chr(128).'H', chr(9) => chr(128).'I', chr(10) => chr(128).'J', chr(11) => '£K',
600			chr(36) => chr(129).'D', chr(37) => chr(129).'E', chr(38) => chr(129).'F', chr(39) => chr(129).'G',
601			chr(40) => chr(129).'H', chr(41) => chr(129).'I', chr(42) => chr(129).'J', chr(43) => chr(129).'K',
602			chr(44) => chr(129).'L', chr(45) => '-', chr(46) => '.', chr(47) => chr(129).'O',
605			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
606			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
607			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
1050		$keys_a = ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_';
1051		$keys_a .= chr(0).chr(1).chr(2).chr(3).chr(4).chr(5).chr(6).chr(7).chr(8).chr(9);
1052		$keys_a .= chr(10).chr(11).chr(12).chr(13).chr(14).chr(15).chr(16).chr(17).chr(18).chr(19);
1052		$keys_a .= chr(10).chr(11).chr(12).chr(13).chr(14).chr(15).chr(16).chr(17).chr(18).chr(19);
1053		$keys_a .= chr(20).chr(21).chr(22).chr(23).chr(24).chr(25).chr(26).chr(27).chr(28).chr(29);
1054		$keys_a .= chr(30).chr(31);
String.php https://bitbucket.org/speedealing/speedealing.git | PHP | 706 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
507	 * Assumes Big-Endian byte order if no BOM is available.
508	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
509	 * and $bom_be parameter added.
617	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
618	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
619	 *
644	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
645	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
646	 *
676	 *	Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
677	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
678	 *
barcodes.php https://bitbucket.org/speedealing/speedealing.git | PHP | 1,969 lines
449		$encode = array(
450			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
451			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
453			chr(12) => chr(128).'L', chr(13) => chr(128).'M', chr(14) => chr(128).'N', chr(15) => chr(128).'O',
454			chr(16) => chr(128).'P', chr(17) => chr(128).'Q', chr(18) => chr(128).'R', chr(19) => chr(128).'S',
455			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
455			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
456			chr(24) => chr(128).'X', chr(25) => chr(128).'Y', chr(26) => chr(128).'Z', chr(27) => chr(131).'A',
457			chr(28) => chr(131).'B', chr(29) => chr(131).'C', chr(30) => chr(131).'D', chr(31) => chr(131).'E',
464			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
465			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
466			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
472			chr(88) => 'X', chr(89) => 'Y', chr(90) => 'Z', chr(91) => chr(131).'K',
473			chr(92) => chr(131).'L', chr(93) => chr(131).'M', chr(94) => chr(131).'N', chr(95) => chr(131).'O',
474			chr(96) => chr(131).'W', chr(97) => chr(130).'A', chr(98) => chr(130).'B', chr(99) => chr(130).'C',
Hash.php https://bitbucket.org/codeyash/bootstrap.git | PHP | 857 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
3
4namespace PHPSecLib;
5
6/**
7 * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
8 *
15 *
16 * PHP versions 4 and 5
17 *
22 * <code>
23 * <?php
24 *    include('Crypt/Hash.php');
53 * @package    Crypt_Hash
54 * @author     Jim Wigginton <terrafrost@php.net>
55 * @copyright  MMVII Jim Wigginton
getid3.lib.php https://bitbucket.org/wpforchurch/sermon-manager-for-wordpress.git | PHP | 1,317 lines
1<?php
2/////////////////////////////////////////////////////////////////
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;
277			// synchsafe ints are not allowed to be signed
278			if ($bytewordlen <= PHP_INT_SIZE) {
279				$signMaskBit = 0x80 << (8 * ($bytewordlen - 1));
283			} else {
284				throw new Exception('ERROR: Cannot have signed integers larger than '.(8 * PHP_INT_SIZE).'-bits ('.strlen($byteword).') in getid3_lib::BigEndian2Int()');
285				break;
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)) {
barcodes.php https://bitbucket.org/yousef_fadila/vtiger.git | PHP | 1,976 lines
454		$encode = array(
455			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
456			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
458			chr(12) => chr(128).'L', chr(13) => chr(128).'M', chr(14) => chr(128).'N', chr(15) => chr(128).'O',
459			chr(16) => chr(128).'P', chr(17) => chr(128).'Q', chr(18) => chr(128).'R', chr(19) => chr(128).'S',
460			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
460			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
461			chr(24) => chr(128).'X', chr(25) => chr(128).'Y', chr(26) => chr(128).'Z', chr(27) => chr(131).'A',
462			chr(28) => chr(131).'B', chr(29) => chr(131).'C', chr(30) => chr(131).'D', chr(31) => chr(131).'E',
469			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
470			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
471			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
477			chr(88) => 'X', chr(89) => 'Y', chr(90) => 'Z', chr(91) => chr(131).'K',
478			chr(92) => chr(131).'L', chr(93) => chr(131).'M', chr(94) => chr(131).'N', chr(95) => chr(131).'O',
479			chr(96) => chr(131).'W', chr(97) => chr(130).'A', chr(98) => chr(130).'B', chr(99) => chr(130).'C',
barcodes.php https://bitbucket.org/Seldszar/html2pdf-plugin-for-cakephp.git | PHP | 1,978 lines
456		$encode = array(
457			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
458			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
460			chr(12) => chr(128).'L', chr(13) => chr(128).'M', chr(14) => chr(128).'N', chr(15) => chr(128).'O',
461			chr(16) => chr(128).'P', chr(17) => chr(128).'Q', chr(18) => chr(128).'R', chr(19) => chr(128).'S',
462			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
462			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
463			chr(24) => chr(128).'X', chr(25) => chr(128).'Y', chr(26) => chr(128).'Z', chr(27) => chr(131).'A',
464			chr(28) => chr(131).'B', chr(29) => chr(131).'C', chr(30) => chr(131).'D', chr(31) => chr(131).'E',
471			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
472			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
473			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
479			chr(88) => 'X', chr(89) => 'Y', chr(90) => 'Z', chr(91) => chr(131).'K',
480			chr(92) => chr(131).'L', chr(93) => chr(131).'M', chr(94) => chr(131).'N', chr(95) => chr(131).'O',
481			chr(96) => chr(131).'W', chr(97) => chr(130).'A', chr(98) => chr(130).'B', chr(99) => chr(130).'C',
Compression.php https://bitbucket.org/romeugodoi/demo_zf.git | PHP | 391 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Compression.php 23775 2011-03-01 17:25:24Z ralph $
20 */
23/** Zend_Pdf_Filter_Interface */
24require_once 'Zend/Pdf/Filter/Interface.php';
25
77                $predictor != 13  &&  $predictor != 14  &&   $predictor != 15) {
78                require_once 'Zend/Pdf/Exception.php';
79                throw new Zend_Pdf_Exception('Invalid value of \'Predictor\' decode param - ' . $predictor . '.' );
99            if ($colors != 1  &&  $colors != 2  &&  $colors != 3  &&  $colors != 4) {
100                require_once 'Zend/Pdf/Exception.php';
101                throw new Zend_Pdf_Exception('Invalid value of \'Color\' decode param - ' . $colors . '.' );
123                $bitsPerComponent != 16 ) {
124                require_once 'Zend/Pdf/Exception.php';
125                throw new Zend_Pdf_Exception('Invalid value of \'BitsPerComponent\' decode param - ' . $bitsPerComponent . '.' );
String.php https://bitbucket.org/masangga/laperbanget.git | PHP | 730 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
517	 * Assumes Big-Endian byte order if no BOM is available.
518	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
519	 * and $bom_be parameter added.
627	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
628	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
629	 *
654	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
655	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
656	 *
686	 * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
687	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
688	 *
getid3.lib.php https://bitbucket.org/gilloud/sermon-manager-for-wordpress.git | PHP | 1,317 lines
1<?php
2/////////////////////////////////////////////////////////////////
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;
277			// synchsafe ints are not allowed to be signed
278			if ($bytewordlen <= PHP_INT_SIZE) {
279				$signMaskBit = 0x80 << (8 * ($bytewordlen - 1));
283			} else {
284				throw new Exception('ERROR: Cannot have signed integers larger than '.(8 * PHP_INT_SIZE).'-bits ('.strlen($byteword).') in getid3_lib::BigEndian2Int()');
285				break;
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)) {
String.php https://bitbucket.org/ite/on-track-code-base.git | PHP | 730 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
517	 * Assumes Big-Endian byte order if no BOM is available.
518	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
519	 * and $bom_be parameter added.
627	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
628	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
629	 *
654	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
655	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
656	 *
686	 * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
687	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
688	 *
getid3.lib.php https://bitbucket.org/gregwiley/sermon-manager-for-wordpress.git | PHP | 1,317 lines
1<?php
2/////////////////////////////////////////////////////////////////
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;
277			// synchsafe ints are not allowed to be signed
278			if ($bytewordlen <= PHP_INT_SIZE) {
279				$signMaskBit = 0x80 << (8 * ($bytewordlen - 1));
283			} else {
284				throw new Exception('ERROR: Cannot have signed integers larger than '.(8 * PHP_INT_SIZE).'-bits ('.strlen($byteword).') in getid3_lib::BigEndian2Int()');
285				break;
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)) {
barcodes.php https://bitbucket.org/aaoliveira/html2pdf-plugin-for-cakephp.git | PHP | 1,978 lines
456		$encode = array(
457			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
458			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
460			chr(12) => chr(128).'L', chr(13) => chr(128).'M', chr(14) => chr(128).'N', chr(15) => chr(128).'O',
461			chr(16) => chr(128).'P', chr(17) => chr(128).'Q', chr(18) => chr(128).'R', chr(19) => chr(128).'S',
462			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
462			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
463			chr(24) => chr(128).'X', chr(25) => chr(128).'Y', chr(26) => chr(128).'Z', chr(27) => chr(131).'A',
464			chr(28) => chr(131).'B', chr(29) => chr(131).'C', chr(30) => chr(131).'D', chr(31) => chr(131).'E',
471			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
472			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
473			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
479			chr(88) => 'X', chr(89) => 'Y', chr(90) => 'Z', chr(91) => chr(131).'K',
480			chr(92) => chr(131).'L', chr(93) => chr(131).'M', chr(94) => chr(131).'N', chr(95) => chr(131).'O',
481			chr(96) => chr(131).'W', chr(97) => chr(130).'A', chr(98) => chr(130).'B', chr(99) => chr(130).'C',
barcodes.php https://bitbucket.org/enurkov/prestashop.git | PHP | 2,287 lines
591			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
592			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
593			chr(8) => chr(128).'H', chr(9) => chr(128).'I', chr(10) => chr(128).'J', chr(11) => '£K',
600			chr(36) => chr(129).'D', chr(37) => chr(129).'E', chr(38) => chr(129).'F', chr(39) => chr(129).'G',
601			chr(40) => chr(129).'H', chr(41) => chr(129).'I', chr(42) => chr(129).'J', chr(43) => chr(129).'K',
602			chr(44) => chr(129).'L', chr(45) => '-', chr(46) => '.', chr(47) => chr(129).'O',
605			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
606			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
607			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
1050		$keys_a = ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_';
1051		$keys_a .= chr(0).chr(1).chr(2).chr(3).chr(4).chr(5).chr(6).chr(7).chr(8).chr(9);
1052		$keys_a .= chr(10).chr(11).chr(12).chr(13).chr(14).chr(15).chr(16).chr(17).chr(18).chr(19);
1052		$keys_a .= chr(10).chr(11).chr(12).chr(13).chr(14).chr(15).chr(16).chr(17).chr(18).chr(19);
1053		$keys_a .= chr(20).chr(21).chr(22).chr(23).chr(24).chr(25).chr(26).chr(27).chr(28).chr(29);
1054		$keys_a .= chr(30).chr(31);
barcodes.php https://bitbucket.org/sammousa/valuematchbv-ls2.git | PHP | 2,288 lines
592			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
593			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
594			chr(8) => chr(128).'H', chr(9) => chr(128).'I', chr(10) => chr(128).'J', chr(11) => '£K',
601			chr(36) => chr(129).'D', chr(37) => chr(129).'E', chr(38) => chr(129).'F', chr(39) => chr(129).'G',
602			chr(40) => chr(129).'H', chr(41) => chr(129).'I', chr(42) => chr(129).'J', chr(43) => chr(129).'K',
603			chr(44) => chr(129).'L', chr(45) => '-', chr(46) => '.', chr(47) => chr(129).'O',
606			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
607			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
608			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
1051		$keys_a = ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_';
1052		$keys_a .= chr(0).chr(1).chr(2).chr(3).chr(4).chr(5).chr(6).chr(7).chr(8).chr(9);
1053		$keys_a .= chr(10).chr(11).chr(12).chr(13).chr(14).chr(15).chr(16).chr(17).chr(18).chr(19);
1053		$keys_a .= chr(10).chr(11).chr(12).chr(13).chr(14).chr(15).chr(16).chr(17).chr(18).chr(19);
1054		$keys_a .= chr(20).chr(21).chr(22).chr(23).chr(24).chr(25).chr(26).chr(27).chr(28).chr(29);
1055		$keys_a .= chr(30).chr(31);
tools.php https://bitbucket.org/silverlogic/dms.git | PHP | 475 lines
1<?php
2//get wrp data from database by jobid
15		return false;
16	require_once(dirname(__FILE__).'/wrp_dojob.php');
17	$wrp_dojob= new wrp_dojob($jobid);
28	    $tw = new TwitterOAuth("i8aDsTg4etTCDHrvyxTjg", "kZfkPAwQJc0nj97D77Bd0qZtEr5nMUgepIWy6MtMMlY");
29	    $twrt = $tw->getRequestToken(admin_url( 'admin.php?page=wrp-twitter&connect=tw&resp=1' ));
30		$loginUrl = $tw->getAuthorizeURL($twrt);
47			//session_unset();
48			$redirect = admin_url( 'admin.php?page=wrp-twitter' ); 
49            wp_redirect($redirect);   
70		    update_option(WRP_OPTIONS, $opts);    
71		    $redirect = admin_url( 'admin.php?page=wrp-facebook' ); 
72            wp_redirect($redirect);    	 
95		         
96		        $redirect = admin_url( 'admin.php?page=wrp-facebook' ); 
97		        # req_perms is a comma separated list of the permissions needed
barcodes.php https://bitbucket.org/rousmorgoth/wikibook.git | PHP | 1,978 lines
456		$encode = array(
457			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
458			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
460			chr(12) => chr(128).'L', chr(13) => chr(128).'M', chr(14) => chr(128).'N', chr(15) => chr(128).'O',
461			chr(16) => chr(128).'P', chr(17) => chr(128).'Q', chr(18) => chr(128).'R', chr(19) => chr(128).'S',
462			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
462			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
463			chr(24) => chr(128).'X', chr(25) => chr(128).'Y', chr(26) => chr(128).'Z', chr(27) => chr(131).'A',
464			chr(28) => chr(131).'B', chr(29) => chr(131).'C', chr(30) => chr(131).'D', chr(31) => chr(131).'E',
471			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
472			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
473			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
479			chr(88) => 'X', chr(89) => 'Y', chr(90) => 'Z', chr(91) => chr(131).'K',
480			chr(92) => chr(131).'L', chr(93) => chr(131).'M', chr(94) => chr(131).'N', chr(95) => chr(131).'O',
481			chr(96) => chr(131).'W', chr(97) => chr(130).'A', chr(98) => chr(130).'B', chr(99) => chr(130).'C',
Hash.php https://bitbucket.org/acidel/buykoala.git | PHP | 816 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');
48 * @package    Crypt_Hash
49 * @author     Jim Wigginton <terrafrost@php.net>
50 * @copyright  MMVII Jim Wigginton
51 * @license    http://www.gnu.org/licenses/lgpl.txt
52 * @version    $Id: Hash.php,v 1.6 2009/11/23 23:37:07 terrafrost Exp $
53 * @link       http://phpseclib.sourceforge.net
Compression.php https://bitbucket.org/acidel/buykoala.git | PHP | 391 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Compression.php 20096 2010-01-06 02:05:09Z bkarwin $
20 */
23/** Zend_Pdf_Filter_Interface */
24#require_once 'Zend/Pdf/Filter/Interface.php';
25
77                $predictor != 13  &&  $predictor != 14  &&   $predictor != 15) {
78                #require_once 'Zend/Pdf/Exception.php';
79                throw new Zend_Pdf_Exception('Invalid value of \'Predictor\' decode param - ' . $predictor . '.' );
99            if ($colors != 1  &&  $colors != 2  &&  $colors != 3  &&  $colors != 4) {
100                #require_once 'Zend/Pdf/Exception.php';
101                throw new Zend_Pdf_Exception('Invalid value of \'Color\' decode param - ' . $colors . '.' );
123                $bitsPerComponent != 16 ) {
124                #require_once 'Zend/Pdf/Exception.php';
125                throw new Zend_Pdf_Exception('Invalid value of \'BitsPerComponent\' decode param - ' . $bitsPerComponent . '.' );
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21