Jump to content

Login to Password Protected Directories using PHP and MYSQL


Wildhalf

Recommended Posts

Hi All,

My problem is i am new to PHP but understand it. What i am trying to do is create a login using PHP and MySQL.

The database is already made and working for another PHP program i downloaded but the code is encoded and i can't read it.

SO i need help in protecting a directory maybe with .htaccess and using a mysql database with the passwords or is there any other way..

thank you

Kieron
Why is that you need to password protect directories? A login system would usually use sessions.

There are a couple of tutorials on here which could help you:
http://www.phpfreaks.com/tutorials/40/0.php
http://www.phpfreaks.com/tutorials/65/0.php

They show how to create membership systems.
Thank you for your help GingerRobot!

I used http://www.phpfreaks.com/tutorials/40/0.php tutorial. It is missing a few bits and pieces that can be got from the other tutorial.

But i now have the PHP running completely all i have to do is modify the login area and that

thanks again

Kieron

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.