"Mark Jervis Sr." wrote:
> 
> I am trying to make a form where user input gets output back to another
> html form.
> 
> My script is not erroring out so my log files is clean. But I am missing
> something in my script and have looked for the answers through google but I
> must be typeing in the wrong search words.
> 
> here is a copy of my form on the html page.
> 
> <form action="/cgi-bin/hello.pl" method="get">
> <blockquote><b>Title of site:</b><input name="title" type="text"></blockquote>
> 
> <input type="Submit" name="Submit" value="Submit"><input type="reset">
> 
> </form>
> 
> here is the script I'm sending it to :
> 
> #!/usr/bin/perl
> 
>     print "Content-type: text/html\n\n";
> 
>     print "<html>\n";
>     print "<body bgcolor=\"blue\" text=\"white\">\n";
> 
>     print "<center><h1>";
>     print "\"$FORM{'$title'}\"";
>     print "</h1></center>\n";
> 
>     print "</body>\n</html>\n";
> 
> and here is the output I'm getting :

you need to read in and parse the query string.  try reading

perldoc CGI

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to