From: b Date: Sun, 29 Dec 2013 22:22:02 +0000 (+0000) Subject: How about some CGI ? X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=99230bb5ddea26d0f317dacdcc9addf7b0b58333;p=ott%2Fenhance How about some CGI ? git-svn-id: svn://botcastle1b/npb@16 0d794883-4e4e-4f65-aa7a-0e7f5947bab5 --- diff --git a/makefile b/makefile index 08ab0f3..255abba 100644 --- a/makefile +++ b/makefile @@ -1,8 +1,12 @@ CC=g++ CF=-g -Wall LF=-lIL +LF2=-lcgi -all: npb +all: npb npbd npb: npb.cpp makefile $(CC) $(CF) $(LF) -o npb npb.cpp + +npbd: npb npbd.cpp makefile + $(CC) $(CF) -o npbd npbd.cpp diff --git a/npb b/npb index ac27a5b..8b76126 100755 Binary files a/npb and b/npb differ diff --git a/npb.htm b/npb.htm new file mode 100644 index 0000000..38eab71 --- /dev/null +++ b/npb.htm @@ -0,0 +1,17 @@ + + + + It's NewpixbOTTification time! + + + +

It's NewpixbOTTification time!

+
+ NewpixbOTTify by URL (not ready!)
+ URL: + + +
+ Please don't hotlink the result. If you do, each time someone sees your link, my server will have to generate the image again! + + diff --git a/npbd b/npbd new file mode 100755 index 0000000..947d9d0 Binary files /dev/null and b/npbd differ diff --git a/npbd.cpp b/npbd.cpp new file mode 100644 index 0000000..920b154 --- /dev/null +++ b/npbd.cpp @@ -0,0 +1,6 @@ +#include +int main (int argc, char *argv[]) +{ + printf("Content-type: text/html\n\nIt's NewpixbOTTification time!

It's NewpixbOTTification time!\n"); + return 0; +} \ No newline at end of file