Jump to content

BlueDragonBall

Members
  • Posts

    6
  • Joined

  • Last visited

BlueDragonBall's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. #include <HTTP.au3> #include <IE.au3> $host = "www.google.com" $page = "/imghp?hl=en&tab=wi&q=" ConsoleWrite("Example GET Request:"&@CRLF) $socket = _HTTPConnect($host) ConsoleWrite("Socket Created: "&$socket&@CRLF) $get = _HTTPGet($host, $page, $socket) ConsoleWrite("Bytes sent: "&$get&@CRLF) $recv = _HTTPRead($socket,1) If @error Then ConsoleWrite("_HTTPRead Error: "&@error&@CRLF) ConsoleWrite("_HTTPRead Return Value: "&$recv &@CRLF) Else ConsoleWrite("HTTP Return Code: "&$recv[0]&@CRLF) ConsoleWrite("HTTP Return Response: "&$recv[1]&@CRLF) ConsoleWrite("Number of headers: "&UBound($recv[3])&@CRLF) ConsoleWrite("Size of data downloaded: "&StringLen($recv[4])&" bytes"&@CRLF) ConsoleWrite("Page downloaded: "&@CRLF&$recv[4]&@CRLF) $O_IE = _IECreate() _IEBodyWriteHTML( $O_IE , $recv[4] ) EndIf _HTTPPost($host, $page, $socket, "What should I put here??????" );I want to search for "Prosche" _HTTPClose($socket) If I want to print in console also the headers with values, how can I do? Please help me! I hate arrays. Bye. P.S. I tried with mediafire, but the code gives me only 5 letters, not the whole page!
  2. Yes, I understand, but with this method, the function is in loop! And, I want a method to run the function one time!
  3. How can I make this? But my question is: is there a function like GUIGetMsg() for Gui controls?
  4. I want to know if it is possible to call a function each time the text in an input box change... And, is it possible to do the same thing with radiobutton? Every time it is checked and unchecked... Thanks to all!
  5. Ops.... I didn't read that function... Sorry... (Damn, I read all the function...) Thanks! P.S. Where are the function explanations of _InetGetSource and similars?
  6. Hi to all! I have a problem with inputbox... When I put a number, the variable is considered as string... How can I convert the string in numbers? I use the function GuiCtrlRead... Thanks to all!
×
×
  • Create New...