what is the best / latest .CGI to handle safe form parsing?
Lou
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hallo
I have an array
@Treasures
and I want to match anywhere in it for
/:1:2:3:/
can I
if (@Treasures =~ /:1:2:3:/){}
or do i have to change (@Treasures to $Treasures and then
$Treasures = @Treasures ;
if ($Treasures =~ /:1:2:3:/){}
Just thought I'd ask first, I have to take mother in law to Dr.
Hallo
I'm just an amature perl writer..
but I would think that using the m// (match) would help. somthing like
# $CONFIG{'Feedback'} = the body of the message, change to whatever it is in
the program
if ($CONFIG{'Feedback'} =~ /href=|http:/i ) #i = ignore case
{
# reject code goes here
exi
sy made that up
but it looks like the perl code I see ... super secret coded perl
so I use semephore files and flock...maybe it will help you.
Lou Hernsen
- Original Message -
From: "Akbar Ehsan" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, May 29, 2007 4:33 PM
Subject:
I use the -e to check to see if a file is present
if (-e "$Pics/$Game{Page}.jpg")
{
}
Question
I can get it to work looking for .pl and .gif but not .jpg
I have checked all the directorie vars and even did this
print qq||;
print qq||;
print qq||;
print qq||;
print qq||;
print
e the time
right now to learn a new language.
Rev. Lou Hernsen
self employed
- Original Message -
From: "Paul Archer" <[EMAIL PROTECTED]>
To: "Derek Ash" <[EMAIL PROTECTED]>
Cc:
Sent: Friday, September 01, 2006 10:07 AM
Subject: Re: figuring out if a numbe
and if I want to include certain german umlutted vowels like ö and ä i would
add them like this?
$string =~ tr/-_a-zA-Z0-9öä//cd;
then what does this do? (from parsing SDTIN)
$name =~ tr/+/ /; ### I know this replaces +'s for spaces
$name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($
Hallo
I would like to offer my guest a way to download fonts and art
from my web site... I use perl / cgi's to create my HTML web pages.
What is the CGI code that creates the link to allow people to do this?
I'll even use a modual if I have to.. as I am more commfortable with them
now.
Thanks
Lou
I did some testing tonight
when I take out
use stats;
and take out
stats;
the program runs perfect.
and the stats.pm runs just fine in my editor.
so what the command to run the mod in it entirity?
or does it have to be run as one big subroutine?
I will experient with that tommorrow
Lou
--
- Original Message -
From: "Charles K. Clarkson" <[EMAIL PROTECTED]>
To:
Sent: Monday, November 28, 2005 3:10 PM
Subject: RE: Lou's Code - need a little more help on mod questions.
> Lou Hernsen <mailto:[EMAIL PROTECTED]> wrote:
>
> : Bareword &q
OK...
I have put the mod in the same dir as the main prog.
chmod 644 on mod
chmod 755 on main
however there is an error.
the mod does nothing more that produce HTML and a few calculations.
the mod works fine with out error in my editor.
however the main program does not like how I call stats.pm
i
- Original Message -
From: "Bob Showalter" <[EMAIL PROTECTED]>
To: "Lou Hernsen" <[EMAIL PROTECTED]>
Cc:
Sent: Sunday, November 27, 2005 12:36 PM
Subject: Re: our..
> Lou Hernsen wrote:
> > ok after reading about "our"
> >
since $Speed is the output i have to call on the sub in the mod as
$Speed = stats::Speed($Spy,$Army,$Hero,$Horse,$Wagon);
and pass the vars to the mod and in the mod
return $Speed;
I also discovered the mod will print HTML code with out returning it.
Now i have to experiment with the workings of
ok after reading about "our"
fact:
I use all global vars in the main program.
conclusion
I need to list all the vars in the module as our
in main
my $foo
in mod
our $foo
this will allow the vars to be used by both programs?
Lou
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
#x27;t get this to work I'll just leave the sub Stats() in each program
and not worry about it.
Thanks
Lou
- Original Message -
From: "Charles K. Clarkson" <[EMAIL PROTECTED]>
To:
Sent: Sunday, November 27, 2005 12:46 AM
Subject: RE: Need help with making a Modules
This small piece of the Stats sub calculates the
speed at which you are traveling.
I have in the main program.
use stats
and I call on it just like a regular sub
Speed();
or should it be
stats::Speed;
When I call on the entire mod, i want the whole thing to run.
I could just put all the sub
I am studying modules.. I am seeking a mentor to help.
I have very simple questions like ...
Do I need to pass vars into the mod?
Do i need to declare vars in the mod?
What is "our"? something like "my" and "local"?
Do I need to return vars?
The code I am writing creates part of a web page,
so I c
17 matches
Mail list logo