--- Gunnar Hjalmarsson [EMAIL PROTECTED] wrote:
One web surfer - one web page.
Don't understand what you mean by that.
:)
Well YOU ask THEM to surf to YOUR web site to fill out and HTML page =/
:)
But then you E-MAIL them a reply. Why not just say what you want on
the web page itself?
Bill Jones wrote:
Well YOU ask THEM to surf to YOUR web site to fill out and HTML
page =/
But then you E-MAIL them a reply. Why not just say what you want
on the web page itself?
Believe me - I understand you have a CPAN module for replying via
e-mail (I seen it) - http://search.cpan.org/~gunnar/
--- Randal L. Schwartz [EMAIL PROTECTED] wrote:
Werner == Werner Otto [EMAIL PROTECTED] writes:
Werner $email = param(email);
Do *not* send email to addresses taken from forms. Ever.
HTML + CGI + E-Mail = VeryBadThing...
Well, at any rate, the best place to see if you are listed is at:
--- Gunnar Hjalmarsson [EMAIL PROTECTED] wrote:
one submitted address, the messages are plain text, and the size is
limited). If some idiot would use it for sending unsolicited messages
(has never happened so far), I would know and would be able to take
actions.
The only realistic option is
Bill Jones wrote:
Gunnar Hjalmarsson wrote:
Gunnar Hjalmarsson wrote:
If you want to contact me privately, you can click the link
below. If you fill the form, including your own email
address, and submit it, you'll receive a copy of the message.
That's for your record, for your convenience.
Hi All,
I have this script mentioned below. When I run it from command line:
perl test.cgi all works as it should. When I run it from my browser it
only writes the file displays the confirmation, but does NOT email my
files. From command line everything works.
#!/usr/bin/perl
use CGI
Werner Otto wrote:
I have this script mentioned below. When I run it from command
line: perl test.cgi all works as it should. When I run it from my
browser it only writes the file displays the confirmation, but does
NOT email my files.
snip
my $my_file_gif = 'logo.gif';
snip
my $my_file_zip =
Gunnar Hjalmarsson wrote:
Werner Otto wrote:
I have this script mentioned below. When I run it from command
line: perl test.cgi all works as it should. When I run it from my
browser it only writes the file displays the confirmation, but does
NOT email my files.
snip
my $my_file_gif = 'logo.gif';
Werner Otto wrote:
I would try changing those to full paths. It's not advisable to
rely on an assumption about the working directory. Optionally you
can set the working directory with the chdir() function.
I have changed the path to the full path concerning the files
attachments. Still it doesn't
Gunnar Hjalmarsson wrote:
Werner Otto wrote:
I would try changing those to full paths. It's not advisable to
rely on an assumption about the working directory. Optionally you
can set the working directory with the chdir() function.
I have changed the path to the full path concerning the files
Werner Otto wrote:
Gunnar Hjalmarsson wrote:
If you don't get any error messages, another theory is that it
has something to do with the configuration of the mail server.
You could for instance try to change
my $mail_host = 'smtp.dcs.kcl.ac.uk';
to
my $mail_host = 'localhost';
I can't see
Gunnar Hjalmarsson wrote:
Werner Otto wrote:
Gunnar Hjalmarsson wrote:
If you don't get any error messages, another theory is that it
has something to do with the configuration of the mail server.
You could for instance try to change
my $mail_host = 'smtp.dcs.kcl.ac.uk';
to
my $mail_host =
Werner Otto wrote:
I've tried to change to localhost , no go...
Okay.
Add this line at the top of the script:
use CGI::Carp 'fatalsToBrowser';
Change this line:
$msg-send;
to
$msg-send or die Error sending msg: $!;
--
Gunnar Hjalmarsson
Email:
Gunnar Hjalmarsson wrote:
Werner Otto wrote:
I've tried to change to localhost , no go...
Okay.
Add this line at the top of the script:
use CGI::Carp 'fatalsToBrowser';
Change this line:
$msg-send;
to
$msg-send or die Error sending msg: $!;
Thank you, you are a
Genius...
The
Werner Otto wrote:
Gunnar Hjalmarsson wrote:
Add this line at the top of the script:
use CGI::Carp 'fatalsToBrowser';
The permissions on running.pdf was not correct. It helps if you
know how to debug!
Talking about debugging... You should get the habit of including:
use strict;
use
Gunnar Hjalmarsson wrote:
Werner Otto wrote:
Gunnar Hjalmarsson wrote:
Add this line at the top of the script:
use CGI::Carp 'fatalsToBrowser';
The permissions on running.pdf was not correct. It helps if you
know how to debug!
Talking about debugging... You should get the habit of including:
Gunnar Hjalmarsson wrote:
Werner Otto wrote:
Gunnar Hjalmarsson wrote:
Add this line at the top of the script:
use CGI::Carp 'fatalsToBrowser';
The permissions on running.pdf was not correct. It helps if you
know how to debug!
Talking about debugging... You
Wiggins d Anconia wrote:
Gunnar Hjalmarsson wrote:
Werner Otto wrote:
Gunnar Hjalmarsson wrote:
Add this line at the top of the script:
use CGI::Carp 'fatalsToBrowser';
The permissions on running.pdf was not correct. It helps if you
know how to debug!
Werner Otto wrote:
When I include warnings and strict is give me allot of warnings.
They are not warnings, they are fatal errors.
What do they mean?
They mean that you are using variables without declaring them first.
You should not take those error messages too literally. If you did,
you'd end
Wiggins d Anconia wrote:
snip
When I include warnings and strict is give me allot of warnings. What do
they mean?
h1Software error:/h1
preGlobal symbol quot;$surnamequot; requires explicit package name
at ola.cgi line 15.
snip
ola.cgi had compilation errors.
/pre
p
For
Werner == Werner Otto [EMAIL PROTECTED] writes:
Werner $surname = param(surname);
Werner $name= param(forename);
Werner $email = param(email);
I'm not sure what the rest of the script does, but if you put this on
a form and then send email to that address, you will incur my wrath,
and
Randal L. Schwartz wrote:
Werner == Werner Otto [EMAIL PROTECTED] writes:
Werner $surname = param(surname);
Werner $name= param(forename);
Werner $email = param(email);
I'm not sure what the rest of the script does, but if you put this on
a form and then send email to that
Werner == Werner Otto [EMAIL PROTECTED] writes:
Do *not* send email to addresses taken from forms. Ever.
Werner why is that?
Because you have no authentication of the requestor. Any fool can go
to your website, enter [EMAIL PROTECTED], and all of a sudden, I
get a big PDF shoved down my
Randal L. Schwartz wrote:
Werner Otto writes:
Randal L. Schwartz wrote:
Do *not* send email to addresses taken from forms. Ever.
why is that?
Because you have no authentication of the requestor. Any fool can go
to your website, enter [EMAIL PROTECTED], and all of a sudden, I
get a big PDF shoved
Gunnar Hjalmarsson wrote:
Randal L. Schwartz wrote:
Werner Otto writes:
Randal L. Schwartz wrote:
Do *not* send email to addresses taken from forms. Ever.
why is that?
Because you have no authentication of the requestor. Any fool can go
to your website, enter [EMAIL PROTECTED], and all of a
Camilo == Camilo Gonzalez [EMAIL PROTECTED] writes:
Camilo It may behoove you to send a confirmation email with a link
Camilo that when clicked will opt in a user. This double opt-in
Camilo procedure has become standard operating procedure for
Camilo considerate marketers and an integral part
Camilo Gonzalez wrote:
Gunnar Hjalmarsson wrote:
I think you are exaggerating, Randal. How much convenience are
you ready to sacrifice in order to fight possible abusers?
If you want to contact me privately, you can click the link
below. If you fill the form, including your own email address,
and
Actually, it wasn't too long ago that someone posted a message here
saying HELP Spammers have been using my cgi mailer to mass people and
my ISP is threatening to shut me down!.
When dealing with email.. always taint check and sanitize data. Never
allow someone to post the To or Cc address,
Brad Lhotsky wrote:
Gunnar Hjalmarsson wrote:
If you want to contact me privately, you can click the link
below. If you fill the form, including your own email address,
and submit it, you'll receive a copy of the message. That's for
your record, for your convenience. Personally I think that makes
29 matches
Mail list logo