I am running Apache on a MAC with
$ apachectl start
The index.html is at /Library/WebServer/Documents
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>blah</title>
</head>
<body>
<p>test html file: hello world</p>
<button type="button" name="button" action="contact.php">Press me</button>
</body>
</html>
That page displays in the browser at port 80.
It should call a contact.php file when the button is pressed and this simple echoes a string. But where should I be able to see this string and so be able to check that contact.php is being called and running as expected?
contact.php
<?php
echo "blah1234567890";
?>
Thanks,