Compare commits

...

2 Commits

Author SHA1 Message Date
Fred Boniface d8aa2889f5 Move form to one page (index.php) 2022-09-16 21:04:34 +01:00
Fred Boniface 3fa53ae69e Change comment box to text area 2022-09-16 20:58:40 +01:00
2 changed files with 3 additions and 11 deletions

View File

@ -31,12 +31,14 @@
<br> <br>
Details: Details:
<br> <br>
<input type="text" name="detail"> <textarea name="detail" rows="5" cols="40"></textarea>
<br> <br>
On submission of this form, your browsers User Agent string will be On submission of this form, your browsers User Agent string will be
collected alongside the information you provide above and will be collected alongside the information you provide above and will be
posted to git.fjla.uk/fred.boniface/athena.fb-infra.uk/issues. posted to git.fjla.uk/fred.boniface/athena.fb-infra.uk/issues.
<br> <br>
Your user agent is: <?php echo $_SERVER["HTTP_USER_AGENT"]; ?>
<br>
<input type="submit"> <input type="submit">
</form> </form>

View File

@ -1,10 +0,0 @@
<html>
<body>
Subject: <?php echo $_POST["subject"]; ?>
<br>
Details: <?php echo $_POST["detail"]; ?>
<br>
Browser: <?php echo $_SERVER["HTTP_USER_AGENT"]; ?>
</body>
</html>