Why should I rely on PHPJabbers.com for all my PHP scripting needs? What do you offer me when buying some script?
  • Top quality scripts
  • Full demo before buying
  • Best pricing
  • Script customization
  • 7 days a week support
  • Installation support
  • Secure buying
  • Make contact form and send email in PHP

    posted on 2006-07-03 00:04:12
    Comments
    Em posted on 2008-04-01 05:14:19
    Thanks so much for this, it worked great!

    Sarah posted on 2008-02-12 10:44:31
    hye dudes....plase help me to install the script above...i try to copy and paste it in site but thr is error..the error is: '') { $ToEmail = 'youremail@site.com'; $EmailSubject = 'Site contact form.......until Your message was sent ...thn form table....

    What must i do..... anyway i am using linux server but i check my server admin....he said the host supporting php codes...pls help...i hv no any idea....


    Andrew posted on 2008-01-10 20:13:18
    Where to put $access_ip = (getenv(HTTP_X_FORWARDED_FOR)) ? getenv(HTTP_X_FORWARDED_FOR) : getenv(REMOTE_ADDR);

    Can you give example for capture ip sender for this form?

    Thanks

    abhilash posted on 2008-01-08 07:39:51
    I run this but there is no error but the problem is the mail is not receieved What to do am using
    Ubuntu 7.10

    Test posted on 2007-12-03 09:28:46
    i got a message \" Failure\"

    Jody posted on 2007-11-29 03:07:40
    Works great! No problems. THANKS!!

    ariel posted on 2007-11-23 11:34:38
    cant send messages

    bryan posted on 2007-11-16 22:40:10
    used the drop down as said can\'t see it in email

    also IE7 pops up with window saying the message has to be resent for my page to refresh (dont see my farm after press send)and still doesnt refresh back to blank form

    TJ posted on 2007-11-12 23:19:54
    Redirect works when you use this before the line, your message was sent

    <?php
    header( 'Location: http://www.yoursite.com/new_page.html' ) ;
    ?>

    chay posted on 2007-11-09 07:11:01
    What will be the from address in this case? I used a coding like this.. I got the mail and evryhting ok.. but I couldnt chnage the from addres.. How to do that
    -------------------
    Veselin: the FROM address is the actual email address typed in the form. This is the exact code which constructs message header
    $mailheader = "From: ".$_POST["email"]."rn";
    $mailheader .= "Reply-To: ".$_POST["email"]."rn";
    However, it is possible that your server does not allow you to change FROM email address. This is usually done to prevent spam.

    Pages:   1 2 3 4 5
       
    If you have any additions, suggestions or modifications for this example please contact us or use the form below.
       
    Your name:
    Your email: (email address will not be posted on the web site)
    Comment:
    Verification