Side Note: 95% of free webhost don't allow to externally connect to their MySQL databases. You can only connect locally via php scripts on that webhost -> useless with a free webhost. I could sure offer you a MySQL DB with external access, but if it's just this simple login system, go for the textfile thingy above.
And please, encrypt the passwords using md5.
[php]Imports System.Security.Cryptography
Imports System.Text
Public Function MD5StringHash(ByVal strString As String) As String
Dim MD5 As New MD5CryptoServiceProvider
Dim Data As Byte()
Dim Result As Byte()
Dim Res As String = ""
Dim Tmp As String = ""
Data = Encoding.ASCII.GetBytes(strString)
Result = MD5.ComputeHash(Data)
For i As Integer = 0 To Result.Length - 1
Tmp = Hex(Result(i))
If Len(Tmp) = 1 Then Tmp = "0" & Tmp
Res += Tmp
Next
Return Res
End Function[/php]
[php]If MD5StringHash(SeperateWords(1)) = MD5StringHash(txtPassword.text) then
[...][/php]