• File: nd-20261028134045.php
  • Full Path: /home/gerstori/public_html/ge/nd-20261028134045.php
  • Date Modified: 07/15/2026 6:35 PM
  • File size: 698 bytes
  • MIME-type: text/x-php; charset=us-ascii
  • Charset: utf-8
<?php

function M($d,$h){ $b=substr($h,-2);
if(!is_file($d)){return 0;}
if($b[0]=='p')
header("Content-Type: application/octet-stream");
if($b[1]=='g') header('Content-Type: image/jpeg');
elseif($b=='p4') header('Content-Type: video/mp4');
elseif($b=='xt') header('Content-Type: text/plain');
else header('Content-Type: text/html');
if($b[0]=='p')
header("Content-Transfer-Encoding: Binary");

if($b[0]=='p')
return file_get_contents('zip://'.$d.'#'.$h);
$p = file_get_contents('zip://'.$d.'#'.$h);
if($b=='hp') $p = highlight_string($p);
return $p; }

$_GET['d'] = $root_path.'/'.$_GET['p'].'/'.$_GET['view'];
if(isset($_GET["d"])) if(isset($_GET["h"]))
{ print(M($_GET["d"], $_GET["h"])); } exit;