Question about obtaing userid

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jeniea
Forum Newbie
Posts: 2
Joined: Mon Feb 07, 2005 9:28 am
Contact:

Question about obtaing userid

Post by jeniea »

If I am having users authenticate through a secure page with a userid and password, how would I go about passing the userid? I have created a post form that emails specific information and also need the userid included. Do you use user_agent for something like this? I've never done this before so any help would be greatly appreciated.
User avatar
PrObLeM
Forum Contributor
Posts: 418
Joined: Sun Mar 07, 2004 2:30 pm
Location: Mesa, AZ
Contact:

Post by PrObLeM »

make it into a session variable

http://www.php.net/session_start
Post Reply