Shadrik - no online tutorials? Perhaps you searched on the wrong topic.

Google for "php user authentication". Many, many tutorials.

Basically, as Wade said - store your userids and encyrpted passwords 
somewhere, either a database or a flat file in a secure directory on 
your site.

When user logs in, authenticate them against your stored data. Once 
they're authenticated, the common practice is usually to put some 
indicator in a session variable, so each "protected" page can check for 
the required session variable.

As you suspected, it's pretty standard stuff.

Mike


Wade Smart wrote:
>
> 08232007 1646 GMT-6 DST
>
> Try the KISS approach - Keep It Simple Seeker.
>
> First, when you put in their user and pass, you verify them. Their data
> is kept in the db. You'll create a directory, /users (or something else)
> that is protected. After they are verified, your php script will simply
> parse their username to the /users/username directory. Pull whatever
> data as needed.
>
> Dont over think this. Just draw out on paper what you want to accomplish
> and start coding.
>
> wade
>
> Shadrik wrote:
> > Hey there.
> > I just need a pointer in the right direction atm.
> > I want to create a user login area on my site but have no idea where 
> to start or how this is gonna occur.
> > I want a directory for each new user to store their stuff in and for 
> the site to remember who they are and pull /place details from/to a 
> user record in a file as needed.
> >
> > this has been done to death i know. so there must be a standard 
> approach to it. I tried lookin for tutorials but to no avail.
> >
> > any help appreciated.
> > thanks
> >
> > Shad,
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > Community email addresses:
> > Post message: [email protected] 
> <mailto:php-list%40yahoogroups.com>
> > Subscribe: [EMAIL PROTECTED] 
> <mailto:php-list-subscribe%40yahoogroups.com>
> > Unsubscribe: [EMAIL PROTECTED] 
> <mailto:php-list-unsubscribe%40yahoogroups.com>
> > List owner: [EMAIL PROTECTED] 
> <mailto:php-list-owner%40yahoogroups.com>
> >
> > Shortcut URL to this page:
> > http://groups.yahoo.com/group/php-list 
> <http://groups.yahoo.com/group/php-list>
> > Yahoo! Groups Links
> >
> >
> >
> >
>
>  



[Non-text portions of this message have been removed]

Reply via email to