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
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