318
seCure develoPment For mobIle APPs
$_SESSION['formTracker'] = $formTracker;
$_SESSION['formTime'] = $formTime;
?>
<!DOCTYPE html>
<html>
<head>
<title>Registration Form</title>
<me ta http-equiv = "Content-Type" content = "text/html; charset =
UTF-8"/>
</head>
<body>
<form id = "register" action = "register.php" method = "post">
<input type = "text" id = "firstName" name = "firstName"/>
<input type = "text" id = "lastName" name = "lastName"/>
<input type = "text" id = "email" name = "email"/>
<in put type = "hidden" name = "formTracker" value = "<?php
_H($formTracker);?>"/>
<input type = "submit" value = "Submit"/>
</form>
</body>
</html>
e form action is a POST request to register.php, which processes the form field
data. is is just an example. e process ...