Hi,
Thanks.

I had a look to the code.

I assume You refer to httpserver_raw (available in contrib-1.4.0), right?

Generating dynamic pages shouldn't be a huge problem, but I am a bit baffled by 
the POST handling.
I understand I have to implement "err_t httpd_post_receive_data(void 
*connection, struct pbuf *p)", but it's unclear to me how data is encoded in 
pbuf.

This is not really urgent since I'm still struggling to compile & run lwIP core 
onto my hardware, but I would be very grateful if You can point me in the right 
direction.

Thanks and
Best Regards
Mauro

----- Messaggio originale -----
> [email protected] wrote:
> > I understand lwIP webserver is essentially static and thus useless
> > to implement a configuration menu.
> By now, the lwIP server can handle SSI, CGI and POST, so it is
> perfectly
> fit for a web-based configuration menu (which is what I use it for,
> anyway). Unfortunately, I haven't yet found the time to add an example
> how to use it (although CGI and SSI are pretty much self-explaining).
> > Any different approach would be welcome; constraints are it should
> > be small, allow a very limited set of mask elements (checkbox, fixed
> > combo selector, textedit), text-mode menus are ok.
> You can implement all that using the lwIP webserver. There's no
> toolkit-like help (or ready-to-use code), but you can implement check
> boxes, combo boxes and edit fields using SSI (server can device which
> checkbox is ticked) and CGI or POST (for the server to receive
> submited
> input data), you only have to build the web pages on your own.
> 
> Simon
> 
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to