Thread: http serevr

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    134

    http serevr

    I am making an http server,
    when a file is requested the content is shown on the browser,
    what I did, I opened the file on the server using:
    Code:
    fopen(file, "r");
    and I send the contet to the client.
    the problem is:
    when I request an html file, the html code of form in the html file is shown on the browser. but I want to see it as form, I mean the rendered HTML document, what change I need to make to get the html form as I want to get , I mean in form of a 'form' not the code.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Http cgi server

    You don't need two threads for the same thing.


    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Http Client
    By DavidDobson in forum C++ Programming
    Replies: 3
    Last Post: 07-19-2010, 04:57 PM
  2. Error stop Http Listener
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 06-04-2008, 02:14 AM
  3. my HTTP request handler code correct?
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 04-25-2008, 04:01 AM
  4. C# HTTP request/response
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 04-02-2008, 06:00 AM
  5. 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