You are here: Re: login at a site. « All PHP « IT news, forums, messages
Re: login at a site.

Posted by Flaming Corncob on 08/11/06 12:10

In article <343cc$44dc6d31$c2ab6db8$28574@news1.tudelft.nl>,
"Frits van Leeuwen" <Frits.vanLeeuwen@nospam.nl> wrote:

> 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>
> &quot;Leeuwendeel.info&quot;</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">&quot;Leeuwendeel.info&quot;</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>&nbsp;</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>

I don't think you'll get much help here. I tried, basically wanting to
know the same thing. Might want to try php.net, though if you're like me
you're better off learning from pre-existing code. Seems like everything
is there but unless you know the order of things... it's like piecing
together a puzzle. Had the same problem with sockets until I found raw
code that worked... took it apart and looked at it bit of code piece by
piece.. still don't know EVERYthing about sockets but at least I know
how to go about creating and using them.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация