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
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
+<html lang="pl">
+ <head>
+ <title>It's NewpixbOTTification time!</title>
+ <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2">
+ </head>
+ <body>
+ <h1>It's NewpixbOTTification time!</h1>
+ <form method="get" action="/cgi/npb/npbd">
+ NewpixbOTTify by URL (not ready!)<br>
+ URL:
+ <input type="text" name="inpix" value="http://">
+ <input type="submit" value="NewpixbOTTify!">
+ </form>
+ Please don't hotlink the result. If you do, each time someone sees your link, my server will have to generate the image again!
+ </body>
+</html>
--- /dev/null
+#include <stdio.h>
+int main (int argc, char *argv[])
+{
+ printf("Content-type: text/html\n\n<html><head><title>It's NewpixbOTTification time!</title></head><body><h1>It's NewpixbOTTification time!</body></html>\n");
+ return 0;
+}
\ No newline at end of file