View Full Version : PhP User Login and CSS Integration

09-20-2007, 07:59 PM
Dear Clever People

I have built a CSS+HTML based website for our school parent support, all works, no problems.
Now I would like to add an area that is password protected just so that our PSA members only can get access to docs, pdfs, jpgs, xls etc.
As this login is for our 12 members, it could be 1 generic user account or 1 user account for each member, there is no need for a registration page.

My question is how do i build a php login?
How do I integrate with my CSS elements?
I have a CSS html Login page designed, but i do not have experience with php.
Also, could anyone suggest a way to protect folders/file so that they can not be trawled, manually found?

Please let me know if you have any questions to help understand for a suitable response.
Links to the site can be posted.

Thanks in advance.


09-20-2007, 08:09 PM
My question is how do i build a php login

Twey's PHP & MySQL Version: http://www.twey.co.uk?q=loginscript

CSV Login System: http://www.dynamicdrive.com/forums/showthread.php?t=15134

How do I integrate with my CSS elements?
you can do a linked css stylesheet with the line

<link type="text/css" rel="stylesheet" href="path/to/file.css" media="screen">
in each file html file that you wish to use the stylesheet if you do not already do so.