Compare commits

..

2 Commits

Author SHA1 Message Date
Fred Boniface 93f3939428 Clarification of comments 2022-09-17 21:29:35 +01:00
Fred Boniface bd4a60d5cb Initiate variable $issueData at start 2022-09-17 21:22:05 +01:00
1 changed files with 4 additions and 2 deletions

View File

@ -17,13 +17,15 @@
<body>
<?php
// define form variables and set to empty values (or to the UA)
// Define form variables and set to empty values (or to the UA)
$subject = $detail = "";
$ua_str = $_SERVER["HTTP_USER_AGENT"];
// Define response variable as blank before POSTing
// Define response variable & data variable as blank before POSTing
$giteaResponse = "";
$issueData = "";
// If the page is loading after submission then run this:
if ($_SERVER["REQUEST_METHOD"] == "POST" ) {
$subject = validate($_POST["subject"]);
$detail = validate($_POST["detail"]);