<?PHP
include('depcheck.class.php');
$fileName = ( !empty($_REQUEST['f']) ) ? $_REQUEST['f'] : '';
$dpc = new depcheck($fileName);
$dpc->checkFile();
?>
<html>
<head>
<title>PHP deprecated function checker</title>
</head>
<body>
<?PHP
if( $dpc->errorFlag === true ){
?>
<div style="margin: 10px 0; color: red;">Error!!!<br><?PHP echo $dpc->errorMessage;?></div>
<?PHP
}
?>
<div>Running PHP version <?PHP echo PHP_VERSION;?></div>
<div>Using deprecated csv file '<?PHP echo $dpc->depFile;?>'</div>
<div>Checking file '<?PHP echo $dpc->fileName;?>'</div>
<div style="margin-top: 10px;">Results:<br><?PHP echo $dpc->resultMessage;?></div>
</body>
</html>
|