FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Simple membership system needed





DoctorBeaver
What I want is this:-

1) username & password only (I don't need more than those)
2) non-members barred from certain pages
3) members to have access to all parts of the site, and, once logged in, to be able to switch between members and non-members pages without having to sign-in every time they load a members only page.
4) There are some parts of my site that are hosted elsewhere to save space & bandwidth (photo galleries, chatroom, forum, etc) so I don't want members automatically logged out if they go off to 1 of the other parts.

I don't really want to go to the trouble of installing mySQL just for something this basic. What I'd really like is something with ready-made scripts that I can just cut & paste into my pages.
Does anyone know of such a beastie?

And before anyone chastises me, I've done a search through the forums for similar postings but all of them are about mySQL systems.
kv
if you are using apache server, you can use the .htaccess file for password protection. Here is a .htaccess manager script url

http://www.demof.com/PHP/detailed/1197.html

Hope this helps
wumingsden
I seriously doubt that you'd find such a thing that isn't using a database. I've been searching for around 25 minutes and haven't fount anything. Try searching www.hotscripts.com too as its more of a chance that you'll find something that i've missed.


~ Update ~

Fount this http://php.psywerx.net/index.php?router=scripts
It uses flat files so no need for a database

If you were to use a SQL database I'd recommend this:
http://opensource.spidmail.net/pwz_auth/
Rhysige
Ive personally used that flatfile login system before its quite nice and has a good admin interface.
DoctorBeaver
Thanks for your help. I'll check it out. Smile
DoctorBeaver
Right, I've downloaded that & it looks to be exactly what I'm after. However, I found this in the manual:-

Use PHP Include, to include protector_normal.php or
protector_super.php above everything in any file with *.php
extention.

Does that mean I can't use it in normal HTML/CSS pages? I know absolutely nothing about php, but I was under the impression that php includes could be put onto any page.
stinky321
Learn to use edit!!! Don`t double post.
wumingsden
stinky321, not helpful (also check your PM box).

DoctorBeaver to learn about using php in html check these out:

http://php.about.com/od/phpbasics/
http://www.desilva.biz/php/phpinhtml.html


And also a directory full of sites introducing you to php:
http://www.hotscripts.com/PHP/Tips_and_Tutorials/Introduction_to_PHP/index.html
DoctorBeaver
wumingsden - thanks for those links.
I've already had a look at a basic php tutorial & I think I may as well learn it. I've recently started learning Js but I think I'll switch. I didn't realise that creating a php page was simply a matter of renaming it. I've got JSAS on my PC and I've already successfully tried out a few things in php so it looks like all systems go!
wumingsden
DoctorBeaver wrote:
wumingsden - thanks for those links.
I've already had a look at a basic php tutorial & I think I may as well learn it. I've recently started learning Js but I think I'll switch. I didn't realise that creating a php page was simply a matter of renaming it. I've got JSAS on my PC and I've already successfully tried out a few things in php so it looks like all systems go!


I wish you the best of luck, do you want this thread to be locked ?
DoctorBeaver
wumingsden - yeah, you may as well lock it. Thanks again.
Related topics
phpBB Services
Mod's Installed and Custom PHP Scripts Made
I will do anything for frih$ Verry Cheap!
User Membership Script Needed....In Trouble really need 1 !
Php - Basic Encryption site
Simple login system
php page-refresh/redirect/boot help needed please
How can one live without God?
Login System Tutorial Part 1 Creating Registration
VERY simple php script needed
mySQL help needed please.
Could someone create a really simple login system???
Nervous System of Insects and its application
Looking for the best CMS system
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.