Jump to content

Recommended Posts

Try this:

Local $sFilePath = @ScriptDir & "\member.ini"

;change to the right URL
;InetGet("http://test.com/member.ini", $sFilePath)

Local $sUserName = IniRead($sFilePath, "UserAndPass", "Username", Default)
Local $sPassword = IniRead($sFilePath, "UserAndPass", "Password", Default)

ConsoleWrite("The user name is: " & $sUserName & @CRLF)
ConsoleWrite("The password is: " & $sPassword & @CRLF)

The ini file I made for testing is called member.ini and looks like this:


Edited by Herb191

Share this post

Link to post
Share on other sites

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...