Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (29 sloc) 0.859 kb
<HTML>
<HEAD>
<TITLE>Open Space.....Connect,Collaborate,Coordinate.....</TITLE>
</HEAD>
<BODY background="1.jpg" bgcolor="red"<BR>>
<?php
$username = $_POST['username'];
$password = $_POST['password'];
mysql_connect("localhost","root","")
or die ("Login failed");
mysql_select_db("openspace");
$query = mysql_query("SELECT * from `login` WHERE username = '$username' AND password= '$password' ");
if(mysql_affected_rows() == 1)
{
echo '<HTML>
<HEAD>
Open Space
</HEAD><br/>
<BODY>
<A href="page1.php">Open Space.....Click here to connect to your page...</a><br/>
';
}
else
{
echo "USERNAME PASSWORD MISMATCH";
}
?>
</BODY>
</HTML>
Jump to Line
Something went wrong with that request. Please try again.