Getting "Content-Type: text/html; charset=ISO-8859-1" strings in my pages :(

2007-01-09 Thread peter church
Hi, I have just started to write CGI scripts having spent many years writing perl scripts on unix. My first script seems to have thrown up this gotcha and I am having trouble finding out what I have done wrong and why. My script is designed to create a config file by asking some questions via a

Re: Getting "Content-Type: text/html; charset=ISO-8859-1" strings in my pages :(

2007-01-09 Thread David Dorward
On Tue, Jan 09, 2007 at 09:17:40AM +, peter church wrote: > I start the program with this > my $handler = new CGI; use strict! use warnings! (and you probably want Taint mode on as well). > print $handler->header("text/html"); > print $handler->start_html("Configurations"); I'd avoid the C

cgi.pm form save to .html

2007-01-09 Thread Chris Henderson
I'm trying to make a form using cgi.pm the output of which will be saved to a .html file. But the variables are not parsing correctly. If I put 3 names in 3 different places they all appear together instead of each appearing on each individual section. Here's my code: #!/usr/bin/perl use CGI qw