|
|
Posted by Frits van Leeuwen on 08/11/06 11:43
Hello everyone,
I Like to create a site where I can login with a username and a password.
Who can help me step bye step to create it.
I have a site with all HTML. But one file is INDEX.PHP
This is in it:
<html>
<head>
<meta http-equiv="Content-Language" content="nl">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Begin Leeuwendeel.info</title>
<bgsound src="geluiden/lion.wav" loop="0">
<meta name="keywords" content="Leeuwendeel familiewebsite van Leeuwen">
<meta name="description" content="Dit is de beginpagina van
www.Leeuwendeel.info">
<meta http-equiv="Site-Enter"
content="revealTrans(Duration=10.0,Transition=2)">
<meta http-equiv="Site-Exit"
content="revealTrans(Duration=5.0,Transition=3)">
<meta name="Microsoft Border" content="none">
</head>
<body link="#0000FF" vlink="#800080" alink="#00FFFF" text="#FF0000"
bgcolor="#FFFFE1">
<div align="center">
<table border="1" width="100%" id="table1" style="border-width: 0px"
height="530">
<tr><td style="border-style: none; border-width: medium">
<p align="center"><font size="4" face="Monotype Corsiva">Welkom op de
familie-website</font><font face="Monotype Corsiva" size="5"><br>
"Leeuwendeel.info"</font><font size="4" face="Monotype
Corsiva">.</font></p>
<p align="center"><font size="4" face="Monotype Corsiva">Zoals u ziet, zijn
we hard aan het werk, om deze website in de lucht
te krijgen.</font></p>
</td>
<td rowspan="1" style="border-style: none; border-width: medium">
<p align="center">
<img border="0" src="images/underconstruction.gif" width="480"
height="379"></p>
</td>
<td style="border-style: none; border-width: medium">
<p align="center"><span lang="en-gb"><font size="4" face="Monotype
Corsiva">Welcome at the family-website<br>
</font><font face="Monotype Corsiva"
size="5">"Leeuwendeel.info"</font><font size="4" face="Monotype
Corsiva">.</font></span></p>
<p align="center"><span lang="en-gb"><font size="4" face="Monotype
Corsiva">As you can see, we are very busy, to bring
this website online.</font></span></p>
<p> </td>
</tr>
<tr>
<td style="border-style: none; border-width: medium">
<p align="center"><a href="nl/index.htm">
<img border="0" src="knoppen/vlagNL.jpg" width="165" height="100"
alt="Klik hier, wanneer u de site in het Nederlands wilt lezen."></a></td>
<td style="border-style: none; border-width: medium">
<?php
if(isset($naam)){
// als $naam is ingevuld.
echo"U logt in met de naam $naam en als wachtwoord heeft u $wachtwoord .";
}
else{
// als $naam niet is ingevuld.?>
<p align="center">
<form action="index.php" method="get">
<input type="text" name="naam" lenght="50"><br>
<input type="text" name="wachtwoord" lenght="50"><br>
<input type="submit" name="submit" value="Login">
</form>
<?php
}
?>
</td>
<td style="border-style: none; border-width: medium">
<p align="center"><a href="en/index.htm">
<img border="0" src="knoppen/vlagEN.jpg" width="165" height="100"
alt="Click here, when you like to read the website in English."></a></td>
</tr>
</table>
</div>
<p align="center"><font size="1">Laatste wijziging:
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d-%m-%Y"
startspan -->07-08-2006<!--webbot bot="Timestamp" i-checksum="12558"
endspan --></font></p>
</body>
</html>
Navigation:
[Reply to this message]
|