Jump to content


Photo

storing an ip


  • Please log in to reply
2 replies to this topic

#1 BillyBoB

BillyBoB
  • Members
  • PipPipPip
  • Advanced Member
  • 630 posts

Posted 15 July 2006 - 08:03 AM

i want to store the users ip in a table called profile and a colum called ip
is there a way so when the user logs in it stores there ip?

#2 akitchin

akitchin
  • Staff Alumni
  • Advanced Member
  • 2,516 posts
  • LocationCalgary, AB, Canada

Posted 15 July 2006 - 08:52 AM

look up $_SERVER['REMOTE_ADDR'] in the manual.

#3 BillyBoB

BillyBoB
  • Members
  • PipPipPip
  • Advanced Member
  • 630 posts

Posted 15 July 2006 - 09:02 AM

ok will do





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users