Help with sessions
Posted: Fri Dec 30, 2005 4:10 am
Hi all,
Nice forums you got here.
Moving on, i need help with user management. Im using dreamweaver to create the login/registration pages for my site. (Using PHP and MySQL of course). Now, all works fine and dandy
I want it that when the user logs in, he/she will see something like "Welcome [username]" and a button "Log out [username]". I dont know how to go about doing this. Im sure its very simple. Yet, i couldnt find help.
Also, in the members section, there is an area where users can upload files. In the file upload page, i put the field "Uploader name", and the user has to put his/her name. Im thinking this feild should be automatically filled according to the username of the person logged in.
Im thinking this all depends on sessions. But i have never delt with them.
My website address is http://www.fastfragclan.com
Sorry if the terms i used are not "up to standard". Thats the best i can explain it.
Thanks for any help.
Oh BTW, how do you add a date stamp when the user registers? Currently, im using a feild in the members table which automatically gets filled in when a new record is created. datatype: Timestamp. The problem is that it includes the time with it. Which i dont need.
Nice forums you got here.
Moving on, i need help with user management. Im using dreamweaver to create the login/registration pages for my site. (Using PHP and MySQL of course). Now, all works fine and dandy
I want it that when the user logs in, he/she will see something like "Welcome [username]" and a button "Log out [username]". I dont know how to go about doing this. Im sure its very simple. Yet, i couldnt find help.
Also, in the members section, there is an area where users can upload files. In the file upload page, i put the field "Uploader name", and the user has to put his/her name. Im thinking this feild should be automatically filled according to the username of the person logged in.
Im thinking this all depends on sessions. But i have never delt with them.
My website address is http://www.fastfragclan.com
Sorry if the terms i used are not "up to standard". Thats the best i can explain it.
Thanks for any help.
Oh BTW, how do you add a date stamp when the user registers? Currently, im using a feild in the members table which automatically gets filled in when a new record is created. datatype: Timestamp. The problem is that it includes the time with it. Which i dont need.