irvy has asked for the wisdom of the Perl Monks concerning the following question:
----------------------------- The line print FL "$buffer"; does not work!/usr/bin/perl print <<endHtml; Content-type: text/html\n\n <html><head><title>"Thank You Form</title</head> <body> <h2>Thanks</h2> endHtml if ($ENV{'REQUEST_METHOD'} eq 'POST'){ open (FL, 'feedback.cgi','+>>') || die ("Hello"); read(STDIN,$buffer,$ENV{'CONTENT_LENGTH'}); print FL "$buffer"; print "<br/>$ENV{CONTENT_LENGTH}"; } print "</body></html>";
I cannot get the information into the file feedback.cgi
Is there a particular location i need to specify?
Please help.
irvy
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: my code does not work
by ww (Archbishop) on Apr 17, 2010 at 02:52 UTC | |
|
Re: my code does not work
by ikegami (Patriarch) on Apr 17, 2010 at 04:18 UTC | |
|
Re: my code does not work
by ig (Vicar) on Apr 18, 2010 at 06:44 UTC |