WHen I submit this form it downloads the php script that it refers to. Is it porblem in the code?
HTML:
<form action="control.php" method="post" id="target">
<input id="pass" value="You shall not pass!" name="pass" />
<input type="submit" style="display:none;"/>
</form>
control.php:
<?php
$pass=$_POST["pass"];
?>
Your server sounds like it isn’t configured to serve PHP files properly.