![]() |
| | #1 |
| Registered User Join Date: Aug 2007
Posts: 16
| 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 ort/var/1' i know this is easiest way to do but i wonder the forms possibility.Thanks in advance. |
| |HBO| is offline | |
| | #2 |
| int x = *((int *) NULL); Join Date: Jul 2003 Location: Banks of the River Styx
Posts: 902
| 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. Two things: 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.
__________________ long time; /* know C? */ Unprecedented performance: Nothing ever ran this slow before. Any sufficiently advanced bug is indistinguishable from a feature. Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31. The best way to accelerate an IBM is at 9.8 m/s/s. recursion (re - cur' - zhun) n. 1. (see recursion) |
| Cactus_Hugger is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Good introduction to Windows Forms? | jcafaro10 | C# Programming | 1 | 05-19-2009 06:11 PM |
| insert differnt forms in a single form under different tabs? and a textBox question | arian | C# Programming | 2 | 04-02-2009 04:40 AM |
| C# Game using Forms | ejohns85 | C# Programming | 1 | 12-16-2006 05:35 PM |
| Which one :MFC, Win32, Windows Forms (.Net)? | Robert_Sitter | Windows Programming | 6 | 11-17-2005 06:15 AM |
| Redhat 8: HTTPD Service Fails to Start. | Xei | Tech Board | 1 | 03-11-2003 01:59 AM |