you could try the phplib libraries (which as well as authentication implement other things such as database abstraction and templates) There is some overhead involved in getting up to speed with phplib but there is a lot of help out there (in the form of articles, email list etc..) I found phplib very, very valuable to get me started on my first php application (principally using it for the authentication) but have since preferred to write my own authentication code. Going it alone with the authentication does, as you allude to below, involve getting a good handle on sessions. To this and other related ends I would thoroughly recommend the 2 books 'Web Database Applications with PHP & MySQL' and 'Programming PHP' (both O'Reilly titles). Of course a lot of info is out here on the web, but these books are particularly well written, comprehensive and very handy sitting there on the desk while you work. Sorry - not the quick fix solution you request but one that'll help in the longer term.
David "Yc Nyon" <[EMAIL PROTECTED]> wrote in message 000001c2d434$f8be3c80$5340ba66@gis">news:000001c2d434$f8be3c80$5340ba66@gis... > Hi, > > I have looked at many examples session-based of login/password system to > protect webpages but can't get it to work. Seems simple but... I have php > and mysql installed in my windows server. > > If any kind soul can point me to a working (easy) setup of this task, i > would be most grateful. > > Nyon > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php