Re: CGI output to null?




"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";


.



Relevant Pages

  • CGI output to null?
    ... 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, ...
    (comp.lang.perl.misc)
  • Humble questions for web developers in freebsd.
    ... perl cgi scripts as well. ... trouble installing it, but when I wrote my first ... "Hello World" cgi script, I end up with an internal ... the ownership of the entire apache directory for me to ...
    (freebsd-questions)
  • Re: Perl CGI Issue
    ... I'm having an issue with a perl CGI script. ... In my head, this code should print the output message to stdout, start ... It could be that you are flushing the buffer to the web-server, ...
    (comp.lang.perl.misc)
  • Re: Cant find loadable object
    ... | I am trying to send form data to an email address through a perl ... See the thread 'Local install of modules - no root; no telnet' earlier this month in this ng about ... Amer Neely, Softouch Information Services ...
    (comp.lang.perl.modules)
  • Re: Newbie question - calling perl from html
    ... >feature of most every web browser these days; Perl is not. ... Your Perl script is a CGI script ... by explaining I'd looked at perl scripts for counters, ...
    (comp.lang.perl.misc)