• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1261
  • Last Modified:

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.
0
rengsons
Asked:
rengsons
1 Solution
 
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.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now