Jamroom Logo
Newsletter
Member Spotlight
133600
RockAffairs
"The ability for Jamroom to be customized is what makes RockAffairs what it is. Getting the content you need on a page is simple, even for beginners. The admin interface is excellent, and you'll never need to touch the PHP code; Jamroom's inbuilt custom functions combined with Smarty give you everything you'll ever need. And if you do get stuck, customer support and a fantastic community always try to help. Visit RockAffairs, see Jamroom in action, then get it yourself. Rockaffairs *hearts* Jamroom!"
Follow Jamroom on Twitter!


getPostVars Function Index isCached
getRealIp

The getRealIp Function is used for retrieving the "Real" IP Address of a veiwer. This is automatically run on each Jamroom script call and stored as $jamroom['ip_address'], so there's really never a need to call this function - simply reference the variable instead. This function checks the following $_SERVER fields:

  • REMOTE_ADDR
  • HTTP_X_FORWARDED_FOR
  • HTTP_X_FORWARDED
  • HTTP_FORWARDED_FOR
  • HTTP_FORWARDED
  • HTTP_VIA
  • HTTP_X_COMING_FROM
  • HTTP_COMING_FROM
  • HTTP_CLIENT_IP

  • return: Returns Real IP Address.
string getRealIp ()
 Comments
You must be logged in to post a comment
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom Core
Jamroom Addons
Jamroom Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2012 Talldude Networks, LLC.