Just trying to make a user registration page. First of all, I am using WAMP. But I dont think thats the problem. Second, my localhost works, and I even made a stupid Hello World test php file and that worked. So here’s the problem.
After I enter information for the text fields in the registration form, i click submit and a box pops up asking me to open or save the PHP file. Why is it asking me this, why wouldnt it just run the dedicated PHP script?
Here’s the form in the HTML page…
<form action=”register.php” method=”post”>
<div align=”right”>Pick a Username:
<input type=”text” name=”username” size=”50″>
<br>
Pick a Password:
<input type=”password” name=”password” size=”50″>
<br>
Your Email:
<input type=”text” name=”email” size=”50″>
<br>
Age (#):
<input type=”text” name=”age” size=”50″>
<br>
Zipcode (5 digits):
<input type=”text” name=”zipcode” size=”50″>
<br>
Gender:
<select name=”sex” size=”1″>
<option>Male</option>
<option>Female</option>
</select>
<br><br>
</div><p>
<div align=”center”>Registering with us is completely free. With registering with us, you agree and abide by the Privacy Policy and
Rules outlined when using the features of this site such as postings on message boards. </div>
<p align=”center”>
<input name=”submit” type=”submit” value=”Sign Up”>
</form>
any ideas? i even made a sign in script (as if there really was a user that could log in) and that does the same thing.