monitor file activity
+ Reply to Thread
Results 1 to 7 of 7

Thread: Need php form processor

  1. #1
    Join Date
    Dec 2007
    Posts
    5

    Need php form processor

    Hi...

    Currecntly working on fake login page for yahoo..
    Most available in google are for feedback forms,contact forms etc

    i dont know how to get the login details passed on php(i dont know which function to use)

    I need a php script which gets the login details from yahoo

    It should have ip address,time and date,yahoo id and password

    it need not have any field for it to directly send email or for any redirections after getting the details

    Guys,help me in this regard

    Thanks

  2. #2
    Join Date
    Sep 2006
    Posts
    1,649
    Well, I'm not gonna make one for you, but I'll give you the resources to make one yourself.

    Learning PHP - Read up on variables, forms, and the basics
    [url]http://www.w*schools.com/php/default.asp[/url]
    "Workers of the world unite; you have nothing to lose but your chains." -Karl Marx

  3. #3
    Join Date
    Dec 2007
    Posts
    5
    Quote Originally Posted by Moonbat View Post
    Well, I'm not gonna make one for you, but I'll give you the resources to make one yourself.

    Learning PHP - Read up on variables, forms, and the basics
    [url]http://www.w*schools.com/php/default.asp[/url]
    Well,im not asking anyone to make a script for me..

    All i need to know is how to pass on the values typed in the login fields to the php ,that is what command should i get the login details to the php script

    Infact i know how to get ip,referrer,agent...these have commands in php,
    similarly i need to know how to ge the lgin details..

    is there anything special,or will it automatically pass on the variable to the phpscript?

  4. #4
    Join Date
    Sep 2006
    Posts
    1,649
    I'll take a page out of w*schools.
    Quote Originally Posted by w*schools PHP Tutorial
    The $_POST variable is used to collect values from a form with method="post".

    The $_POST variable is an array of variable names and values sent by the HTTP POST method.

    The $_POST variable is used to collect values from a form with method="post". Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.
    Example
    Code:
    <form action="welcome.php" method="post">
    Enter your name: <input type="text" name="name" />
    Enter your age: <input type="text" name="age" />
    <input type="submit" />
    </form>
    When the user clicks the "Submit" button, the URL will not contain any form data, and will look something like this:

    [url]http://www.w*schools.com/welcome.php[/url]

    The "welcome.php" file can now use the $_POST variable to catch the form data (notice that the names of the form fields will automatically be the ID keys in the $_POST array):
    [PHP]Welcome <?php echo $_POST["name"]; ?>.<br />
    You are <?php echo $_POST["age"]; ?> years old![/PHP]
    Why use $_POST?

    * Variables sent with HTTP POST are not shown in the URL
    * Variables have no length limit

    However, because the variables are not displayed in the URL, it is not possible to bookmark the page.
    "Workers of the world unite; you have nothing to lose but your chains." -Karl Marx

  5. #5
    Join Date
    Dec 2007
    Posts
    5
    Quote Originally Posted by Moonbat View Post
    I'll take a page out of w*schools.
    @Moonbat,

    So is it enough that if i mention the id fields in that php script(in my case,Yahoo id and Password),

    Will user typed details be copied to the php if the above is done?

  6. #6
    Join Date
    Sep 2006
    Posts
    1,649
    You'll have to assign the things in the form to a variable, then either mail them to yourself or write them to a file.
    "Workers of the world unite; you have nothing to lose but your chains." -Karl Marx

  7. #7
    Join Date
    Dec 2007
    Posts
    5
    Thanks,will try it out and get back to u incase of any queries

+ Reply to Thread

Similar Threads

  1. Email form !!! script
    By kompress0r in forum Programming
    Replies: 2
    Last Post: 04-05-2007, 08:47 PM
  2. Help me with my first html form :-)
    By Roar! in forum Programming
    Replies: 2
    Last Post: 01-30-2007, 10:14 PM
  3. Can anyone hack Robo Form?
    By nokluiswed in forum Internet Privacy
    Replies: 0
    Last Post: 08-23-2005, 09:29 AM

Posting Permissions

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