Re[2]: Email on Windows Platform // HTTP Download for Mail::Sender?

2001-06-11 Thread Tim Musson
Hey Joel, Monday, June 11, 2001, 2:51:17 PM, you wrote: SJR> I'm trying to get Mail::Sender (ok, ok I'm finally moving away SJR> from Blat!). SJR> I've been using the modules that come with Active State's basic SJR> Perl install. Mail::Sender is not included from what I can tell. SJR> I went to

Re[2]: Email on Windows Platform

2001-06-11 Thread Evgeny Goldin (aka Genie)
SJR> I'm trying to get Mail::Sender (ok, ok I'm finally moving away from Blat!). That's the way Perl goes - fortunately, it has solutions for almost everything ! And that's why I love it .. SJR> I've been using the modules that come with Active State's basic Perl SJR> install. Mail::Sender is

Re: secure scripts

2001-06-11 Thread Curtis Poe
--- [EMAIL PROTECTED] wrote: > anyone have a url that is a decent intro for writing secure cgi scripts? > > -charles Best bet (IMHO): read section 6 of http://www.w3.org/Security/faq/ Also, Lesson 3 (http://www.easystreet.com/~ovid/cgi_course/lesson_three/lesson_three.html) of my Perl/CGI cou

secure scripts

2001-06-11 Thread charles
anyone have a url that is a decent intro for writing secure cgi scripts? -charles

Easy method of parsing form data

2001-06-11 Thread Curtis Poe
Routinely, I work with Web-based applications that have extremely complicated forms. Writing the routines to grab all of this data and untaint it can get quite tedious. As a result, I have written a program that will automate most of this for me. If you have an HTML document with a form (or

RE: Email on Windows Platform // HTTP Download for Mail::Sender?

2001-06-11 Thread Stout, Joel R
Hiya, I'm trying to get Mail::Sender (ok, ok I'm finally moving away from Blat!). I've been using the modules that come with Active State's basic Perl install. Mail::Sender is not included from what I can tell. I went to CPAN but it looks like they only do FTP transfers and not HTTP transfers

Re: LWP // Any answers?

2001-06-11 Thread William McKee
Joel, Without seeing the rest of your script, I'm guessing that you are sending data to the browser before telling it what you are sending. In other words, if you set $q = new CGI then you need to use print $q->header before sending other data. For example, use CGI; my $q = ne

LWP // Any answers?

2001-06-11 Thread Stout, Joel R
Any help at all would be really cool. -Original Message- From: Stout, Joel R [mailto:[EMAIL PROTECTED]] Sent: Friday, June 08, 2001 8:52 AM To: '[EMAIL PROTECTED]' Subject: LWP Hiya, I just started some Perl CGI scripts. Very cool. Although I have run some scripts, I'm having a pr

RE: Regex question

2001-06-11 Thread Evgeny Goldin (aka Genie)
> Or better, how do I learn to use regex? You have to read "Mastering Regular Expressions" if you wanna be an expert, but you don't have to if all you want is to start studying regexes. There are much simpler ways : 1) "Learning Perl" has a chapter about regular expressions 2) perldoc perlre A

Re: comparing date values

2001-06-11 Thread Evgeny Goldin (aka Genie)
I'm using the DateTime::Precise for any date manipulation. It's good. Really good.

Re: Email on Windows Platform

2001-06-11 Thread Evgeny Goldin (aka Genie)
>>> I'm wondering how you go about taking info from a html form and >>> have it emailed to a recipient when the server hosting the web page >>> is a Windows machine. I know that on a *nix machine you can invoke >>> the sendmail program, but how do you do it on say Win2K server? I've found Mail::

Re: Regex question

2001-06-11 Thread Curtis Poe
--- Bruno Veldeman <[EMAIL PROTECTED]> wrote: > I have a string with this format "/blabla/dir/nextdir/name.txt" > I want only 'name.txt' in one string and the rest in another string. my $string = '/blabla/dir/nextdir/name.txt'; my ( $path, $file ) = ( $string=~ m!^(.*/)(.*)$! ); Breaking dow

RE: Circular reference

2001-06-11 Thread Kris Cook
Actually, this is the code for Validate.pl. Validate looks up the username and password, and if it's not found, gives the user the chance to hit the Back button and re-enter. On Continue, it sets the name of the menu to load, and goes forward to StargPage.pl, wihch simply sets up a frames page w

Re: Regex question

2001-06-11 Thread Roger C Haslock
Perhaps something like my $string = '/blabla/dir/nextdir/name.txt'; $string =~ /(.+)([^\/]*)$/; my $everythinguptoandincludingthelastslash = $1; my $everythingbeyondthelastslashtotheendoftheline = $2; # [^\/] == notaslash (escaped by a backslash) # [...]* == zero or more of them # $/ == endoflin

Re: comparing date values

2001-06-11 Thread Aaron Craig
At 12:45 08.06.2001 -0700, you wrote: >--- Brian Hersey <[EMAIL PROTECTED]> wrote: > > my $presesntdate = (localtime); > > my ( $day, $month, $year ) = (localtime)[3..5]; > $month++; # assume you want 1-12 instead of 0-11 > $year += 1900; > > > 2. How do I compare the date values, so th

AddContent?

2001-06-11 Thread Sally
Has anyone heard of AddContent? is this an HTML or Perl command and what is it's syntax