|
-
Apr 17th, 2000, 06:48 AM
#1
Thread Starter
Member
I am trying to fill out the form at:
http://getpaid4.com/cgi-bin/join_3_prelim.cgi
with vb code. any help would be appreciated!
Thanks
-
Apr 17th, 2000, 06:52 PM
#2
Frenzied Member
Well, if you look at the source code of that page, then you can see the form uses the POST method, which means you'll have to send the variables to the next page (the page the submit button takes you to) in the HTTP request header. By looking at the source you can see all the variable names, and you can figure out which is which.
There's a load of JavaScript there too, which to be honest I don't totally understand but you can figure most of what it does. The first bit of JavaScript is all error checking I think, to see if you've entered data in the right format. So that's not a prob as far as I can tell. There's a bit at the bottom, though, that sets a referrer value. Not quite sure what that is, actually, but I'd guess it's checking what page you came from to get to the next page ie. did you go to the next page (the one the submit button takes you to) directly from this page (the one at the URL you posted)?
You could probably just send this variable too, and give it the value the next page is expecting. NOt sure what that value is though.
Anyway, that's a few ideas. I don't actually know how to send customized HTTP requests, so if you know please tell me
Harry.
"From one thing, know ten thousand things."
-
Apr 19th, 2000, 10:36 PM
#3
Lively Member
May i have some line?
Well, if it's the script is using Get method then you just easily use the shellexecute to take you there just like normal except with some variables like "http://www.server.com/script.here?var1=value1&var2=value2&var3=value3 etc... But it uses the Post method so i don't know how you can do this.... no Idea for Post...
-
Apr 19th, 2000, 10:43 PM
#4
Frenzied Member
Like I said, you need to send the variables in the HTTP request header.
Harry.
"From one thing, know ten thousand things."
-
Apr 21st, 2000, 09:12 AM
#5
Frenzied Member
Hey if you have any luck with this then please tell me cos there was a post on this a couple months ago and I tried to help then, too. In fact I think I posted a couple of links to articles on HTTP requests, in case you're actually gonna follow this through.
Harry.
"From one thing, know ten thousand things."
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
|