Quote Originally Posted by batori View Post
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...
It worked for me .Thank you so much . if i wanted to send this http request but don't wanna open the web browser is it possible? it's like kind of get request.