Okay, well ive used a tutorial to do a form mail send thing. But it isnt working, when you press send it takes you to process.php, Heres what ive got the on the index (The form bit):
<form action="process.php" method="post">Username: <input type="text" name="username" size="30" maxlength="30" /><br />Password: <input type="text" name="password" size="30" maxlength="30" /><br />Real Name: <input type="text" name="realname" size="30" maxlength="30" /><br />E-Mail Address: <input type="text" name="email" size="30" maxlength="30" /><br /><input type="submit" name="submit" value="Send" /></form>
Okay that works, but when you press "Send" it takes you to process.php:
<?php@extract($_POST);$username = stripslashes($username);$password = stripslashes($password);$realname = stripslashes($realname);$email = stripslashes($email);mail('name@domain.com',$username,$password,"From: $realname <$email>");header("location:index.html");?>
It isnt meant to take me to that page, its mean to use process.php to send me the stuff that put in and then redirect them to index.html...but its not working...So, is it because ive saved the form as index.htm, do I have to save that as form.php or something? But if I do that, there won't be a index page. Oh my god im confused...please help...