I have put together the following file and can get it to work.
<html>
<?php
// if the submit button has been pressed
if (isset($POST['submit']))
{
echo "Hi ".$POST['name']."!<br />";
echo "The address ".$_POST['email']." will soon be a spam-magnet!<br />";
}
?>
<form action="c:\Inetpub\wwwroot\Phptest12.php" method="post">
<p>
Name:<br />
<input type="text" name="name" size="20" maxlength="40" value="Name" />
</p>
<p>
Email Address:<br />
<input type="text" name="email" size="20" maxlength="40" value="Email" />
</p>
<input type="submit" name="submit" value="Go!" />
</form>
</html>
In the address line I enter: http://localhost.com/Inetpub/wwwroot/Phptest12.php
I time out. I am using Microsofts IIS
If the previous code is correct and it should work then I am open to ideas what I could be doing wrong.
Thanks for your help. 🙂 🙂