$15 GRAYBYTE WORDPRESS FILE MANAGER $21

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bqrcodec/contact.fpt.auto/wp-content/plugins/wp-all-export-pro/classes/

HOME
Current File : /home/bqrcodec/contact.fpt.auto/wp-content/plugins/wp-all-export-pro/classes//input.php
<?php 
class PMXE_Input {
	protected $filters = array('stripslashes');
	
	public function read($inputArray, $paramName, $default = NULL) {
		if (is_array($paramName) and ! is_null($default)) {
			throw new Exception('Either array of parameter names with default values as the only argument or param name and default value as seperate arguments are expected.');
		}
		if (is_array($paramName)) {
			foreach ($paramName as $param => $def) {
				if (isset($inputArray[$param])) {
					$paramName[$param] = $this->applyFilters($inputArray[$param]);
				}
			}
			return $paramName;
		} else {
			return isset($inputArray[$paramName]) ? $this->applyFilters($inputArray[$paramName]) : $default;
		}
	}
	
	public function get($paramName, $default = NULL) {
		$this->addFilter('htmlspecialchars');
		$this->addFilter('strip_tags');
		$this->addFilter('esc_sql');
        $this->addFilter('esc_js');
		$result = $this->read($_GET, $paramName, $default);
		$this->removeFilter('htmlspecialchars');
		$this->removeFilter('strip_tags');		
		$this->removeFilter('esc_sql');
        $this->removeFilter('esc_js');
		return $result;
	}
	
	public function post($paramName, $default = NULL) {
		return $this->read($_POST, $paramName, $default);
	}
	
	public function cookie($paramName, $default = NULL) {
		return $this->read($_COOKIE, $paramName, $default);
	}
	
	public function request($paramName, $default = NULL) {
		return $this->read($_GET + $_POST + $_COOKIE, $paramName, $default);
	}
	
	public function getpost($paramName, $default = NULL) {
		return $this->read($_GET + $_POST, $paramName, $default);
	}
	
	public function server($paramName, $default = NULL) {
		return $this->read($_SERVER, $paramName, $default);
	}
	
	public function addFilter($callback) {
		if ( ! is_callable($callback)) {
			throw new Exception(get_class($this) . '::' . __METHOD__ . ' parameter must be a proper callback function reference.');
		}
		if ( ! in_array($callback, $this->filters)) {
			$this->filters[] = $callback;
		}
		return $this;
	}
	
	public function removeFilter($callback) {
		$this->filters = array_diff($this->filters, array($callback));
		return $this;
	}
	
	protected function applyFilters($val) {
		if (is_array($val)) {
			foreach ($val as $k => $v) {
				$val[$k] = $this->applyFilters($v);
			}
		} else {
			foreach ($this->filters as $filter) {
				$val = call_user_func($filter, $val);
			}
		}
		return $val;
	}
}

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
PHPExcel
--
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
CdataStrategy.php
0.107 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
CdataStrategyAlways.php
0.2 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
CdataStrategyFactory.php
0.589 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
CdataStrategyIllegalCharacters.php
0.579 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
CdataStrategyIllegalCharactersHtmlEntities.php
0.264 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
CdataStrategyNever.php
0.2 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
PHPExcel.php
30.794 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
XMLWriter.php
15.842 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
chunk.php
7.89 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
config.php
2.367 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
download.php
1.479 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
handler.php
3.922 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
helper.php
4.426 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
input.php
2.358 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
installer.php
1.035 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
session.php
1.956 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
updater.php
22.839 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
wpallimport.php
23.992 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755
zip.php
2.513 KB
30 Jan 2024 5.53 PM
bqrcodec / bqrcodec
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF