Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2006
    Posts
    2,593
    Tokens
    0

    Latest Awards:

    Default PHP Contact Form

    I need a PHP contact form with the fields:

    Name:
    Email:
    Subject:
    (drop down lists; Personal, Suggestions, Jobs, Other)
    Message:

    Repx2 for whoever can make me one!

    Email to: [email protected] (not an MSN)

  2. #2
    Join Date
    Sep 2005
    Posts
    1,604
    Tokens
    0

    Latest Awards:

    Default

    I can make on i think ill give it a try

  3. #3
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    I have a tutoral if u are interested in learning how 2 do it yourself "/ http://thybag.co.uk/index.php?p=Tutorials&ind=2

  4. #4
    Join Date
    Feb 2005
    Posts
    5,234
    Tokens
    1,903

    Latest Awards:

    Default

    Your rep power is only 1 ?

    mat64 (Forum Moderator) - Please stay on topic!
    Last edited by mat64; 14-04-2006 at 09:41 PM.
    you can be my daddy


  5. #5
    Join Date
    Oct 2004
    Location
    Derby
    Posts
    790
    Tokens
    1,148

    Latest Awards:

    Default

    Quote Originally Posted by cramop01234
    Your rep power is only 1 ?
    What's that got to do with a contact form o_O



    People who I respect

    RichardKnox | Nets | JoeComins | Raremandan | Embrace | Css | Encryptions!

    I love Christmas too much - Im looking forward to it already!

  6. #6
    Join Date
    Dec 2005
    Posts
    1,733
    Tokens
    201
    Habbo
    Bomb-Head

    Latest Awards:

    Default

    Quote Originally Posted by Rob
    What's that got to do with a contact form o_O
    I was thinking that lol

  7. #7
    Join Date
    Feb 2006
    Location
    Newcastle
    Posts
    397
    Tokens
    0

    Default

    <?php
    // ## Contact Form

    if($_POST['action'] == "send")
    {
    $msg .= "The Habbo Contact\n\n";
    $msg .= "Name: ".$_POST['name']."\n";
    $msg .= "Email: ".$_POST['email']."\n";
    $msg .= "Reason: ".$_POST['reason']."\n";
    $msg .= "Message:\n";
    $msg .= $_POST['message']."\n\n";
    $msg .= "IP: ".$_SERVER['REMOTE_ADDR'];
    mail("[email protected]", "The Habbos Contact", $msg, "From: ".$_POST['email']."\nReply-To: ".$_POST['email']."\n");
    echo '<p align="center">Thankyou for contacting us Your e-mail will be replied to as soon as possible.<br />You are now being redirected to the homepage</p>';
    }
    else
    {
    ?>
    <form action="" method="post">
    <input type="hidden" name="action" value="send">
    <table width="100%" cellspacing="2" cellpadding="0" border="0">
    <tr>
    <td><b>Habbo Name</b></td>
    <td><input type="text" name="name" size="40"></td>
    </tr>
    <tr>
    <td><b>Email Adress</b></td>
    <td><input type="text" name="email" size="40"></td>
    </tr>
    <tr>
    <td><b>Reason for contact</b></td>
    <td>
    <select name="reason">
    <option>PersonalContact</option>
    <option>Suggestions</option>
    <option>Jobs</option>
    <option>Other</option>
    </select>
    </td>
    </tr>
    <tr>
    <td valign="top"><b>Message</b></td>
    <td><textarea name="message" cols="40" rows="4"></textarea></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><input type="submit" value="Submit">&nbsp;<input type="reset" value="Reset"></td>
    </tr>
    </table>
    </form>
    <?
    }
    ?>

Posting Permissions

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