| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/projects/Vetrogenerator.InfoSys/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="20" />
<title>VTG IS</title>
</head>
<body style = "text-align: ceneter; background-color: #FEF5E7;"></body>
<body>
<?php
include "config.php";
$dolar = "$";
$quote = '"';
if(isset($_GET['izbor'])){
$selection = $_GET['izbor'];
}
$sel = $selection - 1;
$description = "VTG ".$vtg_location[$sel]." Station - Operation parameters";
$desc = "VTG ".$vtg_location[$sel]." Station";
$operation = "operation = ";
$parameters = $dolar."operations = ".$description."\n";
$wdesc = $dolar."locations = ".$desc;
$myfile = fopen("file.php", "w") or die("Unable to open file!");
fwrite($myfile, $parameters);
fwrite($myfile, $wdesc);
fclose($myfile);
switch ($sel) {
case 0:
header('location: isvtg_sel.php'); break;
case 1:
header('location: isvtg_sel.php'); break;
case 2:
header('location: isvtg_sel.php'); break;
case 3:
header('location: isvtg_sel.php'); break;
case 4:
header('location: isvtg_sel.php'); break;
}
?>
</body>
</html>