Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
02-06-2003, 08:48 PM #1
- Join Date
- Feb 2003
- Reno, NV
- Thanked 0 Times in 0 Posts
[VB6] User Validation with VB6 & MySQL...
Hello everyone. Probably a very newbie question, but here goes anyways.
Here is the code I have thus far...
(I know it's not php....only thing available here though...)
Private Sub Command1_Click()
Dim URL As String
Dim Flags As Long
Dim TargetFrame As String
Dim PostData() As Byte
Dim Headers As String
URL = "http://links2k3.hostingdog.net/version2/validate.php?first=" + firstname + "&last=" + lastname + "&password=" + password
Flags = 0
TargetFrame = ""
PostData = "Information sent to host"
PostData = StrConv(PostData, vbFromUnicode)
Headers = "Content-Type: application/x-www-form-urlencoded" & _
WebBrowser1.Navigate URL, Flags, TargetFrame, PostData, Headers
How do I use that Y or N in the VB Program?
Thanks in advance,
- Troy McCormick