Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

Official ZPE/YASS documentationget_ip_remote_address

Official ZPE/YASS documentationget_ip_remote_address

get_remote_ip_address () ⇒ mixed

Attempts to return the current systems IP public/remote address. May return false on failure.

First available: Version 1.9.5

Notes

This predefined function uses the jsonip.com and api.ipify.org services to attempt to fetch information regarding the public IP address of the computer system. First, the function attempts the jsonip.com service and if it fails to fetch information from there it moves to the api.ipify.org service. If both fail it returns a boolean false.

Comments
Feedback 👍
Comments are sent via email to me.