|
|
Home » U++ Library support » U++ MT-multithreading and servers » CGI-BIN bug with Apache Server
|
Re: CGI-BIN bug with Apache Server [message #28226 is a reply to message #28225] |
Tue, 24 August 2010 09:59 |
|
ratah
Messages: 107 Registered: July 2010
|
Experienced Member |
|
|
It works!
I forgot to close html tag at the end!!
here is the correct code
#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
String ss = "";
ss += "Content-type: text/html";
ss += "<html><head><title>Hello!</title></head><body>";
ss += "Hi man! See my C++ CGI app?!";
ss += "<h1>Good!</h1>";
ss += "</body></html>";
Cout() << ss;
}
[Updated on: Tue, 24 August 2010 09:59] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 05:26:50 CEST 2024
Total time taken to generate the page: 0.03239 seconds
|
|
|