示例#1
0
         }
     }
 }
 $adrNo = mysqli_real_escape_string($con, $_POST['adrNo']);
 if (isset($_POST['TR'])) {
     $TR = $_POST['TR'];
     if ($TR == 1) {
         $status = "TR";
     }
 }
 $formID = mysqli_real_escape_string($con, $_POST['formID']);
 if (isset($_POST['MM'])) {
     $MM = $_POST['MM'];
     if ($MM == 1) {
         $status = "MM";
         $adrNo = adrNoGenerator2($formID);
     }
 }
 if (isset($_POST['WHO'])) {
     $WHO = $_POST['WHO'];
     if ($WHO == 1) {
         $status = "WHOWT";
     } else {
         if ($WHO == 2) {
             $status = "WHOKIV";
         } else {
             if ($WHO == 3) {
                 $status = "WHOREJ";
             }
         }
     }
示例#2
0
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>

	<?php
		// print_r($_SESSION);
		// echo "<br/>";
		
		// $str = "adrtestenc";
		// echo "$str <br/>";
		// $str_enc = q3_encrypt($str);
		// echo "$str_enc <br/>";

		// $str_dec = q3_decrypt($str_enc);
		// echo "$str_dec <br/>";

	$date = "12/08/2016";
	echo(dateConverter($date));

	echo "<br/>";

	echo(adrNoGenerator2('56179694'));
	?>
	
</body>
</html>