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 6 of 6
  1. #1
    Join Date
    Mar 2006
    Posts
    143
    Tokens
    0

    Default Contact Us Form Script

    I need 1, Post. please.

    +Rep if u do

  2. #2
    Join Date
    Aug 2006
    Posts
    181
    Tokens
    0

    Default

    If you offer a small payment i could code one is easily customisable via CSS, valid XHTML and saves the messages into an Admin Panel

  3. #3
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    www.techtuts.com

    php coding >> near bottom

  4. #4
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    THYBAG.CO.UK the best site around ;P
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  5. #5
    Join Date
    May 2006
    Location
    UK
    Posts
    101
    Tokens
    0

    Default

    Ok here is a contact us script:
    PHP Code:
    <?php
    if ($_POST['submit']){
    $name strip_tags($_POST['name']);
    $email strip_tags($_POST['email']);
    $comments strip_tags($_POST['comments']);
    $ip $_SERVER['REMOTE_ADDR'];
    $to "YOUR EMAIL";
    $subject "Contact us";
    $headers "From: $email";
    $message "Contact us reply:
    Name: 
    $name
    Email: 
    $email
    IP: 
    $ip
    Comments: 
    $comments";
    mail($to,$subject,$message,$headers);
    echo 
    "Sent!";
    }
    else
    {
    ?>
    <form method="post">
    Name: <input type="text" name="name"><br>
    Email: <input type="text" name="email"><br>
    Comments: <textarea name="comments"></textarea><br>
    <input type="submit" name="submit" value="Send!">
    </form>
    <?
    }
    ?>
    Hope this helps!
    • Habbo Status:
    • I look like:

  6. #6
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    Not that hard.. simple mail() function..

    It you want to go really advanced make it insert into a MySQL Database then pull it out and be able to reply to it delete it ETC

Posting Permissions

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