Results 1 to 5 of 5

Thread: Hwo would i fill out a web based form?

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 1999
    Posts
    39

    Red face

    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
    [email protected]
    http://www.hackvp.com
    I may be dumb, but I am not stupid!



  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    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."

  3. #3
    Lively Member
    Join Date
    Jun 1999
    Location
    Garden Grove, CA, USA
    Posts
    110

    Smile 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...
    ngphuocthinh

  4. #4
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Like I said, you need to send the variables in the HTTP request header.
    Harry.

    "From one thing, know ten thousand things."

  5. #5
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    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
  •  



Click Here to Expand Forum to Full Width