-
Form mail help!!!
Does any of you guys know how to do PHP Form mails?
I need some help with it, i have put in a mail.php file on my site (http://pwpowersports.bizhat.com) and when u click submit instead of performing the script the browser will initiate a download of that script.
to all the PHP/HTML whiz kids out there...help!
-
It can help you
Simple Contact Form
1. Make a new directory in your website and called it "contact"
2. Open a new text document, and place the following code into it
<form method="post" action="send.php">
<INPUT TYPE="TEXT" value="[email protected]" NAME="email" size=20>
<INPUT TYPE="TEXT" value="Subject" NAME="subject" size=20>
<TEXTAREA NAME="comments" value="Your Message Here" ROWS=5 COLS=20>Your Message Here</TEXTAREA>
<input type="submit" name="submit" value="Email Me!"> <input type="reset" name="reset" value="Reset">
</form>
Save the file as contact.php and upload it into the same directory and you made earlier (step 1)
3. Make another text document, and insert the following code:
<?php
mail("[email protected]", "$subject", "$email", "$comments");
echo("Thanks $email!
\nBelow shows what was sent
\nSubject: $subject
Email: $email
\nMessage: $comments");
?>
Save that as send.php
4. In that last bit of coding, edit "[email protected]" to show your email address, and your done!
By Arnab Ghosh,
Admin,Mod Studio India.
-
A very easy formmail script, just one file, edit in your email address upload and use!
http://www.mirndtsoft.com/freescripts/MSformmail.zip
-
you can also try form mail from http://www.cj-design.com , it's free and work on bizhat
-
that's the one i am looking for . thank you everybody !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks