Results 1 to 5 of 5

Thread: Form mail help!!!

  1. #1
    Join Date
    Mar 2005
    Location
    UK
    Posts
    13

    Default 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!

  2. #2
    Join Date
    Mar 2005
    Location
    Kolkata,India
    Posts
    11

    Default 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.

  3. #3
    Join Date
    Feb 2005
    Posts
    14

    Default

    A very easy formmail script, just one file, edit in your email address upload and use!

    http://www.mirndtsoft.com/freescripts/MSformmail.zip

  4. #4
    Join Date
    Feb 2005
    Posts
    18

    Default

    you can also try form mail from http://www.cj-design.com , it's free and work on bizhat

  5. #5
    Join Date
    May 2005
    Posts
    10

    Default

    that's the one i am looking for . thank you everybody !

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •