hi
i have created one page with registration details in one page and i want to login with the registred username and password in another page (like now we are using general wesite regestration and after that login form).so my problem is how i can send this username and password to the next page.this is my problem.
below i am giving my code plz send reply
to that.
and how i can compare in another login page with registration form.PHP Code:<?php
if(isset($_GET['regform'])==('register'))
{
//print_r($_REQUEST);
echo "<html><head><title>registration details</title></head><body bgcolor=\"#CC9966\">";
echo "<h1><center><font color=\"green\">registration details</font></center></h1>";
echo "<table border=\"1\" align=\"center\">";
echo "<TR><TD>username</TD><TD>".$_GET['uname']."</TD></TR>";
echo "<TR><TD>password</TD><TD>".$_GET['pword']."</TD></TR>";
echo "<TR><TD>Address</TD><TD>".$_GET['address']."</TD></TR>";
echo "<TR><TD>State</TD><TD>".$_GET['state']."</TD></TR>";
echo "</table>";
echo "<br><br><br>";
echo "<a href=\"login.php\?uname=sunil&pword=sunrise\">
<center>login here</center></a>";//here is the wrong i think
echo "</body></html>";
}
?>
by
j.sunilkumar





Bookmarks