Skip to content

Commit

Permalink
visit the demo link developer testing updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jehovahsays committed Jun 18, 2024
1 parent eb245e5 commit c6234a2
Show file tree
Hide file tree
Showing 45 changed files with 9,795 additions and 1,096 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
# manual
<br>
<br>
<a href="http://morgansbyers.scienceontheweb.net/index.html">
Visit website to see manual demo</a>
<br>
fix what you find was incorrect.<br>
if you know how to fix it just fix it.<br>
if file exsist php api rest shows link to file.<br>
if file does not exist php api rest creates the file and link.<br>
should i add text to speech back onto the website?<br>
should i add the delete button back to the website?<br>
<br>
welcome to:<br>
<H3>manual</H3><br>
For educational purposes only.<br>
<a href="https://jehovahsays.github.io/manual/map.html">click here to view developer map<a><br>
<a href="https://jehovahsays.github.io/manual/how/map.html">click here</a> to view how the search engine works<br>
hardware: iphone<br>
software: phpwin iphone app<br>
http web server with php<br>
Expand All @@ -20,9 +30,6 @@ no puchase buttons.<br>
my name is morgan shatee' byers,<br>
my number is 770-687-8847<br>
<br>
<a href="http://morgansbyers.scienceontheweb.net/index.html">
Visit website to see manual demo</a>
<br>
<br>
<a href="https://github.com/jehovahsays/manual">
manual github repository</a>
Expand Down
46 changes: 18 additions & 28 deletions action.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<div id='results'>$totalCorrect / 1 correct</div>";
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 <br>";
echo "<meta name='viewport' content='width=device-width'><a href='./en/$value.html'>$value</a>";
exit;
}
$handle = fopen("./en/" . $value . ".html", "a");
fwrite($handle,
"\n"
. "<meta name="
Expand All @@ -60,23 +50,23 @@
. "</title>"
. "<script src="
. "\""
. "../jquery-3.7.1.min.js"
. "../js/jquery-3.7.1.min.js"
. "\""
. "></script>"
. "<script src="
. "\""
. "../bootstrap.min.js"
. "../js/bootstrap.js"
. "\""
. "></script>"
. "<link href="
. "\""
. "../bootstrap.min.css"
. "../css/bootstrap.css"
. "\""
. "rel="
. "\""
. "stylesheet"
. "\""
. ">"
. "></link>"
. "<nav class="
. "\""
. "navbar navbar-inverse"
Expand Down Expand Up @@ -267,7 +257,7 @@
. $value
. "</a></br>"
. "\r\n");
}
echo "<meta name='viewport' content='width=device-width'>successfully created <a href='./en/$value.html'>$value</a>";
}
fclose($handle);
?>
Loading

0 comments on commit c6234a2

Please sign in to comment.