File "x_proxyiframe.phtml"

Full path: /www/map/mapserver-extensions/pmapper-4.2.0/incphp/xajax/x_proxyiframe.phtml
File size: 412 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Back

<?php
require_once("../pmsession.phtml");
require_once("../globals.phtml");
require_once("../common.phtml");

$remoteurl = $_REQUEST['remoteurl'];
$http_referer = $_SERVER['HTTP_REFERER'];
$server_name = $_SERVER['SERVER_NAME'];
if (! preg_match("/$server_name/", $http_referer) ) exit();
?>
<html>
<head></head>
<body>
<iframe src="<?php echo $remoteurl  ?>" width="100%" height="99%">
</iframe>
</body>
</html>

PHP File Manager