Re: HTML/CGI: how do i use POST
Simone Demmel (neko@greenie.muc.de)
Fri, 13 Dec 1996 22:49:08 +0100 (MET)
Message-Id: <m0vYfTg-0008LkC@sleepy.greenie.muc.de>
From: neko@greenie.muc.de (Simone Demmel)
Subject: Re: HTML/CGI: how do i use POST
To: naranjo@watson.ibm.com (Frank Naranjo)
Date: Fri, 13 Dec 1996 22:49:08 +0100 (MET)
Cc: Fred_Deroche_at_corpsoftnorwood4@stream.com, www-html@w3.org,
In-Reply-To: <9612132110.AA19348@chickadee.watson.ibm.com> from Frank Naranjo at "Dec 13, 96 04:10:53 pm"
Hi,
Frank Naranjo wrote:
> dont know why U use MAIL ????
I would say don't ask.. ;)
Anyway, there is something, that sounds strange to me, I'll mark it...
> print MAIL "name=" $contents('name') \n;
^^^^^
I'M not shure, but *what* are you doing there?
didn't perl say anything in tests about these lines?
print MAIL "name= $contents('name') \n";
I would say... without any warenties, I use another format for these
things:
variables from the form:
$args{name}
output:
print MAIL <<EOF;
<html><head><title>...</title></head>
<body>
<h1> hi $args{name} </h1>
</body>
EOF
or, for single lines:
print MAIL "<h1> Hi $args{name} </h1> \n";
does this help perhaps?
One point to add (I don't know what operating system you are using):
- is the program marked as executable?
- does the server support user-cgi-bins? (configuration)
- check permissions of fred.txt. that the Program is allowed to write into
it (under what id are user-scriptng?)
- do a chdir to the right directory, that may help too.
ok, I think, that is the komplete list to check if something doesn't
work... and please, excuse my bad english, I hope you can understand it.
neko
--
Wenn ich schon klicken muss, dann will ich auch ein Bildchen haben ...
(Gert zum fehlen der Bildchen im Directory-Listing vom FTP-WEB-Server)
***
neko@greenie.muc.de Simone Demmel Muenchen (Germany)
Fax.: 089/354 59 80
http://greenie.muc.de/~neko/
Member of The HTML Writers Guild (http://guild.infovav.se/)