Re: CGI output to null?
- From: "Tintin" <tintin@xxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 22:23:12 +1200
"Thom White" <thom@xxxxxxxxxxxx> wrote in message
news:d9ts0q$mq3$2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi, I hope someone can help with this - I'm rubbish at programming, and
> I'm stuck......
>
> I use a (perl) CGI script to collect form data on our website, and email
> it to me. When it collects the data, it shows a thankyou.html page to the
> visitor. No problem.
>
> Now, I want to alter this script so that it doesn't send anything back (it
> will be accessed from an HTML email), but if I strip out the:
>
> print "Location: /thanks.html", "\n\n";
>
> ..line, I get an Internal Server Error.
>
> Is there a way I can satisfy the script's need to reply, but send the
> information to Null, or whatever? Help?
Not a Perl question (apart from the use of 'print', which I'm sure you can
handle).
print "Content-Type: text/plain\n\n";
.
- Follow-Ups:
- Re: CGI output to null?
- From: Gunnar Hjalmarsson
- Re: CGI output to null?
- From: Thom White
- Re: CGI output to null?
- References:
- CGI output to null?
- From: Thom White
- CGI output to null?
- Prev by Date: CGI output to null?
- Next by Date: Re: any guess why the error message
- Previous by thread: CGI output to null?
- Next by thread: Re: CGI output to null?
- Index(es):
Relevant Pages
|
|