Jump to content

RBox

Members
  • Posts

    2
  • Joined

  • Last visited

RBox's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I keep trying to use InetGet to read this forum, but unfortunately, I one of my accounts to the site was banned (a misunderstanding between the other forumers and I). The issue has been resolved, but when I try to use InetGet to access said forum, it has me logged into the banned account, and I can't even read the forum. It's strange because when I access the forum, I am already in my new account, but InetGet only gets from the banned one. I think this has something to do with cookies, and how InetGet works, but I have no idea, and was hoping one of you wizzes could help me out. Thanks in advance! EDIT: sorry, as per usual happenings, I figured this problem out a second directly after I posted it. InetGet uses IE cookies, I surf with Firefox. DOY! Could a mod delete this thread?
  2. The _getIP() function in the Inet.au3 file in the Include folder uses an out-of-date site (whatsmyip.com) that's down. I updated it to work with cmyip.com. Here goes: func _getIP() Local $ip If InetGet("http://www.cmyip.com", @TempDir & "\~ip.tmp") Then $ip = FileRead(@TempDir & "\~ip.tmp", FileGetSize(@TempDir & "\~ip.tmp")) FileDelete(@TempDir & "\~ip.tmp") $ip = StringTrimLeft($ip, 36) $ip = StringLeft ($ip, StringInStr($ip, " - CMyIP.com</title>")) Return $ip Else SetError(1) Return -1 Endif EndIf Endfunc Comments?
×
×
  • Create New...