CGI programming in C

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • amitjoshi03

    #1

    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
    -----------------------------------------------------------------------

  • dandelion

    #2
    Re: CGI programming in C


    "amitjoshi0 3" <amitjoshi03.1g a7tp@mail.codec omments.com> wrote in message
    news:1101386168 .h6uRNNdihmTEgv WjBvTeVQ@tng...[color=blue]
    >
    > 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...[/color]

    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.


    Comment

    • Martijn

      #3
      Re: CGI programming in C

      dandelion wrote:[color=blue][color=green]
      >> I am learning to write the CGI programming in C.I need more
      >> information regarding this.[/color]
      >
      > That *wildly* off topic here.[/color]

      Try comp.programmin g

      --
      Martijn



      Comment

      • Materialised

        #4
        Re: CGI programming in C

        dandelion wrote:[color=blue]
        > "amitjoshi0 3" <amitjoshi03.1g a7tp@mail.codec omments.com> wrote in message
        > news:1101386168 .h6uRNNdihmTEgv WjBvTeVQ@tng...
        >[color=green]
        >>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...[/color]
        >
        >
        > 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.
        >
        >[/color]
        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%co rg%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?"

        Comment

        • dandelion

          #5
          Re: CGI programming in C


          "Materialis ed" <Materialised@p rivacy.net> wrote in message
          news:30mc2lF31t o1fU1@uni-berlin.de...[color=blue]
          > dandelion wrote:[color=green]
          > > "amitjoshi0 3" <amitjoshi03.1g a7tp@mail.codec omments.com> wrote in[/color][/color]
          message[color=blue][color=green]
          > > news:1101386168 .h6uRNNdihmTEgv WjBvTeVQ@tng...
          > >[color=darkred]
          > >>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...[/color]
          > >
          > >
          > > Sorry....
          > >
          > > That *wildly* off topic here. If you have any questions on the language[/color][/color]
          'C',[color=blue][color=green]
          > > i'm sure there are plenty of folks willing to assist you. However, CGI[/color][/color]
          is[color=blue][color=green]
          > > not covered.
          > >
          > > Regards,
          > >
          > > dandelion.
          > >
          > >[/color]
          > Why is CGI not covered?[/color]

          Because it's not 'C'.
          [color=blue]
          > Is it not possible to make a CGI application with ANSI/ISO C?[/color]

          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>


          Comment

          • Richard Bos

            #6
            Re: CGI programming in C

            Materialised <Materialised@p rivacy.net> wrote:
            [color=blue]
            > dandelion wrote:[color=green]
            > > "amitjoshi0 3" <amitjoshi03.1g a7tp@mail.codec omments.com> wrote in message
            > > news:1101386168 .h6uRNNdihmTEgv WjBvTeVQ@tng...
            > >[color=darkred]
            > >>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...[/color]
            > >
            > > 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.
            > >[/color]
            > Why is CGI not covered?
            > Is it not possible to make a CGI application with ANSI/ISO C?[/color]

            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

            Comment

            • Randy Howard

              #7
              Re: CGI programming in C [OT]

              In article <1101386168.h6u RNNdihmTEgvWjBv TeVQ@tng>,
              amitjoshi03.1ga 7tp@mail.codeco mments.com says...[color=blue]
              >
              > hi all,
              >
              > I am learning to write the CGI programming in C.I need more information
              > regarding this.[/color]

              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

              Comment

              • Blah

                #8
                Re: CGI programming in C [OT]

                On Thu, 25 Nov 2004 17:27:27 GMT, Randy Howard[color=blue]
                >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.[/color]

                Also check out http://www.boutell.com/cgic/

                Comment

                Working...