Jump to content


Photo

Help with User login


  • Please log in to reply
2 replies to this topic

#1 diablo12

diablo12
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 10 June 2004 - 01:37 PM

Greetings,
I have a fairly simple login system going on..user signs up for account, if its taken it tells them to choose new login name, if its not taken it creates the account. What i'd like to know is how to I create so when the user logs into the system (Using user name & password), i want to display there FULL Name (Such as how Amazon does). What would I need to use? I'd appreciate any help. Im using Dreamweaver MX - I have a little bit of PHP knowledge - and not too much MYSQL knowledge..just a little bit.

Regards,
Kevin

#2 morpheus.100

morpheus.100
  • Members
  • PipPipPip
  • Advanced Member
  • 145 posts

Posted 17 June 2004 - 11:22 PM

<?php
echo "Welcome ". $_SESSION['username'] ";
?>

Where the session is specified as username this denotes the form field from the information you wish to display.

#3 cSidler.NET

cSidler.NET
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 18 June 2004 - 08:23 AM

<?php
echo "Welcome ". $_SESSION['username'] ";
?>

Where the session is specified as username this denotes the form field from the information you wish to display.

ahh yes but we have to make sure that the session originally starts his login system might just lead them to a normal page, not a page that checks to see if they are logged in!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users