Hijacking forms [was help with adjusting log file data?]

2004-06-13 Thread Will Bontrager
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

Data Validation Issues

2003-02-07 Thread Will
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

Possibly OT, but CGI related.

2003-01-23 Thread Will
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: [

Re: cgi session

2003-01-08 Thread Will
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

CGIwrappings for the Holidays

2002-12-26 Thread Will
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!

2 Code Interpretation ?s

2002-12-17 Thread Will
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

Creating and Using Libraries

2002-12-02 Thread Will
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

Getting Image Links From Directory Into MySQL

2002-08-28 Thread Will
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

Re: TkPerl on win32

2001-07-19 Thread Will Cottay
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

Re: using mime lite

2001-07-17 Thread Will Cottay
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

Re: using mime lite

2001-07-17 Thread Will Cottay
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

Re: mutliple threads

2001-07-17 Thread Will Cottay
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

Re: breakable loop???

2001-07-13 Thread Will Cottay
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

Re: breakable loop???

2001-07-12 Thread Will Cottay
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

Re: applause for Casey!!!!! APPLAUSE DUDE! ('Turning the tide...' and a 911 plea for help)

2001-07-12 Thread Will Cottay
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 >

Re: applause for Casey!!!!! APPLAUSE DUDE! ('Turning the tide...' and a 911 plea for help)

2001-07-12 Thread Will Cottay
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

Re: dropping off a few decimal points

2001-07-12 Thread Will Cottay
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