473,324 Members | 2,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

CGI programming in C


hi all,

I am learning to write the CGI programming in C.I need more informatio
regarding this.

Plz let me know any tutorials are avilable online or any other goo
book for this which covers almost all CGI programming aspects such a
attaching files,reading files,etc...

regards,
Ami
-
amitjoshi0
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
-----------------------------------------------------------------------

Nov 14 '05 #1
7 1851

"amitjoshi03" <am****************@mail.codecomments.com> wrote in message
news:1101386168.h6uRNNdihmTEgvWjBvTeVQ@tng...

hi all,

I am learning to write the CGI programming in C.I need more information
regarding this.

Plz let me know any tutorials are avilable online or any other good
book for this which covers almost all CGI programming aspects such as
attaching files,reading files,etc...


Sorry....

That *wildly* off topic here. If you have any questions on the language 'C',
i'm sure there are plenty of folks willing to assist you. However, CGI is
not covered.

Regards,

dandelion.
Nov 14 '05 #2
dandelion wrote:
I am learning to write the CGI programming in C.I need more
information regarding this.


That *wildly* off topic here.


Try comp.programming

--
Martijn
http://www.sereneconcepts.nl
Nov 14 '05 #3
dandelion wrote:
"amitjoshi03" <am****************@mail.codecomments.com> wrote in message
news:1101386168.h6uRNNdihmTEgvWjBvTeVQ@tng...
hi all,

I am learning to write the CGI programming in C.I need more information
regarding this.

Plz let me know any tutorials are avilable online or any other good
book for this which covers almost all CGI programming aspects such as
attaching files,reading files,etc...

Sorry....

That *wildly* off topic here. If you have any questions on the language 'C',
i'm sure there are plenty of folks willing to assist you. However, CGI is
not covered.

Regards,

dandelion.

Why is CGI not covered?
Is it not possible to make a CGI application with ANSI/ISO C?

--
perl -e 'printf %silto%c%sal%c%s%ccodegurus%corg%c, ma, 58, mw, 107,
'er', 64, 46, 10;'
Homer: "And how is education supposed to make me feel smarter? Besides,
every time I learn something new, it pushes some old stuff out of my
brain. Remember when I took that home winemaking course, and I forgot
how to drive?"
Nov 14 '05 #4

"Materialised" <Ma**********@privacy.net> wrote in message
news:30*************@uni-berlin.de...
dandelion wrote:
"amitjoshi03" <am****************@mail.codecomments.com> wrote in message news:1101386168.h6uRNNdihmTEgvWjBvTeVQ@tng...
hi all,

I am learning to write the CGI programming in C.I need more information
regarding this.

Plz let me know any tutorials are avilable online or any other good
book for this which covers almost all CGI programming aspects such as
attaching files,reading files,etc...

Sorry....

That *wildly* off topic here. If you have any questions on the language 'C', i'm sure there are plenty of folks willing to assist you. However, CGI is not covered.

Regards,

dandelion.

Why is CGI not covered?


Because it's not 'C'.
Is it not possible to make a CGI application with ANSI/ISO C?


Sure. Many things are written in 'C' which are not on topic here. The topic
is the *language* C itself, not the many possible applications of that
language. Let alone an interface between an HTTP server and external
applications.

If you have a problem with 'C' while writing your software, you're more than
welcome to pose any question you like.

<snip sig>
Nov 14 '05 #5
Materialised <Ma**********@privacy.net> wrote:
dandelion wrote:
"amitjoshi03" <am****************@mail.codecomments.com> wrote in message
news:1101386168.h6uRNNdihmTEgvWjBvTeVQ@tng...
I am learning to write the CGI programming in C.I need more information
regarding this.

Plz let me know any tutorials are avilable online or any other good
book for this which covers almost all CGI programming aspects such as
attaching files,reading files,etc...


That *wildly* off topic here. If you have any questions on the language 'C',
i'm sure there are plenty of folks willing to assist you. However, CGI is
not covered.

Why is CGI not covered?
Is it not possible to make a CGI application with ANSI/ISO C?


Sure. In fact, it's relatively easy. It's also possible to write a BASIC
interpreter in ISO C, but that doesn't make BASIC on-topic in
comp.lang.c.

The parts of writing a CGI program in C that are actually C are
- read settings from the environment using getenv();
- possibly read input from stdin using fgets(), getchar(), scanf() or
whatever mechanism you prefer;
- write your output to stdout using printf(), puts(), et cetera.

Parsing your input and deciding what it means is CGI, not C - unless you
know _what_ you want to do, but have problems translating it into C. For
example, "What does the variable AUTH_TYPE mean?" is a CGI question, not
C. OTOH, "How do I separate the name and the version number in
SERVER_SOFTWARE?" is a C question (answer: use strchr()).

Richard
Nov 14 '05 #6
In article <1101386168.h6uRNNdihmTEgvWjBvTeVQ@tng>,
am****************@mail.codecomments.com says...

hi all,

I am learning to write the CGI programming in C.I need more information
regarding this.


It's OT as you've already been told. It's also not as widely done today
as it once was, other things being available, but check out "CGI
Programming in C & Perl" by Boutell.
--
Randy Howard (2reply remove FOOBAR)
"For some reason most people seem to be born without the part
of the brain that understands pointers." -- Joel Spolsky
Nov 14 '05 #7
On Thu, 25 Nov 2004 17:27:27 GMT, Randy Howard
It's OT as you've already been told. It's also not as widely done today
as it once was, other things being available, but check out "CGI
Programming in C & Perl" by Boutell.


Also check out http://www.boutell.com/cgic/
Nov 14 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Martin | last post by:
When was inheritance intruduced into object oriented programming? More generally, does anyone know or have any sources on when the different features were introduced into object oriented...
12
by: G. | last post by:
Hi all, During my degree, BEng (Hons) Electronics and Communications Engineering, we did C programming every year, but I never kept it up, as I had no interest and didn't see the point. But now...
3
by: user | last post by:
Hi all, At the outset, I regret having to post this slightly OT post here. However, I strongly feel that people in this group would be the best to advise me on my predicament. I am working as...
134
by: evolnet.regular | last post by:
I've been utilising C for lots of small and a few medium-sized personal projects over the course of the past decade, and I've realised lately just how little progress it's made since then. I've...
7
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already...
30
by: Jakle | last post by:
I have been googling, but can seem to find out about C GUI libraries. My main platform is Windows, but it would be nice to find a cross platform library. I've been programming with php, which...
47
by: Thierry Chappuis | last post by:
Hi, I'm interested in techniques used to program in an object-oriented way using the C ANSI language. I'm studying the GObject library and Laurent Deniau's OOPC framework published on his web...
111
by: Enteng | last post by:
Hi I'm thinking about learning C as my first programming language. Would you recommend it? Also how do you suggest that I learn it?What books/tutorials should I read for someone like me? Thanks...
14
by: deko | last post by:
For building Windows desktop apps, the clear favorite is C#. But my clients can't afford to buy Microsoft products. So I need to develop software for Linux users and web applications. In the...
17
by: CoreyWhite | last post by:
I bought this book years ago, when I was just learning C++. Since then I've gone through every math course offered at my college, taken courses on coding C & thinking in terms how how to make the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.