I have following two files in www directory of wamp server. wamp server is installed on vmware.
1.) dogAbduction.html
[code]<html>
<head>
<title>Aliens Abducted Me</title>
<style> td{ width: 250px;
height: 20px;
font-size: 20px;
}
td#ffred{ border: 0;
background-color: #cccc00;
}
td#ffblue{ border: 0;
background-color: #00cccc;
}
td#sf{ border: 1px solid #aaaaaa;
}
input#ip{ width: 250px;
height: 20px;
}
</style>
</head>
<body>
<h2>Aliens Abducted Me – Report an Abduction</h2>
<form action=”abductionForm.php” method=”post”>
<table name=”reportTable”>
<tr><td id=”ffred”>First Name:</td><td id=”sf”><input id=”ip” type=”text” /></td></tr>
<tr><td id=”ffblue”>Last Name:</td><td id=”sf”><input id=”ip” type=”text” /></td></tr>
<tr><td id=”ffred”>What is your email address ?</td><td id=”sf”><input id=”ip” type=”text” /></td></tr>
<tr><td id=”ffblue”>When did it happen ?</td><td id=”sf”><input id=”ip” type=”text” /></td></tr>
<tr><td id=”ffred”>How long were you gone ?</td><td id=”sf”><input id=”ip” type=”text” /></td></tr>
<tr><td id=”ffblue”>How many did you see ?</td><td id=”sf”><input id=”ip” type=”text” /></td></tr>
<tr><td id=”ffred”>Describe them</td><td id=”sf”><input id=”ip” type=”text” /></td></tr>
<tr><td id=”ffblue”>What did they do to you ?</td><td id=”sf”><input id=”ip” type=”text” /></td></tr>
<tr><td id=”ffred”>Have you seen my dog, Dipu ?</td><td id=”sf1″>Yes<input type=”radio” name=”yes” />No<input type=”radio” name=”no”/></td></tr>
<tr><td id=”ffblue”>Anything else to add ?</td><td id=”sf”><input id=”ip” type=”text” /></td></tr>
</table><br />
<input type=”submit” value=”Report Abduction” />
</form>
</body>
</html>
2.) phptest3.html
[CODE]<html>
<head>
</head>
<body>
<!– <form action=”http://localhost/phpTest1.php” method=”POST”> –>
<form action=”phptest3.php” method=”POST”>
<label>When It Happened</label>
<input type=”text” name=”whenithappened” /><br />
<label>How Long</label>
<input type=”text” name=”howlong” /><br />
<input type=”submit” value=”submit”>
</form>
</body>
</html>
When I send http request by typing [url]http://localhost/phptest3.html[url]http://locahost/dogAbduction.html
Why is that ?
When I double click on file name dogAbduction.html , its displaying fine in browser.
Thanks