i was wondering if it is possible to create a program that could access a specific internet site. for example to login automatically with a username and password.
Does anyone know how to do this????
10x alot.
i was wondering if it is possible to create a program that could access a specific internet site. for example to login automatically with a username and password.
Does anyone know how to do this????
10x alot.
you make a connection to the web server, then use HTTP to get what you want. if a user/pass is sent using the GET method, then you can put them in the URL, like: http://site.com/logn.php?u=user&p=pass
HTTP query looks like this:
GET /index.htm HTTP/1.1
User-Agent: Mozilla/3.0 (compatible; Opera/3.0; Windows 95/NT4)
Host: site.com
there's an rfc for http here: http://www.faqs.org/rfcs/rfc2068.html
Last edited by viaxd; 05-21-2005 at 04:41 PM.
:wq
Well making your way through this lot will no doubt be valuable in the long run.
http://cboard.cprogramming.com/showthread.php?t=41926
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.