your site to determine the external ip address. - Forum

Forum Navigation
You need to log in to create posts and topics.

your site to determine the external ip address.

There is a desire to raise your site to determine the external ip address.
Like ipinfo.io/ip and ifconfig.me/ip

How to implement this?

@leopold please take a look at the attached sample app. Two possibilities:

Using FileToVar:

FileToVar "http://ifconfig.me/ip" [myip]

Or if you need more control, use neoAjax:

neoAjaxLoad "http://ifconfig.me/ip" "text" "setVariable" "setError"

Regards.

Uploaded files:
  • You need to login to have access to uploads.

@luishp

You are using the external resource ifconfig.me/ip

But you have to do it only with the means of your site.

As a result, you can get the ip address of the computer from the VisualNEO_Win application with the command
InternetGet as it works with ifconfig.me ::
InternetGet "https://ifconfig.me/ip" "[ip]" ""

But you have to do it only with the means of your site.

@leopold sorry, that's only possible with server side scripting.

For example using PHP:
https://stackoverflow.com/questions/3003145/how-to-get-the-client-ip-address-in-php

Regards.