warnings;
in the beginning. You can always work around warnings and strictures if
that is really what you want, but it's useful to be explicit in those
cases, unless we're talking about one-liners or little scripts where
being too explicit would make them less clear.
--
ZSDC Perl and Systems Security
then
install all at once later after you upgrade perl on your system or
anywhere else.
See: perldoc CPAN
http://search.cpan.org/search?module=CPAN
--
ZSDC Perl and Systems Security Consulting
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http
(fatalsToBrowser warningsToBrowser);
--
ZSDC Perl and Systems Security Consulting
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
have posted, so I suspect that there are much more in your full
programs. If you want more help with them, please contact me privately
off-list, I might see what I can do.
--
ZSDC Perl and Systems Security Consulting
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
. Watch out for whitespace.
--
ZSDC
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
Camilo Gonzalez wrote:
zsdc wrote:
Tracy Hurley wrote:
Camilo,
I don't think you need to put $email in quotes to do the check, but
it works if you do. Try this:
if $email =~/@.*@/g || $email =~ /\n/s;
It still might not be secure depanding on how $email is being used
later. Is it used
, like name and address. You
might need to write your own handler, but it's very easy. Here's an
example from the CGI::Untaint documentation, to match a single digit:
package Mysite::CGI::Untaint::digit;
use base 'CGI::Untaint::object';
sub _untaint_re { qr/^(\d)$/ }
1;
--
ZSDC
--
To unsubscribe, e
or ca in its country
field. You have to tune it to your own file format.
--
ZSDC
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
[EMAIL PROTECTED] wrote:
I need to send a mail from the cgi. It must be able to have a reply or
sender as someone different from the local web owner (apache).
See http://search.cpan.org/modlist/Mail_and_Usenet_News/Mail
--
ZSDC
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
is not guaranteed to work. The whole
codegen suite (perlcc included) should be conĀ sidered very
experimental. Use for production purposes is strongly discouraged.
--
ZSDC Perl Consulting
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, but there still is a
problem with double dots or slashes in $path.
In my opinion the -T switch is a must for CGI scripts.
--
ZSDC Perl and Systems Security Consulting
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
updating the empty columns ?
Few weeks ago Kake Pugh wrote an article on Perl.com entitled How to
Avoid Writing Code:
http://www.perl.com/pub/a/2003/07/15/nocode.html
It's about using Class::DBI and the Template Toolkit. It might be
exactly what you are looking for.
-zsdc.
--
To unsubscribe
:
print Content-Type: application/pdf\n\n;
CGI.pm is great but it's an overkill for just printing HTTP Content-Type
header.
-zsdc.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
a good clue that it's somehow related to the
[EMAIL PROTECTED] mailing list.
(By the way, it's not [EMAIL PROTECTED], but [EMAIL PROTECTED], so
your acronym should probably be [PBCML], [BCPML], [BCPOML] or something
like that.)
-zsdc.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
can also quote it yourself:
http://search.cpan.org/author/TIMB/DBI-1.37/DBI.pm#quote
but placeholders are better.
-zsdc.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it? Insert:
print variable is $variable\n;
just before the if. Do you have:
use strict;
use warnings;
in the beginning of your program?
-zsdc.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
that it works just fine.
-zsdc.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
17 matches
Mail list logo