Jamroom Logo Jamroom 5 Core
is now Open Source!
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 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network