This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil MDK5 HTTP server - form input names

Hello there,


I am developing an application using Network Component Version 7.13.1. The application has a HTTP Server and I am using method POST in a several of html pages to submit my device configurations.


Every time that a POST is received by HTTP Server, it calls netCGI_ProcessData(), but I don't know how to find out what form is being submitted.


Should I use unique input names in my html pages even in different forms? Or is there any way to work with different forms with same input names?


Regards,

Murilo

Parents
  • Hi Franc, thanks for your reply! That was the solution I've used. It'd be nice having a function supplyed by the library to find it out without depending of web application. I know that it'd make the firmware application dependent of the file names contained in file system. That is, changing a file name would result in unexpected behavior. It'd not be a problem for compact web server.

Reply
  • Hi Franc, thanks for your reply! That was the solution I've used. It'd be nice having a function supplyed by the library to find it out without depending of web application. I know that it'd make the firmware application dependent of the file names contained in file system. That is, changing a file name would result in unexpected behavior. It'd not be a problem for compact web server.

Children
No data