|
-
Jul 17th, 2001, 05:48 PM
#1
Thread Starter
Lively Member
Interfacing VB with CGI scripts
Hi Guys,
I am looking for a way to send messages to a web server running CGI/ PERL scripts.
instead of using my web browser to go to the website and enter my information.
I would like to do this in VB6.0
Is there a way to do this?
Example:
<html>
using the form post method >
<html>
<form action="cgi-bin/post.cgi" method="post">
<input name="phonenumber" type="text" size=10>
<input name="sms" type="text" size=30>
</form>
</HTML>
click on the submit button and info is posted to the server.
I am sure using Winsock this can be achieved.
please let me know your findings.
Thanks in advance.
Elpower
-
Jul 3rd, 2002, 01:20 PM
#2
New Member
hi how to to this in vb.net?
the same i try too
i want with vb.net to "fill out" a form and send the values with POST back to the server.
but how?
-
Jul 3rd, 2002, 02:17 PM
#3
Black Cat
For the POST HTTP verb, you set the Content-length HTTP header to the size of the data you're going to send, then put the same name/value string you'd add to the URL for a GET verb after the double CRLF that ends the HTTP headers. There's RFCs that'll explain this better than I can.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jul 4th, 2002, 09:05 AM
#4
Hyperactive Member
Tutorial?
Hmm..where can I get these RFCs?
Or, where can I get a "Beginners Tutorial" on how to do this kind of stuff? I'm really interested in learning this so if you know of a good tutorial please let me know.
And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|