Created
June 21, 2018 12:55
-
-
Save takurx/5cd99d6225a462c15c89c55d282d3f69 to your computer and use it in GitHub Desktop.
C lang. and python hello world CGI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
printf("Content-Type: text/plain\n"); | |
printf("\n"); | |
printf("hello, world!! C Lang. Common Gateway Interface!!"); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
''' | |
文字列(hello world.)を表示する | |
''' | |
print "Content-Type: text/plain" | |
print "hello world! python CGI!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment