[Perl-unix-users] %ENV key to determine authenticated user

2002-02-06 Thread Troy
I remember someone posted a bit of code that read one of the ENV vars to grab the current user logged into a .htaccess protected area. Does anyone have that code or remember what it was? Troy ___ Perl-Unix-Users mailing list [EMAIL PROTECTED] To

RE: [Perl-unix-users] %ENV key to determine authenticated user

2002-02-06 Thread Troy
Let me add something to this question. I am not referring to $ENV{'REMOTE_USER'}; It was code using something like $ENV{HTTP_AUTHENTICATED}. I don't recall exactly what it was but I think it was something like that. Troy > -Original Message- > From: [EMAIL PROTECT

RE: [Perl-unix-users] %ENV key to determine authenticated user

2002-02-06 Thread Troy
It wasn't an Apache variable from what I recall. I believe it was one that the browser uses to maintain authentication when moving around within protected areas. I could be wrong. Troy > -Original Message- > From: $Bill Luebkert [mailto:[EMAIL PROTECTED]] > Sent: Wedne

RE: [Perl-unix-users] %ENV key to determine authenticated user

2002-02-09 Thread Troy
I never did find what I was looking for. I think what I saw was a IIS method and not a Unix method. I told you I could be wrong. Happens all the time. Thanks for the help anyhow. Troy > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On > Beh

[Perl-unix-users] Excessive perl paths in @INC?

2001-06-29 Thread Troy sniff
slash/apache/lib/perl/site_perl/5.005//i386-linux I'm not big on apache but I would assume the double // is incorrect. Troy ___ Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

RE: [Perl-unix-users] regular expression problem!

2001-07-13 Thread Troy Sniff
Are you trying to run it with the line $a="..."; commented out or not commented out? All seems to work fine on my 5.006001 either way. Troy > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On > Behalf Of Viola Mauro > Sent: Frid

[Perl-unix-users] Mime::Lite and different mail readers

2001-11-01 Thread Troy Sniff
ood in Outlook, Outlook Express, Netscape mail, but in Eudora it will look like: -- Subject: Test Content-Disposition: inline Content-Length: 1179 Content-Transfer-Encoding: binary Content-Type: text/html This is a test Content-Disposition: inline; filename=&

[Perl-unix-users] Mime:Lite question

2001-10-14 Thread Troy Sniff
twork transfer?) Please send mail to this site's webmaster for help. Content-type: text/html - This error only occurs when I enable the mailing functions. If I turn the mailing functions off, it runs perfectly fine. Has anyone seen this with Mime:Lite bef

Re: [Perl-unix-users] ^M characters

2002-06-07 Thread Troy Tyson
The ^M is equivalent to the '\r'.  When a binary ftp session is used to bring a file from a Windows environment to a Unix environment the '\r\n' is carried over as well. Try 's/\r//g' >From: "Martin Moss" <[EMAIL PROTECTED]> >To: "AITHA, BHEEMSEN \(SBCSI\)" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED

Re: [Perl-unix-users] changing time from database to CET?

2003-02-27 Thread Troy Tyson
> # I then have values for a date&time coming out of a column in the database > # I use a DATE_FORMAT function in the sql so my datetime comes out like > # 2nd March 14:00 > # I thought putting this into localtime function of Time::Local module would > produce > # date and CET time > > my $localise