![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2006
Posts: 5
Rep Power: 0
![]() |
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 ![]() |
|
|
|
|
|
#2 |
|
PFO Founder
![]() ![]() |
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. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Oct 2006
Posts: 5
Rep Power: 0
![]() |
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
|
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |