Newbie PHP5 enthusiast here.
Running Apache2 and PHP5 on SuSE Linux 9.1 pro.
Can't configure Apache2 and PHP5 correctly to implement the "noddy" form feedback example using "POST" example.
HTML Form page is:
<?php <br /> echo $_POST['username'] . "
echo $_POST['email'] . "
However! Instead of EXECUTING foo.php and displaying the contents of the input form, the server actually serves the script as a web-page. (i.e. I see the above code in the output!).
I feel that I've got a config error with Apache2 but - being a newbie - it could be with PHP5 instead.
Please could a resident PHP5 guru kick my butt and tell me (gently please!) where I've gone wrong?
Thanks in advance!
Think it through first - then pester someone.