L
lovecreatesbeauty
$ cat /usr/lib/cgi-bin/ex1.c
#!/usr/local/bin/tcc -run
#include <tcclib.h>
int main(void)
{
printf("Content-type: text/html\r\n\r\n");
printf("Hello <a href=\"http://bellard.org/tcc/\">TCC</a> cgi
\n");
return 0;
}
$
Screenshot:
https://gknszq.bay.livefilestore.co...P6NGMFXem425vYBBi4JhJJdC5D/tcc_cgi.JPG?psid=1
#!/usr/local/bin/tcc -run
#include <tcclib.h>
int main(void)
{
printf("Content-type: text/html\r\n\r\n");
printf("Hello <a href=\"http://bellard.org/tcc/\">TCC</a> cgi
\n");
return 0;
}
$
Screenshot:
https://gknszq.bay.livefilestore.co...P6NGMFXem425vYBBi4JhJJdC5D/tcc_cgi.JPG?psid=1