Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 26th, 2006, 11:55 AM   #1
javo
Newbie
 
Join Date: Oct 2006
Posts: 5
Rep Power: 0 javo is on a distinguished road
php registration

hi i'm beginner with php but now i have to learn how to make a website where people will be able to register and to have an access to some pages only when they are logged in , i know that i ought to use 'session', but i have no idea how to do it.

can u please help me with this? thanks

or can u send me some sources ? thank u vey much
javo is offline   Reply With Quote
Old Oct 26th, 2006, 12:06 PM   #2
big_k105
PFO Founder

 
big_k105's Avatar
 
Join Date: Mar 2004
Location: Fargo, ND
Posts: 1,649
Rep Power: 10 big_k105 is on a distinguished road
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
http://us2.php.net/manual/en/ref.session.php

http://www.google.com/search?q=php+%...en-US:official

Those should help you get started if you have anything specific just ask and we can help you out.

besides sessions you are going to need a way to store user info like username and password, I am guess you will probably want to use a database of some sort for this, That way you verify the users when they login via the db. but then the session links I gave above should help with the managing the users sessions.
__________________
BIG K aka Kyle
Programming Forums
Kyle K Online

Please do not PM or email me programming questions. Post them in the forums instead.
big_k105 is offline   Reply With Quote
Old Oct 26th, 2006, 12:14 PM   #3
javo
Newbie
 
Join Date: Oct 2006
Posts: 5
Rep Power: 0 javo is on a distinguished road
yea thanks , i have once read this text but i would be happy to find some script where it's used , some functionaly example, don't u know about something ? thx
javo is offline   Reply With Quote
Old Oct 26th, 2006, 1:14 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Almost any non-trivial book or tutorial. For instance, "PHP and MySQL", Hugh E. Williams & David Lane, O'Reilly. This book develops, as an example, a wine store database. PHP, MySQL, regular expressions, security, sessions (including authentication), PDF reports, and many other topics are covered. It discusses setting things up on multiple platforms, as well. This is the kind of book you can work through from beginning to end, or skip around in as a (less than comprehensive) reference. If you like, you can install the examples and have code to look at and play with. There is no substitute for material at your eyeballs, be it book or online material. Always have handy the PHP manual -- it's very good.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DynDNS for .net/.com? Sane Coder's Corner Lounge 14 Apr 24th, 2006 10:27 PM
Registration form skad Visual Basic 5 Apr 10th, 2006 10:21 AM
Registration Program Dark Flare Knight Java 6 May 28th, 2005 3:18 PM
Variable array problem Hintshigen C 6 Apr 10th, 2005 2:35 PM
Help on Q.. Monkey_features Delphi 10 Feb 8th, 2005 6:00 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:16 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC