My first test
I have installed MAMP on my MacBook (Mac OS X 10.10). For a first experience I want to use a very simple example:
<!DOCTYPE html> <!-- formDataRead.html -->
<html>
<head>
<meta charset="utf-8" >
<title>A simple HTML form</title>
</head>
<body>
<form action="formDataRead.php" method="GET">
<input type="text" name="user">
<br>
<textarea name="address" rows="5" cols="40"></textarea>
<br>
<input type="submit" value="hit it!">
</form>
</body>
<!-- source: http://www.java2s.com/Code/Php/Form/ASimpleHTMLForm.htm -->
</html>
<html> <!-- formDataRead.php -->
<head>
<title>Reading input from the form</title>
</head>
<body>
<?php
print "Welcome <b>$user</b><P>\n\n";
print "Your address is:<P>\n\n<b>$address</b>";
?>
</body>
</html>
I suppose that the first document may be located anywhere on my disk (the client).
But where is the second document (for the server) to be located?
François