Thread: Using HTTP protocol

  1. #1
    Registered User
    Join Date
    May 2005

    Using HTTP protocol

    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.

  2. #2
    ~viaxd() viaxd's Avatar
    Join Date
    Aug 2003
    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 query looks like this:
    GET /index.htm HTTP/1.1
    User-Agent: Mozilla/3.0 (compatible; Opera/3.0; Windows 95/NT4)

    there's an rfc for http here:
    Last edited by viaxd; 05-21-2005 at 04:41 PM.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Well making your way through this lot will no doubt be valuable in the long run.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 01:58 PM
  2. Error stop Http Listener
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 06-04-2008, 02:14 AM
  3. Writing all HTTP requests from a website to a log file
    By goomyman in forum C# Programming
    Replies: 1
    Last Post: 07-29-2005, 09:18 AM
  4. HTTP Protocol
    By konartis_3000 in forum Tech Board
    Replies: 3
    Last Post: 01-18-2004, 06:09 PM
  5. HTTP Protocol :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 9
    Last Post: 06-21-2002, 03:07 PM