Difference between revisions of "PHP Login"

From KOP KB
Jump to: navigation, search
(Setting up the First Page)
(Setting up the First Page)
Line 1: Line 1:
 
== Setting up the First Page ==
 
== Setting up the First Page ==
 
I name the file myself to mlogin.php but its mostly html thats the function. I made it php so if I needed to do anything with it I can
 
I name the file myself to mlogin.php but its mostly html thats the function. I made it php so if I needed to do anything with it I can
<sytnaxhighlight lang="html4strict">
+
<syntaxhighlight lang="html4strict">
 
<table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
 
<table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
 
<tr>
 
<tr>

Revision as of 22:15, 6 August 2014

Setting up the First Page

I name the file myself to mlogin.php but its mostly html thats the function. I made it php so if I needed to do anything with it I can <syntaxhighlight lang="html4strict">

<form name="form1" method="post" action="clogin.php"> </form>
Member Login
Username : <input name="myusername" type="text" id="myusername">
Password : <input name="mypassword" type="text" id="mypassword">
    <input type="submit" name="Submit" value="Login">

<syntaxhighlight>