Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem using inet1.execute with post

Status
Not open for further replies.

Jason231

MIS
Apr 15, 2006
43
NL
Hi all .
I tried the following code to pass the 2 char values that i want to post to my php file. I used a php script that normally writes post request to mysql db but in this case it creates a record for both data but no data in. I checked using form post and it worked whell but not in vb6!!could u tell me what is probably wrong?Thanks
Code:
Private Sub Form_Load()

Dim var1 As String
'var1 = "test1=434&test2=3434"
Inet1.Execute "[URL unfurl="true"]http://www.mysite.com/.php?",[/URL] "POST", "test1=hi&test2=no"

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top