Click here to Skip to main content
15,897,187 members
Articles / Programming Languages / C++

Webio - An embedded web server

Rate me:
Please Sign up or sign in to vote.
4.88/5 (33 votes)
20 Jul 2008BSD3 min read 197.7K   3.8K   108  
A C-language web server with embedded files and CGI.
<html>
<head>
   <title>Praemio TheAgent</title>
</head>
<body>
<img src="prlogo.gif" >
<br>
<br>
<p>
<h1>
Hello, world!
</h1>
</p>
<center>
<img src="snail.gif" >
<br>
<br>The ssi: 12<!--#include file="ssi1" -->34

<br>
<br>
...and here's a form:<br>
<form name="testform" method=GET action="testaction.cgi" >
<input type=text name="your_name" value="John Bartas" ><br>
<input type=submit >
</form>

<br>
<a href="authtest.html" > And one that requires authentication!</a>
<br>

</body>
</html>


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Chief Technology Officer praemio.com
United States United States
See my bio here:

http://www.bartas.net/resume.htm

Comments and Discussions