Guys,
Can I just say I am getting a lot out of reading your discussion here.
Definitely to be encouraged :-)
Michael
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--- [EMAIL PROTECTED] wrote:
> Curtis,
> Thank you for your observations and compliments (first paragraph). No your
>right, I haven't
> been using taint (*I hang my head in shame*).
Actually, you may not *want* to use taint checking in your code samples. The end user
should
control that a
that the
system may be
using because on a windows server this is different than on a Linux box. I will check
how CGI.pm
does it to get some other ideas.
Thanks,
David
- Original Message -
From: "Ovid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]
Hi David,
While I raise quite a few issues here, I have to say that I've rarely seen
anyone present a CGI.pm alternative that supports uploads. I'm quite
impressed, so keep that in mind while I pick it apart :)
I'll ignore anything I may have covered in my discussion about the previous
subrout
t; <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Todd Wade" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 2:38 PM
Subject: Re: Form.pm
--- [EMAIL PROTECTED] wrote:
> I would be happy to take a look at, but I am uncertain how to access this
--- [EMAIL PROTECTED] wrote:
> I would be happy to take a look at, but I am uncertain how to access this
>archive. I remove
> the
> emails I get from mailing lists each day, and don't have past records other than
>emails I have
> sent.
> Perhaps you could reply with the proper solution, or
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 4:35 PM
Subject: Re: Form.pm
<[EMAIL PROTECTED]> wrote in message
00d301c222b6$440166d0$d381f6cc@david">news:00d301c222b6$440166d0$d381f6cc@david...
>
> I appreciate your feedback. The reason I was frustrated
<[EMAIL PROTECTED]> wrote in message
00d301c222b6$440166d0$d381f6cc@david">news:00d301c222b6$440166d0$d381f6cc@david...
>
> I appreciate your feedback. The reason I was frustrated with Todd is
because it was strictly
> criticism. Basically the tone was "Your wrong, and you shouldn't be
mak
rough, the better.
I guess for me, multiple lines are more of a burden than long lines.
There are a few small blurbs of code in Form.pm that are exact copies, but the two
sections of code
only have about 5 lines that are exactly the same which are intertwined with others
that are not. I
actual
L PROTECTED]>
Sent: Wednesday, July 03, 2002 12:28 PM
Subject: Re: Form.pm
On Wed, Jul 03, 2002 at 11:22:49AM -0600, [EMAIL PROTECTED] wrote:
>I do handle POST, I guess I didn't make that clear before. Read through the
>attached lib and
>you will see that is true. That is
#x27;m juz a newbie =p)
but from what i read in the Form.pm, your method will able to receive
parameters in GET or POST method but not both method.
What happen if params come in GET and also POST method ?
niko
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
nd if not
attempt to
split on ;'s?
> my $form_hash = parse_form_input( $ENV{QUERY_STRING} );
> Now, if I have 20 programs, I have 20 places to mistype that.
If you will look at the full lib attached, you simply use:
use Form.pm
my %vars = Form();
Sorry for the confusion, I thought I had
--- [EMAIL PROTECTED] wrote:
> Todd,
> Oh you mean like this:
>
> my(@pairs) = split('&',$tosplit);
> First, the above code is strait out of CGI.pm sir. So if you feel that its wrong,
>you might try
> telling that to the creator of CGI.pm
David,
You ha
Hi David,
I hope you don't take this stuff personally. A code critique is a critique, after all
:)
I'll skip the lines of code that I'm not commenting on.
my $input = shift;
my @variables = split(/\&/, $input);
First, we know that the split is incorrect. A semi-colon is the new, pre
Curtis,
Thank you for the compliment. Please do inform me of what should be modified.
Thanks,
David
- Original Message -
From: "Ovid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 02, 2002 6:18 PM
Subject: Re: For
From: "Todd Wade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 02, 2002 6:13 PM
Subject: Re: Form.pm
[EMAIL PROTECTED] wrote:
> sub parse_form_input($){
> my $input = shift;
I told you already.
> my @variables = split(/\&/, $input);
this i
"Ovid" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> --- Todd Wade <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] wrote:
> >
> > > sub parse_form_input($){
> > > my $input = shift;
> >
> > I told you already.
> > > my @variables = split(/\&/, $input);
>
--- Todd Wade <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> > sub parse_form_input($){
> > my $input = shift;
>
> I told you already.
> > my @variables = split(/\&/, $input);
> this is wrong!!!
>
> Todd W.
Yes, it's wrong, but we should say that with a smile on our face :)
I'v
[EMAIL PROTECTED] wrote:
> sub parse_form_input($){
> my $input = shift;
I told you already.
> my @variables = split(/\&/, $input);
this is wrong!!!
Todd W.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Well, I'm a little bit behind
schedule because the home page for Form.pm just got erased (long story).
Anyway, I just setup a backup system on my server now so I'll have a weeks worth
of daily backup's (ya, I know I should have had this before). But attached
are the ma
20 matches
Mail list logo