Problem with PHP
i have installed rhel 6 including ALL the OPTIONAL PACKAGES.
moreover i have made a html file linked to a PHP file in ubuntu, copied it to /var/www/html of rhel 6, and now i want to run it on my RHEL 6, but after pressing submit button in the index.html page the parameter (i.e. the name of as person)passed in html file doesn't appear.
i'm getting the out put as:
"HELLO , PHP IS WORKING!!!"
HTML CODE (file name is index.html):
<form action="test.php" method="post" name="form1">
Your Name : <input type="text" name="name"><br/><br/>
<input type="submit" value="SUBMIT">
PHP CODE(file name is test.php):
HELLO <?php echo $_POST['name']; ?> , PHP IS WORKING!!!