KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/highlandlabs/cqi-bin/ALFA_DATA/alfasymlink/root/domains/insite/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/highlandlabs/cqi-bin/ALFA_DATA/alfasymlink/root/domains/insite/RunInside.php
<?php
//require("/opt/cont/index.php");
/**
 * Improved inside.php implementation, improved performance and compatibility.
 * 
 * Uses output buffers to fetch the inside.php file, and then the current file
 * is allowed to run, and the output is captured and stored in the %content% tag
 * in inside.php
 * 
 * When requiring this file, a file called inside.php MUST exist in the same
 * directory as the calling file.
 * 
 * @author Kekoa Vincent
 * @version 2.0
 * 
 */

// For backward-compatibility with old versions of inside.php
$content = "%content%";

// Use output buffer to capture contents from inside.php
ob_start();
$page_to_open = ( isset($altinside) && $altinside != null ) ? $altinside : "inside.php";
require($page_to_open);
$insideContent = ob_get_contents();
ob_end_clean();

// Use output buffer to capture contents from the interior page
ob_start("Finalize");

/**
 * Function that is called by PHP's output bufferer when all of the interior
 * content is fetched.  Simply replaces the %content% tag found in the page with 
 * this data.
 *
 * @param string $content Data captured from last ob operation
 * @return string Data that will be sent to the browser
 */
function Finalize($content) {
	global $insideContent;
	$insideContent = str_replace("%content%", $content, $insideContent);
	return $insideContent;
}?>

Anon7 - 2021