dynhover
dynhover copied to clipboard
get_public_ip() returning empty string
I was getting an empty string back from the get_public_ip function, but it worked fine once I changed the request target from "http://api.exip.org/?call=ip" to "http://ip.42.pl/raw". There are others that could be used as well, but the one written in currently doesn't seem to be functioning, at least for me.