| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/usa_sites/usagrantapplications.org/membersonly/ |
Upload File : |
<?php
require_once('includes/header.php');
?>
<?
$type = $_GET['type'];
$typefile = "{$_SERVER["DOCUMENT_ROOT"]}/membersonly/types/" . $type . ".html";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?= $type; ?></title>
</head>
<body>
<?
$fh = @fopen($typefile,"r");
if ($fh)
{
$toreplace = "CATALOG.PROGRAM_TEXT_RPT.SHOW?p_arg_names=prog_nbr&p_arg_values=";
$replacement = "/membersonly/display.php?cfda=";
while (!feof($fh))
{
$line = fgets($fh);
$line = str_replace($toreplace,$replacement,$line);
echo $line;
}
fclose($fh);
}
?>
</body>
</html>