Im looking to set sessions, but because i never used them before can anyone recommend any good tutorials. Im going to be calling up usernames and passwords from the database
If you want, you could look at phpBB's session code and perhaps copy or use it to learn from it.
The file is in the includes folder and the file is sessions.php.
Good luck...
where is the include folder?
Go to www.phpbb.com and download the package. Unpack it and you'll see the main folder phpbb2.0 I think and includes folder is in there.
Go here: http://www.phpfreaks.com/ They've got some great PHP tutorials, including a couple I believe on sessions.
im still confused, thanks for the replys
Can anyone provide me with some code that i could use? the usernames and passwords will be stored in a database.
Everything you need to know specifically is in this tutorial: http://www.phpfreaks.com/tutorials/40/0.php It doesn't get anymore cut and dry.