I am creating a webserver for LPC2368 with lwIP. I need load a dynamic web page. I want to know how to load variable strings and data using CGI or any other means.

I am developing a webserver for an embedded system using LPC 2368 and lwIP. Basic webserver is working, I have tested it by putting a constant HTML file. Now, I need to load a dynamic web page with a table in which strings vary according to my variables in system. I want to know how to do this. I tried CGI script like, <b><!--#exec cgi="Function"--></b> and I have written the function to return 2 characters for "Function" called. But it is not putting those characters, it is just blank.
rengsonsAsked:
Who is Participating?
 
ahoffmannCommented:
silly question: did you enable CGI_EXEC in your web server?
can you please post your Function
0
 
rengsonsAuthor Commented:
not the right answer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.