diff --git a/README.md b/README.md index f819a31..26f13ab 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,20 @@ # manual

+ +Visit website to see manual demo +
+fix what you find was incorrect.
+if you know how to fix it just fix it.
+if file exsist php api rest shows link to file.
+if file does not exist php api rest creates the file and link.
+should i add text to speech back onto the website?
+should i add the delete button back to the website?
+
welcome to:

manual


For educational purposes only.
-click here to view developer map
+
click here to view how the search engine works
hardware: iphone
software: phpwin iphone app
http web server with php
@@ -20,9 +30,6 @@ no puchase buttons.
my name is morgan shatee' byers,
my number is 770-687-8847

- -Visit website to see manual demo -

manual github repository diff --git a/action.php b/action.php index 55d8225..d8768b8 100644 --- a/action.php +++ b/action.php @@ -18,32 +18,22 @@ header( 'Referrer-Policy: same-origin' ); header( 'Accept-Language: en-US,en;q=0.5' ); header( 'Connection: Keep-alive' ); -header( 'Location: ./index.html' ); $answer1 = $_POST['secure-form-answer']; - $totalCorrect = 0; + $totalCorrect = 1; if ($answer1 == "Human") { $totalCorrect++; } echo "
$totalCorrect / 1 correct
"; - foreach($_POST as $variable => $value) { - $value = str_replace(' ', '_', $value); - // checking whether file exists or not - - $file_pointer = './en/' . $value . '.html'; - - - - if (file_exists($file_pointer)) - { - - echo "The file $file_pointer exists"; - } - - else - { - - - - - $handle = fopen("./en/" . $value . ".html", "a"); + //The halting problem + foreach($_POST as $variable => $value) { + $value = str_replace(' ', '_', $value); + // checking whether file exists or not + $file_pointer = "./en/" . $value . ".html"; + if (file_exists($file_pointer)) + { + echo "The file $file_pointer already exists
"; + echo "$value"; + exit; + } + $handle = fopen("./en/" . $value . ".html", "a"); fwrite($handle, "\n" . "" . "" . "" . "" + . ">" . "