vcherubini
Programmer
Hello Perl world. I have a question that is really quite basic, but is not working the way that I want it to.<br><br>Ok, I have an HTML form that allows the user to input their name, age, etc.<br><br>Then, when submitted, I have it run through a CGI script (PERL of course) so that the contents can be displayed on a new page.<br><br>I have this as the way to collect the data: <br><br><FONT FACE=monospace> $name = $formdata{'name'};<br> $age = $formdata{'age'};<br><br>print "Content-type:text/html\n\n";<br>print <<EOF;<br><br><HTML><br><HEAD><br><TITLE>The contents of your form</TITLE><br></HEAD><br><BODY BGCOLOR=white><br>Your name is: $name<BR><br>Your age is: $age<BR><br></BODY><br></HTML><br>EOF<br><br></font><br><br>Ok, when I run the scrip through the form, all that appears on the page is<br><br>Your name is: <br>Your age is:<br><br>with there being after the words.<br>Can anyone help, could it have to do with my server or code? Is the <FONT FACE=monospace>$formdata{}</font> built in variable out of date and a better one to use?<br><br>Please help.<br><br>Thanks in advanced to anyone who can.<br><br>Vic Cherubini<br>CEO V O I D Interactive