Click to See Complete Forum and Search --> : Is this impossible (or just really difficult?) - POSTING
CW-Karel
Oct 7th, 2000, 03:21 PM
U have probably all seen the code of html-forms...
well, there stay sometimes
<form ... method=get ...></form>
this i know how to send in VB [url?var1=val1&var2=val2...]
but my question is now ... how do you do that with the following:
<form ... method=POST ...></form>
?????????????????? POST dude!! ????????????????????
Help me pls! i'm totaly lost :-(
KaReL
ajc
Oct 7th, 2000, 03:30 PM
What is it you want to do?
If you just want to send the data on the form to the server the post method does that. You would simply get that information using the request.form("elementName").
CW-Karel
Oct 7th, 2000, 03:34 PM
I wanna make a kind of own webbrowser... But most of the CGI/PHP/whatever-forms today require that you POST your var's. I know how the GET works ... But not how I can make POST working? U know?
noone
Oct 7th, 2000, 06:01 PM
I manged to do this once with the Winsock control but it's not pretty, you have to to open a connection to the web server on port 80 and then send a request using the HTTP protocol. I guessed how it was set up by using Netcat (http://www.l0pht.com/~weld/netcat/) (One really useful program) to listen on port 80 and see what the webbrowser sent when it did a POST.
This post: http://forums.vb-world.net/showthread.php?threadid=31334
Has an example of the code you would need to use.
CW-Karel
Oct 7th, 2000, 07:59 PM
Many thx noone ;)
this was REALLY helpfull :))
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.