- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI all:
I used boa cgi success in nios2 uclinux. In my cgi application program only use printf() example: printf("Content-type: test/html\n\n"); printf("<HTML><HEAD><TITLE>CGI Test</TITLE></HEAD>\n"); printf("<BODY><H2>CGI test</H2><PRE>\n"); printf("Arguments: %u\n",argc); for(i = 0; i < argc; i++) { printf("Argument %u: %s\n", i, argv[i]); } printf("Query string: %s\n", getenv("QUERY_STRING")); printf("Remote addr: %s\n", getenv("REMOTE_ADDR")); printf("</PRE></BODY></HTML>\n"); But this method is not good. Who can provide onther better method to implement dynamic HTML? thanks a lot. AlexLink Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page