diff --git a/action.php b/action.php index eff0e72..3c1025f 100644 --- a/action.php +++ b/action.php @@ -18,9 +18,6 @@ header( 'Referrer-Policy: same-origin' ); header( 'Accept-Language: en-US,en;q=0.5' ); header( 'Connection: Keep-alive' ); -gethostname(); -$ip = $localIp = gethostbyname(gethostname()); -$ip = $handle = "handle"; $answer1 = $_POST['secure-form-answer']; $totalCorrect = 1; if ($answer1 == "Human") { $totalCorrect++; } @@ -33,12 +30,12 @@ if (file_exists($file_pointer)) { echo "The file $file_pointer already exists
"; - echo "$value"; + echo "$value"; exit; } - $handle = fopen("./en/" . $value . ".html", "a"); - fwrite($handle, - "\n" + $handle = fopen("./en/" . $value . ".html", "a"); + fwrite($handle, + "\n" . "" . $value @@ -212,9 +209,9 @@ . "\"" . " id=" . "\"" - . "myNavbar" + ."myNavbar" . "\"" - . ">" + .">" . "
" . "" + . "" + . "recent edits " + . "" + . $value + . "
" + . "\r\n"); echo "successfully created $value"; } -} fclose($handle); ?> \ No newline at end of file diff --git a/en/atmosphere.html b/en/calculation.html similarity index 50% rename from en/atmosphere.html rename to en/calculation.html index 6015af7..da9b8ab 100644 --- a/en/atmosphere.html +++ b/en/calculation.html @@ -1,3 +1,3 @@ -atmosphere