Results 1 to 40 of 87

Thread: Winsock: Making HTTP POST/GET Requests

Threaded View

  1. #11
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Re: Winsock: Making HTTP POST/GET Requests

    hi,well this is a great post but i got a question

    well when i do the operation with your tool i get the code,then i paste it to a text file and then rename it to .html.Then i open the file and i get the page i wanted and it says that im logged in (which is great ) and then automatically it takes me to my documents (which is not so important)

    Then i copied the code that your tool produced

    Code:
    http://www.testforum.org/login.php?username=batori&password=batori&autologin=on&login=Log%2Bin
    and i pasted it in here

    Code:
    Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
    
    Private Sub Form_Load()
    
    Call ShellExecute(0&, vbNullString, "http://www.forum.org/login.php?username=batori&password=batori&autologin=on&login=Log%2Bin", vbNullString, vbNullString, vbNormalFocus)
    
    End Sub
    then my browser open and then i get the message that the specified account does not exist??? hmmmm

    I tought the reason could be the cookies...
    because after i login i must go automatically to a new thread and post the text into a REPLY THREAD and click SUBMIT automatically...
    Last edited by batori; Sep 11th, 2008 at 03:57 AM.

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