...

View Full Version : Creating accounts



ausnrl
07-28-2005, 12:56 PM
I dont know if this is the right forum but anyway.
well if you have something on ya main site where you got to create accoutns how do you do that. i know how to make them login but wat about the creating the accoutns just wanted to know how. and if each user logs in how will i make a index page for each user without doing it one on one. I guess one option is to make the folder e.g if the user was ausnrl id make it a special page and folder for him /ausnrl/ (on the site) but is there a quicker way. i can find out the 2nd later but i am eager to find out the first one first.

thanks ausnrl

mlseim
07-28-2005, 01:07 PM
That involves using a server-side scripting language such as PHP or Perl.

A user logs in and the scripts handle the password processing, setting cookies,
and displaying (or allowing) the proper web pages for that user.

There's usually an administration screen where the site operator can handle
user names, passwords, and accounts.

An alternate method not requiring a server-side script:
Most webhosts have an .htaccess feature installed where the site owner can
set password access on various directories. This approach will cause a
pop-up password box to appear. You just need to give that password to
your user.

ausnrl
07-28-2005, 01:10 PM
i know about the htaccess so do i still have to create a login page for every member? i read somewhere that a mysql database could be used wat happens there?

mlseim
07-28-2005, 03:27 PM
With .htaccess, the directory has a password. Only you know the password, so you would have to give that to the person who needs to access it. They have no control over the password itself, only you can change it.

Now, there's a way to use a server-side language such as PHP (which can use MySQL very nicely). That script would handle all of the .htaccess password stuff automatically, as well as maintaining a user database, login, etc.

You would have to find a "free" script online, or purchase a package of some kind. Using PHP/MySQL has a pretty steep learning curve. Perhaps you can purchase a book or something that has some tutorials. Your webhost also needs to support PHP/MySQL.

ausnrl
07-29-2005, 04:53 AM
With .htaccess, the directory has a password. Only you know the password, so you would have to give that to the person who needs to access it. They have no control over the password itself, only you can change it.

Now, there's a way to use a server-side language such as PHP (which can use MySQL very nicely). That script would handle all of the .htaccess password stuff automatically, as well as maintaining a user database, login, etc.

You would have to find a "free" script online, or purchase a package of some kind. Using PHP/MySQL has a pretty steep learning curve. Perhaps you can purchase a book or something that has some tutorials. Your webhost also needs to support PHP/MySQL.

well it supports them. so baisicly ur saying if i make one page in php right the htaccess will automatically connect with the database. And the htaccess will generate teh special account points etc.

ausnrl
07-29-2005, 07:05 AM
^^ and the one mysql database i use will cover for the users and php ^^

mlseim
07-29-2005, 12:48 PM
Yes,

I'm thinking in the lines of a PHP/MySQL script like some of these:

http://www.google.com/search?hl=en&q=php+mysql+.htaccess+user+script


Some are free, others have a fee. Some are easy to install, others are a bit more advanced. You'll have to pick and choose.

ausnrl
07-29-2005, 02:43 PM
Yes,

I'm thinking in the lines of a PHP/MySQL script like some of these:

http://www.google.com/search?hl=en&q=php+mysql+.htaccess+user+script


Some are free, others have a fee. Some are easy to install, others are a bit more advanced. You'll have to pick and choose.

no i dont think ill need to do it that way caus i found out a htaccess and php code with mysql so i no how to do most of it thanks for ya help. but i will post here if i hav any problems.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum