You are correct. I put the script in the host's CGI-BIN, and I call the script from the HTML page. There is no box. The script will print the question, "What is your name?" Then the script should accept a response to that question. A web user would type in a response, and that response would print immediately after the words, "My name is "

Of course there is no reason for such a dumb script except to test where to put the script (CGI-BIN) and to see that the whole script works.

It never occurred to me that THAT script would need to execute on a local computer or browser. If I ever get by this problem, I will eventually work on a Search Box in HTML and call pre-written script which I already have. I need to feel confident that I know how to modify script and where to put it.

Looks like this test script I copied from the Web was a bad idea. It just leaves me with questions of why it didn't work. I don't really need to use it--just understand why it doesn't work.

Thanks again.

lcole


In reply to Re^2: STDIN refuses input by lcole
in thread STDIN refuses input by lcole

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.