hi, how do you make a program that can interact with web sites, for example login in, or filling up forms. hope you guys can understand what i mean. thank you
hi, how do you make a program that can interact with web sites, for example login in, or filling up forms. hope you guys can understand what i mean. thank you
This really ought to go to the Windows board (I assume you're using Wndows?) as this requires the use of OS's API .... for example, in Windows, you have functions to open a URI, read from it, and close it again afterwards.
That's an extremely oversimplistic overview, but that's the kind of thing I think you're looking at.
Without further information, it's difficult to help any further at this stage.
I think you can put a signature here.
http://www.faqs.org/rfcs/rfc2616.html
Everything you need to know. Read it, learn it, love it.
If you understand what you're doing, you're not learning anything.
Another library which you might find useful, if you don't want to do everything yourself
http://curl.haxx.se/
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Are you trying to write a web bot that fills the forums with meaningless messages?
lolness, no im trying to increase my knowledge. the rfc is a long one, i was thinking of a quick tutorial that can make a simple working program. hmm i guess ill look into windows api.
What's wrong with actually learning about what you're trying to use? I love RFCs. Any 12-year old can figure out how to pass some variables to a library function, but I enjoy learning the actual fundamentals of the protocol.
If you understand what you're doing, you're not learning anything.
nothing is wrong with learning about what you're trying to use. i just like it better to have a simple working program then work my way up from there. I dont know, it's just me i guess.
This _might_ be better on the networking forum, but Windows? Yes, you have to use the OS's API in the end, but sockets are (almost) the same on any OS: send(), recv(), etc.Originally Posted by Angoid
To the OP: You can go the long and hard road and learn sockets, which are used to connect/send data through the internet. They can be used for more than just webpages, but for someone who's never used them, doing what you're wanting to do would be extremely difficult.
RFCs, however, are quite useful documents. They're not terribly full of legalese (at least not past my comprehension) and usually describe a protocol in such depth that it's easy to go an write code for it. They're darn useful documents - don't shove them aside.
libcurl: Wow. I'd heard of it, but never knew what it did. I'm going to look into that... looks like fun - there's some HTTP stuff I've wanted to do.
fnoyan: My first web/chat bot retrieved my local area's snow school closings, and echo'd new ones to an AIM chat room. The code was a kludge, but it was fun whenever it IMd.
long time; /* know C? */
Unprecedented performance: Nothing ever ran this slow before.
Any sufficiently advanced bug is indistinguishable from a feature.
Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31.
The best way to accelerate an IBM is at 9.8 m/s/s.
recursion (re - cur' - zhun) n. 1. (see recursion)