Httpd forms with?
Is there a way to use forms with c? I have wrote a httpd server app but when i trying to pass a variable between pages (actually funcs) i am failing..
On the other hand, what do you think of using parsing? i mean just parsing 'http://blabla:port/var/1' i know this is easiest way to do but i wonder the forms possibility.
Thanks in advance.
Form data is passed to the server by the web browser as part of the request for the page the form is submitted to. The exact syntax of how the data is passed is different depending on if the form uses GET or POST.
1) Get a hold of an RFC for the HTTP protocol.
2) Set yourself up a real HTTP server, such as with apache. Use something like wireshark to sniff the TCP traffic as you request pages from your browser, and use this sniffing to learn by example. HTTP is a fairly simple protocol.