PDA

View Full Version : Login.php


Necrosis
01-22-2006, 08:19 AM
Well i need to put a php script in this. Could someone do it for meh since i'm failing badly at each attempt =/
I also need to make sessions and i have no php.ini =/
I really need BIG help as i'm failing at it badly. i've tried 20 or so times before i could even do this.

<?php
include 'header.php';
?>
<td width="1" bgcolor="FFFFFF"></td>
<td class="navSide"></td>
<td width="1" bgcolor="F0F0F0"></td>
<td width="550" bgcolor="FFFFFF" valign="top" align="right">
<table width="535" border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="3" width="535" height="12" bgcolor="FFFFFF"></td></tr>
<tr>
<td colspan="3" width="535" class="box">
&nbsp;&nbsp;<span style="color:808080">...::: LOGIN :::...</span>
</td>
</tr>
<td colspan="3" width="535" height="7" bgcolor="FFFFFF"></td></tr>
<tr>
<td width="15" bgcolor="FFFFFF"></td>
<td>
<table width="505" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="15"></td>
<td width="300" class="content">
<div align="right">
Enter your login information below to play!
<span style="line-height:1em;font-size:6px"><br><br></span>
<form method="POST" action=login.php>
<center><font style=tahoma size=2>Username: </font><input name="uid" type="number"></center></br>
<center><font style=tahoma size=2>Password: </font><input name="pass" type="password"></center></br>
<center><input type="submit" value="Login!"></center></br>
</div>
</td>
</tr>
<td width="15" bgcolor="FFFFFF"></td>
</tr>
<td width="15" bgcolor="FFFFFF"></td>
</tr>
<tr><td colspan="3" width="535" height="20" bgcolor="FFFFFF"></td></tr>
</table>
</td>
</tr>
</table>
<br></br>
<br></br>
<br></br>
<br></br>
<br></br>
<br></br>
<table width="750" border="0" cellpadding="0" cellspacing="0">
<tr><td width="750" height="1" bgcolor="F0F0F0"></td></tr>
<tr>
<td width="750" height="21" bgcolor="DDDDDD" class="topNavGray" align="right">
COPYRIGHT © Necrosis. All rights reserved.
</td>
</tr>
<tr><td width="750" height="1" bgcolor="FFFFFF"></td></tr>
<tr><td width="750" height="3" bgcolor="AAAAAA"></td></tr>
</table>
</div>
</body>

</html>

Velox Letum
01-22-2006, 11:07 AM
No, we won't do it for you. We'll assist you in doing it yourself, but most of us won't do it for you. You have no php.ini? Well PHP will work anyways, but even then you could just write one, copy one, download one. If you want to learn how to do this, search for a tutorial on Google on how to create a user authentication system.

degsy
01-22-2006, 02:55 PM
http://www.phpfreaks.com/tutorials/40/0.php

Necrosis
01-24-2006, 02:34 PM
Yes... i know my script is still having errors of some sort. I guess i'll have to go to another forum =/