diff --git a/Consumer/index.php b/Consumer/index.php index 067d310..619ae62 100644 --- a/Consumer/index.php +++ b/Consumer/index.php @@ -1,22 +1,55 @@ + - + - + + + Message Form + +
'; -echo file_get_contents("messages.txt"); + + +echo file_get_contents($filename); + + + echo '
diff --git a/Producer/index.php b/Producer/index.php index 683fd9f..e87f9bd 100644 --- a/Producer/index.php +++ b/Producer/index.php @@ -1,28 +1,61 @@ + - + - + + + Message Form + + '; +if (isset($_SESSION['message'])) { + echo ''; + unset($_SESSION['message']); +} +echo '
+

Message Form

-
-

Registration Form

-
+
- +
-
diff --git a/Producer/register.php b/Producer/send.php similarity index 87% rename from Producer/register.php rename to Producer/send.php index 7f4c4d7..3599ba3 100644 --- a/Producer/register.php +++ b/Producer/send.php @@ -1,5 +1,5 @@