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.
This is a discussion on Using HTTP protocol within the Networking/Device Communication forums, part of the General Programming Boards category; i was wondering if it is possible to create a program that could access a specific internet site. for example ...
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.
Useful Links And Good Books
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.
I support http://www.ukip.org/ as the first necessary step to a free Europe.