Skip to content

Commit

Permalink
now the img src is correct
Browse files Browse the repository at this point in the history
Had to manually change the file manual.php to output correct img src
path
  • Loading branch information
jehovahsays committed May 2, 2024
1 parent 43729b7 commit c295768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,4 @@



<img src="../bloom.jpg">bloom</br>
<img src="./bloom.jpg">bloom</br>
2 changes: 1 addition & 1 deletion manual/manual.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class="secured"
$handle = fopen("../index.html", "a"); //open log use "a" to write and grow log no deletion or use "r+" writes 1 line to the log it also deletes log
// php interprets webpage input data $_POST as $variable => $value.
foreach($_POST as $variable => $value) {
fwrite($handle, "<img src=" . "\"" . "./" . "../bloom.jpg" . "\"" . ">" . $value ."</br>" . "\r\n");
fwrite($handle, "<img src=" . "\"" . "./" . "./bloom.jpg" . "\"" . ">" . $value ."</br>" . "\r\n");
}
fclose($handle);
?>
Expand Down

0 comments on commit c295768

Please sign in to comment.