PageRenderTime 3124ms queryFilters 0ms Sphinxql 1883ms GetByIds 1199ms meta 0ms repositoryFilters 6ms languageFilters 0ms sourceFilters 1ms

173,263 results for 'php chr' (3124 ms)

Source

Language

Repository

mo.php https://github.com/cicorias/YOURLS.git | PHP | 257 lines
1<?php
2/**
4 *
5 * @version $Id: mo.php 718 2012-10-31 00:32:02Z nbachiyski $
6 * @package pomo
9
10require_once dirname(__FILE__) . '/translations.php';
11require_once dirname(__FILE__) . '/streams.php';
38	function export() {
39		$tmp_fh = fopen("php://temp", 'r+');
40		if ( !$tmp_fh ) return false;
75		$current_addr++;
76		$originals_table = chr(0);
77
78		foreach($entries as $entry) {
79			$originals_table .= $this->export_original($entry) . chr(0);
80			$length = strlen($this->export_original($entry));
admin_config.php https://github.com/CasperGemini/e107.git | PHP | 846 lines
1<?php
2/*
15{
16	header('Location: '.e_BASE.'index.php');
17	exit;
20
21require_once(e_ADMIN.'auth.php');
22require_once(e_HANDLER.'userclass_class.php');
25
26define('LogFlagFile', 'LogFlag.php');
27
27
28include_lan(e_PLUGIN.'log/languages/'.e_LANGUAGE.'_admin_log.php');
29
783
784	$data = chr(60)."?php\n". chr(47)."* e107 website system: Log file: ".date("z:Y", time())." *". chr(47)."\n\n".
785	$varStart."ipAddresses = ".$quote.$ipAddresses.$quote.";\n".
admin_config.php https://github.com/CasperGemini/e107.git | PHP | 721 lines
1<?php
2/*
13
14require_once('../../class2.php');
15if (!getperms('P')) 
16{
17	header('location:'.e_BASE.'index.php');
18	exit;
20$e_sub_cat = 'newsletter';
21require_once(e_ADMIN.'auth.php');
22// Include ren_help for display_help (while showing BBcodes)
22// Include ren_help for display_help (while showing BBcodes)
23require_once(e_HANDLER.'ren_help.php');
24
150					<td>".$data['newsletter_title']."</td>
151					<td>".((substr_count($data['newsletter_subscribers'], chr(1))!= 0)?"<a href='".e_SELF."?vs.".$data['newsletter_id']."'>".substr_count($data['newsletter_subscribers'], chr(1))."</a>":substr_count($data['newsletter_subscribers'], chr(1)))."</td>
152					<td>
image_functions.php https://github.com/Pankrashingo/cms-landing.git | PHP | 905 lines
1<?php
2
184    $length = strlen($value);
185    $retval = chr(0x1C) . chr($rec) . chr($data);
186
188    {
189        $retval .= chr($length >> 8) .  chr($length & 0xFF);
190    }
192    {
193        $retval .= chr(0x80) . 
194                   chr(0x04) . 
194                   chr(0x04) . 
195                   chr(($length >> 24) & 0xFF) . 
196                   chr(($length >> 16) & 0xFF) . 
196                   chr(($length >> 16) & 0xFF) . 
197                   chr(($length >> 8) & 0xFF) . 
198                   chr($length & 0xFF);
qrcode.php https://github.com/InfectedLan/InfectedAPI.git | PHP | 2,876 lines
1<?php
2//============================================================+
42// ---------------------------------------------------------
43// "PHP QR Code encoder"
44// License: GNU-LGPLv3
45// Copyright (C) 2010 by Dominik Dzienia <deltalab at poczta dot fm>
46// http://phpqrcode.sourceforge.net/
47// https://sourceforge.net/projects/phpqrcode/
48//
49// The "PHP QR Code encoder" is based on
50// "C libqrencode library" (ver. 3.1.1)
80 *
81 * This class is derived from "PHP QR Code encoder" by Dominik Dzienia (http://phpqrcode.sourceforge.net/) based on "libqrencode C library 3.1.1." by Kentaro Fukuchi (http://megaui.net/fukuchi/works/qrencode/index.en.html), contains Reed-Solomon code written by Phil Karn, KA9Q. QR Code is registered trademark of DENSO WAVE INCORPORATED (http://www.denso-wave.com/qrcode/index-e.html).
82 * Please read comments on this class source file for full copyright and license information.
295	 *
296	 * This class is derived from "PHP QR Code encoder" by Dominik Dzienia (http://phpqrcode.sourceforge.net/) based on "libqrencode C library 3.1.1." by Kentaro Fukuchi (http://megaui.net/fukuchi/works/qrencode/index.en.html), contains Reed-Solomon code written by Phil Karn, KA9Q. QR Code is registered trademark of DENSO WAVE INCORPORATED (http://www.denso-wave.com/qrcode/index-e.html).
297	 * Please read comments on this class source file for full copyright and license information.
wpt-functions.php https://github.com/CaffeinatedJim/catsinmyyard.git | PHP | 745 lines
414	}
415	$admin_url = ( is_plugin_active( 'wp-tweets-pro/wpt-pro-functions.php' ) ) ? admin_url( 'admin.php?page=wp-tweets-pro' ) : admin_url( 'options-general.php?page=wp-to-twitter/wp-to-twitter.php' );
416	echo "
577                    {
578                        $last_uchr = $compMap[$last_uchr . $uchr];
579                    }
610                    $L = 0xAC00 + ($L * 21 + $V) * 28 + $T;
611                    $last_uchr = chr(0xE0 | $L>>12) . chr(0x80 | $L>>6 & 0x3F) . chr(0x80 | $L & 0x3F);
612                }
662                    isset($c[$combClass[$uchr]]) || $c[$combClass[$uchr]] = '';
663                    $c[$combClass[$uchr]] .= isset($compatMap[$uchr]) ? $compatMap[$uchr] : (isset($decompMap[$uchr]) ? $decompMap[$uchr] : $uchr);
664                }
677
678                        $j = isset($compatMap[$uchr]) ? $compatMap[$uchr] : (isset($decompMap[$uchr]) ? $decompMap[$uchr] : $uchr);
679
Base.php https://github.com/tjworks/mongoing.git | PHP | 1,990 lines
328     * - CRYPT_MODE_MCRYPT   (fast, php-extension: mcrypt, extension_loaded('mcrypt') required)
329     * - CRYPT_MODE_INTERNAL (slower, pure php-engine, no php-extension required)
330     *
641
642            // re: {@link http://phpseclib.sourceforge.net/cfb-demo.phps}
643            // using mcrypt's default handing of CFB the above would output two different things.  using phpseclib's
909            if ($this->paddable) {
910                // we pad with chr(0) since that's what mcrypt_generic does.  to quote from {@link http://www.php.net/function.mcrypt-generic}:
911                // "The data is padded with "\0" to make sure the length of the data is n * blocksize."
1282            // to workaround mcrypt's broken ncfb implementation in buffered mode
1283            // see: {@link http://phpseclib.sourceforge.net/cfb-demo.phps}
1284            if ($this->mode == CRYPT_MODE_CFB) {
1467     *       - 100% compatible to encrypt()/decrypt()
1468     *       - using only php5+ features/lang-constructs/php-extensions if
1469     *         compatibility (down to php4) or fallback is provided
debitorkort.php https://github.com/nielsrune/saldi.git | PHP | 869 lines
1<?php
2// ------------- debitor/debitorkort.php ------ lap 3.4.1 ----2014-05-07-----------
57	$cat_id=explode(chr(9),$r['box1']);
58	$cat_beskrivelse=explode(chr(9),$r['box2']);
59	$cat_antal=count($cat_id);
832if ($popup) print "<td width=\"10%\" $top_bund onClick=\"javascript:historik=window.open('historikkort.php?id=$id&returside=../includes/luk.php','historik','".$jsvars."');historik.focus();\" onMouseOver=\"this.style.cursor = 'pointer'\" title=\"$tekst\">".findtekst(131,$sprog_id)."<!--tekst 131--></td>\n";
833elseif ($returside!="historikkort.php") print "<td width=\"10%\" $top_bund title=\"$tekst\"><!--tekst 130--><a href=historikkort.php?id=$id&returside=debitorkort.php>".findtekst(131,$sprog_id)."<!--tekst 131--></td>\n";
834else print "<td width=\"10%\" $top_bund title=\"$tekst\"><!--tekst 130--><a href=historikkort.php?id=$id>".findtekst(131,$sprog_id)."<!--tekst 131--></td>\n";
836if ($popup) print "<td width=\"10%\" $top_bund onClick=\"javascript:kontokort=window.open('rapport.php?rapportart=kontokort&konto_fra=$kontonr&konto_til=$kontonr&returside=../includes/luk.php','kontokort','".$jsvars."');kontokort.focus();\" onMouseOver=\"this.style.cursor = 'pointer'\" title=\"$tekst\">".findtekst(133,$sprog_id)."<!--tekst 133--></td>\n";
837else print "<td width=\"10%\" $top_bund  title=\"$tekst\"><!--tekst 132--><a href=rapport.php?rapportart=kontokort&konto_fra=$kontonr&konto_til=$kontonr&returside=../debitor/debitorkort.php?id=$id>".findtekst(133,$sprog_id)."<!--tekst 133--></td>\n";
838$tekst=findtekst(129,$sprog_id);
840	if ($popup) print "<td width=\"10%\" $top_bund onClick=\"javascript:d_ordrer=window.open('ordreliste.php?konto_id=$id&valg=faktura&returside=../includes/luk.php','d_ordrer','".$jsvars."');d_ordrer.focus();\" onMouseOver=\"this.style.cursor = 'pointer'\" title=\"$tekst\">".findtekst(134,$sprog_id)."<!--tekst 134--></td>\n";
841	else print "<td width=\"10%\" $top_bund  title=\"$tekst\"><!--tekst 129--><a href=ordreliste.php?konto_id=$id&valg=faktura&returside=../debitor/debitorkort.php?id=$id>".findtekst(134,$sprog_id)."<!--tekst 134--></td>\n";
842} else print "<td width=\"10%\" $top_bund><span style=\"color:#999;\">".findtekst(134,$sprog_id)."<!--tekst 134--></span></td>\n";
846	$tekst=findtekst(312,$sprog_id);#"Klik her for at &aring;bne listen med arbejdskort"
847print "<td width=\"10%\" $top_bund title=\"$tekst\"><!--tekst 312--><a href=jobliste.php?konto_id=$id&returside=debitorkort.php>".findtekst(38,$sprog_id)."<!--tekst 38--></td>\n";
848} else print "<td width=\"10%\"  $top_bund><span style=\"color:#999;\">".findtekst(38,$sprog_id)."<!--tekst 38--></span></td>\n";
application.php https://github.com/dprotopopov/tritumana.git | PHP | 882 lines
1<?php
2//////////////////////////////////////////////////////////////////////////////
5/** Include PHPExcel */
6require_once dirname(__FILE__) . '/bower_components/PHPExcel/Classes/PHPExcel.php';
7
8require_once( dirname(__FILE__) . '/defines.php' );
9require_once( dirname(__FILE__) . '/functions.php' );
10require_once( dirname(__FILE__) . '/configuration.php' );
10require_once( dirname(__FILE__) . '/configuration.php' );
11require_once( dirname(__FILE__) . '/database.php' );
12require_once( dirname(__FILE__) . '/insales.php' );
698		//add BOM to fix UTF-8 in Excel
699		fputs($file, $bom =( chr(0xEF) . chr(0xBB) . chr(0xBF) ));
700		// The fputcsv() function formats a line as CSV and writes it to an open file.
805		//add BOM to fix UTF-8 in Excel
806		fputs($file, $bom =( chr(0xEF) . chr(0xBB) . chr(0xBF) ));
807		// The fputcsv() function formats a line as CSV and writes it to an open file.
rdf.php https://code.google.com/p/s3db/ | PHP | 926 lines
187					if(is_array($item_info))
188					$addStat .= chr(9).sprintf(' a '.n3UID("C".$item_info['resource_class_id']).' .').chr(10).chr(10);
189					else {#find a collection for the verbs
427					if($object!='""')
428					$n3 .= sprintf("%s", ' '.$predicate.' '.$object.(($predicate==end(array_keys($objectPredicates)))?' .'.chr(10).chr(10):' ;'.chr(10).chr(9)));
429				}
516					if($object!='""')
517					$n3 .= sprintf("%s", ' '.$predicate.' '.$object.(($predicate==end(array_keys($objectPredicates)))?' .'.chr(10).chr(10):' ;'.chr(10).chr(9)));
518				}
522		$n3 .= sprintf("%s", $objectPredicates['rdf:subject']);
523		$n3 .= chr(9).sprintf("%s", $objectPredicates['rdf:predicate'].' '.(($subClass_info['object_id']!='')?$objectPredicates['rdf:object']:$objectPredicates['rdf:object']).' .').chr(10).chr(10);
524
912			if($object!='""')
913			$n3 .= sprintf("%s", ' '.$predicate.' '.$object.(($predicate==end(array_keys($objectPredicates)))?' .'.chr(10).chr(10):' ;'.chr(10).chr(9)));
914		}
class-json.php git://github.com/markjaquith/WordPress.git | PHP | 1,037 lines
57 * @license     http://www.opensource.org/licenses/bsd-license.php
58 * @link        http://pear.php.net/pepr/pepr-proposal-show.php?id=198
59 */
665                    $utf8 = '';
666                    $strlen_chrs = $this->strlen8($chrs);
667
840
841                        } elseif ((($chrs[$c] == '"') || ($chrs[$c] == "'")) && ($top['what'] != SERVICES_JSON_IN_STR)) {
842                            // found a quote, and we are not inside a string
847                                 ($top['what'] == SERVICES_JSON_IN_STR) &&
848                                 (($this->strlen8($this->substr8($chrs, 0, $c)) - $this->strlen8(rtrim($this->substr8($chrs, 0, $c), '\\'))) % 2 != 1)) {
849                            // found a quote, we're in a string, and it's not escaped
889                            for ($i = $top['where']; $i <= $c; ++$i)
890                                $chrs = substr_replace($chrs, ' ', $i, 1);
891
VerySimpleStringUtil.php git://github.com/jasonhinkle/phreeze.git | PHP | 527 lines
214		// this is a complex method that appears to be the reverse of UTF8ToHTML
215		// taken from http://www.php.net/manual/en/function.html-entity-decode.php#68491
216//		$string = self::ReplaceNonNumericEntities($string);
448	 * converts a character that is likely non ascii into the correct UTF-8 char value
449	 * @link http://www.php.net/manual/en/function.html-entity-decode.php#68491
450	 * @param $code
490        }
491        if ($code < 2048) return chr(192 | ($code >> 6)) . chr(128 | ($code & 63));
492        elseif ($code < 65536) return chr(224 | ($code >> 12)) . chr(128 | (($code >> 6) & 63)) . chr(128 | ($code & 63));
492        elseif ($code < 65536) return chr(224 | ($code >> 12)) . chr(128 | (($code >> 6) & 63)) . chr(128 | ($code & 63));
493        else return chr(240 | ($code >> 18)) . chr(128 | (($code >> 12) & 63)) . chr(128 | (($code >> 6) & 63)) . chr(128 | ($code & 63));
494    }
498     * used internally by decode
499     * @link http://www.php.net/manual/en/function.html-entity-decode.php#68491
500     * @param array
ImageSizer.php git://github.com/ryancramerdesign/ProcessWire.git | PHP | 1,959 lines
1179		if($len < 0x8000) {
1180			return  @chr(0x1c) . @chr($rec) . @chr($dat) .
1181				chr($len >> 8) .
1184		} else {
1185			return  chr(0x1c) . chr($rec) . chr($dat) .
1186				chr(0x80) . chr(0x04) .
1463		// Check signature
1464		if(@fread($f,8) != chr(137) .'PNG' . chr(13) . chr(10) . chr(26) . chr(10)) {
1465			@fclose($f);
1638		// and here under GD: http://php.net/ChangeLog-5.php#5.5.11
1639		$buggyPHP = (version_compare(phpversion(), '5.5.8', '>') && version_compare(phpversion(), '5.5.11', '<')) ? true : false;
1640
1921
1922		static $phpMaxMem = null; // with this static we only once need to read from php.ini and calculate phpMaxMem, regardless how often this function is called in a request
1923
ArGlyphs.class.php https://bitbucket.org/nadiasho/tako-3.git | PHP | 598 lines
1<?php
2/**
33 *  
34 * Original    Author(s): Khaled Al-Sham'aa <khaled@ar-php.org>
35 *  
48 *
49 * PHP class to render Arabic text by performs Arabic glyph joining on it,
50 * then output a UTF-8 hexadecimals stream gives readable results on PHP
54 * <code>
55 *   include('./Arabic.php');
56 *   $obj = new Arabic('ArGlyphs');
176        // This needs value in getGlyphs function to be 52 instead of 48
177        // $this->glyphs .= chr(129).chr(141).chr(142).chr(144);
178        // $this->hex    .= 'FB56FB57FB58FB59FB7AFB7BFB7CFB7DFB8AFB8BFB8AFB8BFB92';
181        // $this->prevLink .= chr(129).chr(141).chr(142).chr(144);
182        // $this->nextLink .= chr(129).chr(141).chr(142).chr(144);
183        //
formatting.php https://github.com/yanickouellet/WordPress.git | PHP | 3,393 lines
771		chr(225).chr(187).chr(164) => 'U', chr(225).chr(187).chr(165) => 'u',
772		chr(225).chr(187).chr(176) => 'U', chr(225).chr(187).chr(177) => 'u',
773		chr(225).chr(187).chr(180) => 'Y', chr(225).chr(187).chr(181) => 'y',
807			.chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
808			.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
809			.chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
810			.chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
811			.chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
812			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
812			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
813			.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
814			.chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
819		$string = strtr($string, $chars['in'], $chars['out']);
820		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
821		$double_chars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
class.tx_t3consultancies_pi1.php https://github.com/michael-cannon/typo3-extensions.git | PHP | 1,715 lines
1<?php
2/***************************************************************
30 * @author Michael Cannon <michael@peimic.com>
31 * @version $Id: class.tx_t3consultancies_pi1.php,v 1.1.1.1 2010/04/15 10:04:06 peimic.comprock Exp $
32 */
34
35require_once(PATH_tslib."class.tslib_pibase.php");
36
38	var $prefixId = "tx_t3consultancies_pi1";		// Same as class name
39	var $scriptRelPath = "pi1/class.tx_t3consultancies_pi1.php";	// Path to this script relative to the extension dir.
40	var $extKey = "t3consultancies";	// The extension key.
406			// Begin Query:
407		$query="FROM ".$table.",".$cat_table.",".$mm_table.chr(10).
408				" WHERE ".$table.".uid=".$mm_table.".uid_local AND ".$cat_table.".uid=".$mm_table.".uid_foreign ".chr(10).
408				" WHERE ".$table.".uid=".$mm_table.".uid_local AND ".$cat_table.".uid=".$mm_table.".uid_foreign ".chr(10).
409				" AND ".$table.".pid IN (".$pidList.")".chr(10).
410				$this->cObj->enableFields($cat_table).
ConverterTest.php https://github.com/FabienD/Pomm.git | PHP | 812 lines
1<?php
2
11
12class ConverterTest extends \PHPUnit_Framework_TestCase
13{
66        $this->assertEquals(1, $entity['id'], "PHP int 1 <=> PG int 1");
67        $this->assertEquals(12.345, $entity['fixed'], "PHP 12.345 <=> PG 12.345 numeric");
68        $this->assertEquals(0.000001, $entity['fl'], "PHP 0.000001 <=> PG 1e-6");
76        $this->assertEquals(0.000, $entity['fixed'], "PHP 0.0001 <=> PG 0.000 numeric");
77        $this->assertEquals(1000000, $entity['fl'], "PHP 1000000.000001 <=> PG 1e+6");
78        $this->assertEquals(array(1.0, 1.1, null, 1.3), $entity['arr_fl'], "Float array preserves null.");
190     * pg bytea escaping with PHP :
191     * https://bugs.php.net/bug.php?id=59831&thanks=6
192     *
204        $entity = static::$cv_map->findAll()->current();
205        $binary = chr(0).chr(27).chr(92).chr(39).chr(32).chr(13);
206        $base64 = <<<_
GIF.class.php https://github.com/huangshan/yuqing.git | PHP | 571 lines
1<?php
2// +----------------------------------------------------------------------
87::
88::	This class is a rewritten 'GifMerge.class.php' version.
89::
102::
103::  http://gifs.hu/phpclasses/demos/GifBuilder/
104::
217		$Locals_ext = "!\xF9\x04" . chr ( ( $this->DIS << 2 ) + 0 ) .
218						chr ( ( $d >> 0 ) & 0xFF ) . chr ( ( $d >> 8 ) & 0xFF ) . "\x0\x0";
219
227					$Locals_ext = "!\xF9\x04" . chr ( ( $this->DIS << 2 ) + 1 ) .
228									chr ( ( $d >> 0 ) & 0xFF ) . chr ( ( $d >> 8 ) & 0xFF ) . chr ( $j ) . "\x0";
229					break;
307
308		return ( chr ( $int & 0xFF ) . chr ( ( $int >> 8 ) & 0xFF ) );
309	}
formatting.php https://github.com/dipakdotyadav/WordPress.git | PHP | 3,390 lines
771		chr(225).chr(187).chr(164) => 'U', chr(225).chr(187).chr(165) => 'u',
772		chr(225).chr(187).chr(176) => 'U', chr(225).chr(187).chr(177) => 'u',
773		chr(225).chr(187).chr(180) => 'Y', chr(225).chr(187).chr(181) => 'y',
807			.chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
808			.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
809			.chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
810			.chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
811			.chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
812			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
812			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
813			.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
814			.chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
819		$string = strtr($string, $chars['in'], $chars['out']);
820		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
821		$double_chars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
protector.php https://github.com/nouphet/momoxo.git | PHP | 1,123 lines
68//	if( preg_match( '/[<>\'";\n ]/' , @$_SERVER['PHP_SELF'] ) ) {
69//		$this->message .= "Invalid PHP_SELF '{$_SERVER['PHP_SELF']}' found.\n" ;
70//		$this->output_log( 'PHP_SELF XSS' ) ;
74	// sanitize against PHP_SELF/PATH_INFO XSS (disabled in 3.33)
75//	$_SERVER['PHP_SELF'] = strtr( @$_SERVER['PHP_SELF'] , array( '<' => '%3C' , '>' => '%3E' , "'" => '%27' , '"' => '%22' ) ) ;
76//	if( ! empty( $_SERVER['PATH_INFO'] ) ) $_SERVER['PATH_INFO'] = strtr( @$_SERVER['PATH_INFO'] , array( '<' => '%3C' , '>' => '%3E' , "'" => '%27' , '"' => '%22' ) ) ;
681	// extensions never uploaded
682	$bad_extensions = array( 'php' , 'phtml' , 'phtm' , 'php3' , 'php4' , 'cgi' , 'pl' , 'asp' ) ;
683	// extensions needed image check (anti-IE Content-Type XSS)
1081		// news admin/index.php
1082		if( substr( @$_SERVER['SCRIPT_NAME'] , -28 ) == 'modules/news/admin/index.php' && ( $_POST['op'] == 'preview' || $_GET['op'] == 'preview' ) && strpos( @$_SERVER['HTTP_REFERER'] , XOOPS_URL.'/modules/news/admin/index.php' ) !== 0 ) {
1083			$HTTP_POST_VARS['nohtml'] = $_POST['nohtml'] = 1 ;
1089		// disable preview of system's blocksadmin
1090		if( substr( @$_SERVER['SCRIPT_NAME'] , -24 ) == 'modules/system/admin.php' && ( $_GET['fct'] == 'blocksadmin' || $_POST['fct'] == 'blocksadmin') && isset( $_POST['previewblock'] ) /* && strpos( $_SERVER['HTTP_REFERER'] , XOOPS_URL.'/modules/system/admin.php' ) !== 0 */ ) {
1091			die( "Danger! don't use this preview. Use 'altsys module' instead.(by Protector)" ) ;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21