I do not know what flavor or version of linux because I am telnet-ing in to program it.

That's not a problem for many versions of UNIX and UNIX-like OSes. Once you login, simply type uname -a and hit ENTER, and it'll usually give some quasi-cryptic text that'll tell the tale of what OS and version it's running.

I am creating a .cgi on a linux server.

Understood; a lot of us on here use that setup. Rather than dance around the questions, may I second marto's comment? May we ask you, instead, to give us a detailed description of what you're trying to do, what your goal is, what this CGI application should do when it runs? That way, we might be able to point you to an answer that may or may not involve cURL, but might be easier to explain and implement for you, as well as "safer" for you to put on the web, which is a critical point these days.

I know it sounds like a lot of work + "the runaround", but experience shows that sometimes the best answers come from thinking "outside the box". :)

----Asim, known to some as Woodrow.


In reply to Re: Using CURL by Asim
in thread Using CURL by peewee_zz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.