PDA

View Full Version : Login system




Nicolasdec
Apr 2, 2007, 01:02 PM
Do any of you know a login system which I can add to my site. So I can have a member's area. It will be great if it could be embedded on to my site's template.



tutubibi
Apr 2, 2007, 01:09 PM
.htaccess (assuming Linux host) :)

http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/108479

timmillwood
Apr 2, 2007, 01:09 PM
Do any of you know a login system which I can add to my site. So I can have a member's area. It will be great if it could be embedded on to my site's template.

I always use this one as a guide
http://php.about.com/od/finishedphp1/ss/php_login_code.htm

Nicolasdec
Apr 2, 2007, 01:11 PM
I whould rather use one that is aredy made.

Nicolasdec
Apr 2, 2007, 02:00 PM
please anyone???

jsm4182
Apr 2, 2007, 02:02 PM
I've used the one taught in this book (http://www.amazon.com/PHP-MySQL-Dynamic-Web-Sites/dp/0321336577/ref=pd_bbs_sr_1/103-2442530-2906211?ie=UTF8&s=books&qid=1175536766&sr=8-1). It works great and the code examples can be copied from the author's website.

Nicolasdec
Apr 2, 2007, 02:06 PM
basicly what i whant to do is, have a members area people login in and then they can write post is on there profile were only them can see. so basicly a web version of the post it stickers.

Nicolasdec
Apr 2, 2007, 02:19 PM
dose any one know an easy way to do this??

Mydriasis
Apr 2, 2007, 02:34 PM
You need two files in the folder that you want to password protect:


.htaccess
.htpasswd


Here is an example with the user name being Joe Blow, the password johnnybegood, and the server url /website/main/images.

.htaccess needs to contain:

AuthType Basic
AuthName "Password"
AuthUserFile /website/main/images
require user Joe Blow

.htpasswd needs to have:

Joe Blow:aRYYaJJnmPduA

that last bit of scrambled letter is your encrypted password: there are lots of sites that will encrypt passwords for you, here is one I googled http://www.kxs.net/support/htaccess_pw.html

savar
Apr 2, 2007, 02:34 PM
dose any one know an easy way to do this??

Learn PHP and MySQL, and write it yourself.

I doubt that anybody has already written a "members only post it note" web application.

tutubibi
Apr 2, 2007, 02:42 PM
You can take a look at so many different implementations in various open source software applications.

Just look at Textpattern, dAlbum. Wordpress, Simplog, to name a few.

Or, if you are willing to wait for couple of weeks I will share my implementation once done. PM me what exactly you need.

zimv20
Apr 2, 2007, 02:42 PM
Learn PHP and MySQL, and write it yourself.
the great benefit of that is it'll be immune from all the auto-hacking scripts out there. iow, someone would have to try to hack into that site specifically.


I doubt that anybody has already written a "members only post it note" web application.
joomla w/ CommunityBuilder could handle it. i wouldn't be surprised if other CMS's could, too.

janitorC7
Apr 2, 2007, 11:04 PM
I'm gonna have to say do one of either 2 things. 1. Learn php and sql, do it yourself. 2. Choose a prebuilt solution and edit the code to your needs. (secret option 3. Pay me and I'll do it for you :p)

good luck.

Cooper