Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
PHP5 & Apache2 - action = php5_script help required
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:
echo $_POST['username'] . "<br>";
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.
0 · ·