Hello,
I know this is probably a really newbie question. But then again I am
really a newbie.
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 :
<html>
<body bgcolor="blue" text="white">
<center><h1>""</h1></center>
</body>
</html>
Any ideas where I'm going wrong ?
I am not afraid to RTFM if I knew where TFM was :-)
Thanks,
Mark
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]