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!


Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Apr 2005
    Location
    Manchester
    Posts
    1,046
    Tokens
    0

    Latest Awards:

    Default Form Processing.

    I cant do this damn form thing. Its driving me madders . I just dont get it can anyone help me i know theres a tut for it but i dnt get it so does anyone have an example they could show me? I found this site where u can get the php free Here! but i just cant work it out. One of those things tht i just dont get. Bit like french could never understand tht @ skool lol. Anyways Plz help me
    Sometimes..
    All you have..
    Is 24 Hours....


    The End...
    Is where we Start from...

  2. #2
    Join Date
    Nov 2004
    Posts
    1,221
    Tokens
    0

    Latest Awards:


  3. #3
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Its simple really all you are doing is saying take the information from the form then collect it together and send it off to your email. You need to know basics of PHP to do it though.


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  4. #4
    Join Date
    Apr 2005
    Location
    Manchester
    Posts
    1,046
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by splintercell!
    You need to know basics of PHP to do it though.
    Hmmm slight problemo there. Any ideas of where i can get a basic quick fix for it instead
    Sometimes..
    All you have..
    Is 24 Hours....


    The End...
    Is where we Start from...

  5. #5
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Ill write you one quickly if you give the the fields you want but only the php bit. Cba writing out the html form


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  6. #6
    Join Date
    Apr 2005
    Location
    Manchester
    Posts
    1,046
    Tokens
    0

    Latest Awards:

    Default

    Yey, wow thankyou

    Name:
    Email:
    Message Subject:
    Details:
    Sometimes..
    All you have..
    Is 24 Hours....


    The End...
    Is where we Start from...

  7. #7
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Ok so its
    PHP Code:
    <?php
    if ($_SERVER['REQUEST_METHOD'] != 'GET'){ 
    $name $_POST['name'];
    $email $_POST['email'];
    $subject $_POST['subject'];
    $message $_POST['message];
    $email = "
    Name: $name /n Email: $email /n Subject: $subject/n Message: $message /n
    ";
    mail("YOUR EMAIL HERE", $subject, $email);
    Header("Location: thanks.html");
    }
    else
    {
    echo "Sorry your message could not be sent. Go back and try again!";
    }
    ?>


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  8. #8
    Join Date
    Apr 2005
    Location
    Manchester
    Posts
    1,046
    Tokens
    0

    Latest Awards:

    Default

    Thankyou soooo much, just one last thing what does this mean?:
    It should start with

    HTML Code:

    <form name="form" id="form" method="post" action="LOCATION.php">
    LOCATION.php being the url of the form handler your using.
    Whats the location just the URL for the site?
    Sometimes..
    All you have..
    Is 24 Hours....


    The End...
    Is where we Start from...

  9. #9
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    uhuh and make a file called thanks.html and just enter a thankyou message saying the message has been submitted etc!


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  10. #10
    Join Date
    Apr 2005
    Location
    Manchester
    Posts
    1,046
    Tokens
    0

    Latest Awards:

    Default

    Okay Great Thanx sooo much +rep
    Sometimes..
    All you have..
    Is 24 Hours....


    The End...
    Is where we Start from...

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
  •