Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Contact forms

  1. #1
    Join Date
    Sep 2006
    Posts
    1,423
    Tokens
    12,000

    Latest Awards:

    Default Contact forms

    How do I get a contact form on my site like this one?

    http://www.olivierpauwels.com/index.php?page=contact

  2. #2
    Join Date
    Oct 2006
    Posts
    1,026
    Tokens
    0

    Latest Awards:

    Default

    Maybe ask Oli

  3. #3
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    To do that:

    HTML Code:
    <HTML>
    <form name="contact" method="POST"action="process.php">
    <p>Your Name:<br>
        <input type="text" size="45" name="name">
        <br>
        Your E-Mail Address:<br>
        <input type="text" size="45" name="email"><br>
        Subject<br><select name="Subject">
          <option value=" Request a service ">Request a service </option>
          <option value=" Order a template ">Order a template </option>
          <option value=" Report a bug ">Report a bug </option>
          <option value=" Become an affiliate ">Become an affiliate </option>
          <option value=" Webmaster ">Webmaster </option>
        </select><br>Your Messsage:<br><textarea name="message" rows="7" cols="50"></textarea><br><input name="send" type="submit" value="Send"></td></p></form>
    Then make a file called process.php and put this in it:

    PHP Code:
    <?
    $to 
    YOU@YOURADRESS.COM;
    $from $_POST[email];
    $subject $_POST[subject];
    $message $_POST[message];
    mail ("$to""$subject""$message""From: Contact Form<$subject>");
    echo (
    "You have successfully contact us<BR><BR><BR><BR>Coded By Atomic Network Productions");
    ?>
    +rep plz

    Php because im lazy mwuaha

  4. #4
    Join Date
    Sep 2006
    Posts
    1,423
    Tokens
    12,000

    Latest Awards:

    Default

    Hm, I do not understand any of that.
    I'll just get somebody to put it on for me lol.

  5. #5
    Join Date
    Sep 2005
    Posts
    150
    Tokens
    0

    Default

    I may be way past tense here but Carl used to do a PHP Form Handler on Thybag I don't know if he still does and I can't be bothered logging onto MSN to ask him.

  6. #6
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Lol are u on freewebs alex?

  7. #7
    Join Date
    Oct 2006
    Posts
    33
    Tokens
    0

    Default

    Whats wrong with that PHP way.

    Seems fine to me, the process.php page will defenatelly work, it iwll send an email to whatever address you tell it to.

  8. #8
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Question

    Yaahhsss. Im betting hes on freewebs though. Although u can use html to email it, you can't beat php

  9. #9
    Join Date
    Oct 2006
    Location
    Doncaster, UK
    Posts
    1,458
    Tokens
    0

    Latest Awards:

    Default

    She*

    I don't think she is.
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have images in your signature which are over the size limit for your usergroup.

  10. #10
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    oh. Sorry i thought by the name is was a He
    ;p

Page 1 of 2 12 LastLast

Posting Permissions

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