Your IP : 216.73.216.40


Current Path : /var/www/html/venkat/check3/
Upload File :
Current File : //var/www/html/venkat/check3/program.php

<?php
$section1 = "sec_cdec.txt";
$result = shell_exec("cat $section1");
$result = explode("\n", $result);
$i = 0;
$j = 0;
echo "------------------------------------------------------------------<br>";
while ($result[$i]) {
	$result1 =explode('|', $result[$i]);
	//echo $result1[5].'j';
	if ($result1[5] == " Correct "){
		$v =  htmlspecialchars(shell_exec("cat file/sec_c/$result1[0]"));
		echo "<b>".$result1[0]."</b><br>";
		echo "<pre>".$v."</pre>";
		echo "<br>--------------------------------------------------------<br>";
		$j++;
	}
	$i++;
	if($j == 6){
		break;
	}
}
?>