Modify

Opened 15 years ago

Closed 14 years ago

#1933 closed Bug (Fixed)

_GetIP is outdated and could possibly fail.

Reported by: guinness Owned by: Valik
Milestone: 3.3.7.18 Component: Standard UDFs
Version: 3.3.7.9 Severity: None
Keywords: Cc:

Description

_GetIP() in Inet.au3 UDF is outdated, due to Source Code changes with WhatIsMyIP. The www.whatismyip.com site has been updated since _GetIP() was first introduced, therefore if www.checkip.dyndns.org was to fail (downtime) so would www.whatismyip.com. I have updated the Function which now doesn't write to a temporary file & uses the www.whatismyip.com's automation page, plus it uses less lines of code!

Link: http://www.autoitscript.com/forum/topic/123641-getip-getipex/page__view__findpost__p__858868

Attachments (0)

Change History (7)

comment:1 by Jon, 15 years ago

Milestone: 3.3.7.3
Owner: changed from Gary to Jon
Resolution: Fixed
Status: newclosed

Fixed by revision [6013] in version: 3.3.7.3

comment:2 by J-Paul Mesnage, 15 years ago

Resolution: Fixed
Status: closedreopened
Version: 3.3.6.13.3.7.9

THe second part of the fix does not reference a valid link according to the comment it should be
http://automation.whatismyip.com/n09230945.asp

comment:3 by TicketCleanup, 15 years ago

Milestone: 3.3.7.3

Automatic ticket cleanup.

comment:4 by guinness, 15 years ago

This is because they changed the link at the end of May 2011, if you look at the Forum message (http://forum.whatismyip.com/f14/our-automation-rules-t241/) it was last updated on the 25th May 2011. So at the time of posting the updated code the link was valid. Thanks Jpm for noticing this subtle update by WhatIsMyIP.

comment:5 by J-Paul Mesnage, 15 years ago

I hope it will be more stable now

comment:6 by anonymous, 15 years ago

I updated my Example and I've had no problems so far with testing. Hopefull they don't change it again! I know my Version is simple and anyone can do it, but I'm so ecstatic that my Function has been included in Inet.au3.

comment:7 by Valik, 14 years ago

Milestone: 3.3.7.18
Owner: changed from Jon to Valik
Resolution: Fixed
Status: reopenedclosed

Fixed by revision [6238] in version: 3.3.7.18

Modify Ticket

Action
as closed The owner will remain Valik.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.