Link to home
Start Free TrialLog in
Avatar of tf2012
tf2012

asked on

Joomla 2.5 how can I get the remote host IP address?

I'd like assign the visitors ip address to a variable inside a joomla template, is there a function that yields the visitor IP address?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tf2012
tf2012

ASKER

@DaveBaldwin: I tried that already and it came up empty... I'm betting there is a function in Joomla for this.. I'll keep looking too.  

Anyone out there know how to grab the visitor IP address in Joomla?

thanks
Avatar of tf2012

ASKER

duh.. I forgot to echo the value. $_SERVER['REMOTE_ADDR'] works perfectly thx
You're welcome.  Thanks for the points.