comma-separated email address into an email form field, for example. The
following line can check that no more than one email address is in a form
field that should only have one:
exit if $FORM{email} =~ /[EMAIL PROTECTED]@/s;
Another method is to target any form field that will be used in any
Greets Folks,
I am developing a registration area for a members site
that will interface with a MySQL DB users table, and I
ran into a problem or two. Note that I am using DBI
as my DB Driver.
First, the simple stuff. I need a way to (at run-time)
confirm all the fields have been filled in, and
said it was fot security
reasons but nothing more.
Just wondering if anyone would know what they meant.
Thanks,
Will
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
To unsubscribe, e-mail: [
this module with me, then please let
me know. I'm learning it too.
Thanks,
Will
--- Vitaliy Babiy <[EMAIL PROTECTED]> wrote:
> You can generate keep client's status (session) in
> URI or in cookies.
> In the case of URI it's quite simple:
> In the script login
Greets All and Merry Christmas and Happy New Year's
too... =)
I dont mean to be a question-grinch here, but, ermm...
I am looking for a good tutorial on how to use
CGIwrap? Hopefully, it wont be too difficult.
Any good advice much appreciated.
Thanks!
d direction there... I
mean, its not just a question of how to do it, but
also why and when to parse input...
Anyway, is parsing what I need to learn to understand
code like the examples above? And, if it is, then
where could I begin to learn how to parse effectively
enough to get a rea
Greets Folks,
I usually lurk on this list, but I came across an
issue which I could really use some help with. This
will be half rant, half question, but I think I got it
figured out. What I am asking here is for someone to
either: a.) correct me if I am wrong, or b.) tell me
if I am right
Greets,
I am looking for a script/command/module/subroutine
(whatever) that will scan a directory of images on my
file server, and then input those links into a MySQL
database...
Does anyone have a script/command that will do that?
TIA,
Will
perldoc -q "include path"
Raf wrote:
>
> Hi,
> i installed the Tk module for Perl (win32) via ppm (thanks Brett), but now when i
>try a simple programm (a simple window) i get following message in return :
> " canĀ“t locate loadable object for module Tk::event in @INC (@INC contains
>c:/perl
Whoops, while cutting out my email in the example I also cut a }.
Should be:
print a({-href=>'mailto:[EMAIL PROTECTED]'},
'[EMAIL PROTECTED]');
-will
Miles Sapp wrote:
>
> I copied and pasted the code that was suggested for Carp (below) and ran it and
> I ca
sh');
print p, "Got an error: $msg";
print p, "Please send the text of this error message to: ";
print a({-href=>'mailto:[EMAIL PROTECTED]',
'[EMAIL PROTECTED]');
}
set_message(\&handle_errors);
}
-will
Fliptop wrote:
>
> Tere
man perlthrtut
might give you a starting point.
-will
Maxim Berlin wrote:
>
> Hello Thomas,
>
> Tuesday, July 17, 2001, Thomas Jakub <[EMAIL PROTECTED]> wrote:
>
> TJ> How do I implement threading in perl?
>
> did you try
> perldoc t
In this case, sub report_stats would only be called when
the script gets a sigint.
Be sure to read perlipc and pay attention to the warnings
therein.
I don't think this will work under Windows, but I'm pretty
sure that Term::ReadKey will.
Thomas Jakub wrote:
>
> signal
MIS Department
> > Berkeley County, SC
> >
> > >>> Thomas Jakub <[EMAIL PROTECTED]> 07/12/01
> > 02:20PM >>>
> > so... is their a function that won't wait for me to
> > hit enter, and ca
s, the code was just an example ripped from stuff lying
around.
Your excellent critique will certainly help those doing this sort
of stuff for real.
-will
>
surprised that he was a bit harsh with you. As far as asking him to
solve your little file upload problem, you should be embarrassed to
clutter his mail with such trivia.
BTW, I've been writing code since the 70's also and I'm a bit curious.
Have you got your first program runnin
I hate to say it as the regex way is kinda cool, but
$y = int($x * 100)/100;
is much faster, at least on my machine.
even
$x = sprintf("%.2f", int($y * 100)/100);
is marginally faster and pads the output to two decimal points..
John Moon wrote:
> One way to do it ...
>
> perl -e '$x=1234
17 matches
Mail list logo