View Single Post
Old 07-14-2004, 06:18 PM   #2 (permalink)
sammy
Code Monkey
 
sammy's Avatar
 
Join Date: Jun 2004
Location: Brooklyn/Rochester
Posts: 53
sammy is on a distinguished road
Send a message via AIM to sammy
Um, you can just use a form which is regular HTML such as this:
PHP Code:
<?
print("<form class=\"pcontent\" name=\"login\" action=\"login.php\" method=\"post\">
                        Login:<input type='text' size='10' name='login'>
                        Password:<input type='password' size='10' name='password'>
                        <input type='Submit' value='Login'>
                        </form>
                                
                "
);
?>
But if you want to process that information, that will require more, like if you want to match the username and password to information in your database or something. In this case, login.php would be the php page that will validate all the users information and you take it from there.
__________________
sammy is offline   Reply With Quote