User Profile System- Getting Session User ID

Post here is you are having problems with any of the tutorials.
Post Reply
PhParker
Posts: 3
Joined: Sun Feb 05, 2012 6:57 pm

User Profile System- Getting Session User ID

Post by PhParker »

I'm having a problem, as to where I am im trying to define $_SESSION['uid] to equal the current user id logged in, not a manually inputted one. Help?
I know you have to to set the $_SESSION['uid'] variable when the user logs in.
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: User Profile System- Getting Session User ID

Post by jacek »

This other topic might give you an idea of how to do that http://betterphp.co.uk/board/viewtopic.php?f=7&t=955
Image
Post Reply