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
Try using a content management system such as http://www.joomla.org Session management is complex and your users won't thank you if the experience is poor.
I have a tutorial on various sites, here: http://www.ddboard.com/forum/tutorials/3579-php-simple-login-form.html You will have to modify it for multiple users and MySQL. I will work on a new tutorial for those.