Jump to content

External ip address

This topic is 5678 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I was wondering if there was a way that I could extract the external ip address (not the internal ip address). I'm doing this so that I can make a startup script which will always know where the client computer is located (I need to know what city the client computer is in). I was hoping to find that a way that is easiy scalable.

Edited by Guest
Removed Forum added stuff
Link to comment
Share on other sites

do you mean the external IP address of the user? You'll need some OS scripting for this. You could put a page on your web server with some PHP, JavaScript or VBscript on it to get the IP address of the connection, then from inside FM you need some applescript or VBscript to grab hit your webserver and grab the content of the web page.

There are other ways of doing this, but the web page approach is pretty stable.

Link to comment
Share on other sites

I'm planning on using Filemaker 8 to get the external ip address. I don't think the Get(hostipaddress) function will work because I believe it gets your host internal ip address(correct me if I'm wrong).

As far the using the visual basic for applications or applescript (depending on what platform the user has), seems fine as the long as the method is scalable(any pc or mac can access the external ip address). I know that almost every Mac has applescript, but I don't know about vba for pc's.

Oh and of course the actually process of programming applescript or vba to get my external ip , I have no idea how to do. ( my brother does knows php the part though).

Thanks for your input

Link to comment
Share on other sites

This topic is 5678 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.