Hi there, I'm getting this error message:
Error closing sendmail: at /webdocs/docs/clone/cgi-bin/sendoff.cgi line 48.
The email goes through successfully, but still get the error. Any help would
be greatly appreciated!
Thanks heaps.
Here's the snippet of code:
#!/usr/bin/perl -wT
use strict;
u
At 02:51 PM 1/21/02 -0800, Troy May wrote:
>I have an HTML template which gets inserted into a CGI program. I need to
>insert an SSI into it, but when the page is created it will not show up like
>it does with a standard HTML file.
Troy, this is because the server will not parse the page genera
The simple answer is that it won't work. SSI's are handled by the web
server, and the web server will not parse your script output for them, it
will only parse HTML files (or shtml depending on your setup).
I've attached a module we use on occation for this specific purpose. It
includes pod if
Troy,
Not sure why you're doing that. SSI won't work on parsed pages. You're
already generating a page so why not include header.html in your template or
as a heredoc or open it as a filehandle and print it?
-Original Message-
From: Troy May [mailto:[EMAIL PROTECTED]]
Sent: Monday, Janua
Hello,
I have an HTML template which gets inserted into a CGI program. I need to
insert an SSI into it, but when the page is created it will not show up like
it does with a standard HTML file. Do I need to do anything different to
this to execute it correctly so it will work like a standard SSI
Briac:
Thanks so much for all the help and advice. It's great to have a
list like this, and I certainly appreciate the time you took to
answer all my questions. That particular example is A LOT clearer
now, and I learned a lot from your email. Thank you!
Harv Quamen
(P.S. Sorry to take u
--- "Randal L. Schwartz" <[EMAIL PROTECTED]> wrote:
> > "Rene" == Rene Verharen <[EMAIL PROTECTED]> writes:
>
> Rene> The (sub)dirs I want to create are input from a form, so I had to
> Rene> change your example a little because
>
> Rene> my @dir=qw($FORM{'dir'});
>
> No no no! This is
[EMAIL PROTECTED] wrote:
>
> But how to do it with a .zip file?
> I've tried some different 'content-type' with no success...
>
Did you try 'application/zip'?
Cheers
Stephan
--
Dipl.-Chem. Stephan Tinnemeyer
Lindenallee 20
24105 Kiel
Germany
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
I need help to return a winzip-file like I can do with an image like this code.
#!/usr/bin/perl
$source = "image.gif";
$status = "";
$file = "";
open (IMAGE, "<$source") or $status = "File not found!";
$size = -s "$source";
read (IMAGE, $file, $size);
close IMAGE;
if ($status
Hi,
I need help to return a winzip-file like I can do with an image like this code.
#!/usr/bin/perl
$source = "image.gif";
$status = "";
$file = "";
open (IMAGE, "<$source") or $status = "File not found!";
$size = -s "$source";
read (IMAGE, $file, $size);
close IMAGE;
if ($status
10 matches
Mail list logo