I have a Fedora 11 server that is running Apache and SELinux is set for Apache to "Allow httpd to use built in scripting(usually php)" enabled.
I use this code to call the script in the next window.
PHP Code:
<html>
<body>
<form action="welcome.php" method="get">
Name: <input type="text" name="fname" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>
</body>
</html>
PHP Code:
<html>
<body>
Welcome <?php echo $_REQUEST["fname"]; ?>!<br />
You are <?php echo $_REQUEST["age"]; ?> years old.
</body>
</html>
When I submit the query the url looks like this
file://///Freekserver.local/html/welcome.php?fname=Rondo&age=40
but the output looks like this
PHP Code:
Welcome !
You are years old.
It should include name and age.
What am I missing?
Thanks Rondo