This is a wonderful working wrapper for easy sending HTTP Requests. It can support POST, GET, HEADER, and handle all sent cookie data. It parses and reuses cookies once it get's them. You can also retrieve and set cookies. Very simple structure, example:
Code:
Wrapper1.GetWrapper(Address, Refferer)
Code:
Wrapper1.PostWrapper(Address, Data, Refferer)
It's not like an OCX or control so you can easily check out the source if your interested. To use simply add the module and user control to your project. Credits goto Glurak.
Note that the main use of this is retrieving HTML and interacting with the web. Example: I used it to interact with my website when creating a registration for my website. It uses Winsock, so it's preety fast. Any questions, please feel free to ask. Comments welcomed as well.
Age - 15 ::: Level - Advanced
If you find my post useful please ::Rate It::
Thank u for sharing this code . I looked at it but i do now how to use it!could u show me a code that uses this modeul to send data to php page and that php insert the data passed to mysql database. Thanks
well, no matter, it does work although I really don't see the need for it since it isn't that difficult to just do the same thing using your own Winsock.
well, no matter, it does work although I really don't see the need for it since it isn't that difficult to just do the same thing using your own Winsock.
good library but it still doesn't solve my Inet problem..
with Inet.. I can go to websites which require me to be logged in.. and it works.. but with this control it doesn't work.. I have no idea how to setup the cookies which is probably what keeps my logged in
only problem with Inet.. when I do OpenURL() it uses Microsoft URL as User Agent thats all I want to fix.