-
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
-
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").
-
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?
-
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 (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/showthrea...threadid=31334
Has an example of the code you would need to use.
-
Many thx noone ;)
this was REALLY helpfull :))