Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Form Tutorial

  1. #21

    Default Anyone help me?

    Back to the form handler...

    Im creating a DJs message form, and perhaps there is a way or sending this infomation to a blank empty page instead. If so, can you send me the code and let me know if i need to change persmissions to the page im sending it to...
    "Moderator Please like OMGZZPP close dis forum 4 meee!!1"

    "He gave me like OMGZ A RED THINGY rep! so like omgz close this forum and ban him kkz?


    Quote by Dj-Kevin

    Lmao, who was I talking like? Perhaps Dj-Kevin

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

    Latest Awards:

    Default

    you have to write it to a database first


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

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

    Latest Awards:

    Default

    indeed, youd want to probly write to a flat file database, wich is a little more work, for after adding to the db u then need to use a few functions to get the data back out again "/ i may ad a tutoral on that when i get time

  4. #24

    Question Form Handler from who?

    I need it so that the application is sent from the email they typed in. Anyone?
    "Moderator Please like OMGZZPP close dis forum 4 meee!!1"

    "He gave me like OMGZ A RED THINGY rep! so like omgz close this forum and ban him kkz?


    Quote by Dj-Kevin

    Lmao, who was I talking like? Perhaps Dj-Kevin

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

    Latest Awards:

    Default

    Thats easy enogh
    in the form function
    mail("[email protected]", $subject, $messig);

    you wnat to ad the from attrubuted

    $from = "From: EMAIL \r\n";

    Then we want to replace the email with the email varibleentered so

    $from = "From: ".$email." \r\n";

    Then change the final function for form to this, so the from attribute is added

    mail("[email protected]", $subject, $messig, $from);


    In final

    $from = "From: ".$email." \r\n";
    mail("[email protected]", $subject, $messig, $from);

    ps. make sure $email contains the email varible they eneter

Page 3 of 3 FirstFirst 123

Posting Permissions

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