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.
Printable View
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
Well making your way through this lot will no doubt be valuable in the long run.
http://cboard.cprogramming.com/showthread.php?t=41926