Re: sendmail command line (without queuing)

2002-08-28 Thread fliptop
On Tue, 27 Aug 2002 at 22:51, Wiggins d'Anconia opined: [cur-snippity] Wd:http://search.cpan.org/search?mode=all&query=sendmail Wd: Wd:Remember to throw comments back to the list as well, I would love to Wd:hear what others think, does anyone disagree, should we cast aside the Wd:module and go

Application Design for User Authentication

2002-08-28 Thread Gfoo
Hello all, I'm creating a web appication in Perl (and CGI). I' ve written code that is used to create and read sessions (by using cookies or GET http method) which are used after authenticating user logins in a database. The code for handing transitions and state is about 60 lines of code. I

Re: Application Design for User Authentication

2002-08-28 Thread Margaret
You can use the require '/usr/local/.../auth.pl'. In the auth.pl put in the code to authenticate the user and then run that subroutine from the original script and add the require statement to point to that file. Another way is to create your own object orientated module or package. - Origina

Re: Application Design for User Authentication

2002-08-28 Thread fliptop
On 28 Aug 2002 at 11:57, Gfoo opined: G:I'm creating a web appication in Perl (and CGI). G:I' ve written code that is used to create and read sessions (by using G:cookies or GET http method) which are used after authenticating user logins G:in a database. G:The code for handing transitions and

Re: Application Design for User Authentication

2002-08-28 Thread Oleksiy Rudenko
Hi. fliptop wrote: >On 28 Aug 2002 at 11:57, Gfoo opined: > >G:I'm creating a web appication in Perl (and CGI). > > Where could I as a beginner read more about mod_perl? Sources in plain English appreciated. Thanx. >can you use mod_perl? > >intercepting the authentication step with mod_perl is

Re: Create an output file using Perl

2002-08-28 Thread Steve Grazzini
Alex B. <[EMAIL PROTECTED]> wrote: ... >>> --- Allen Wang <[EMAIL PROTECTED]> wrote: >>> > >>> > i want to generate an output file using perl >>> > >>> > open (OFILE, " > /tmp/aa.lst") >>> > or die "Can't write $p_OutputFile: $! "; >>> > >>> > Everytime I ran it, I got the following error

Re: Application Design for User Authentication

2002-08-28 Thread fliptop
On Wed, 28 Aug 2002 at 15:46, Oleksiy Rudenko opined: OR:Where could I as a beginner read more about mod_perl? Sources in plain OR:English appreciated. OR:Thanx. perl.apache.org is a good place to start. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: sendmail command line (without queuing)

2002-08-28 Thread Octavian Rasnita
Ok Ok, I am glad that Net::SMTP is better. I prefer it because I could use the same code in Windows and Unix and I heard that using sendmail could create some security problems, but I thought that sendmail could be more reliable, or could work faster, etc. Teddy's Center: http://teddy.fcc.ro/ Ma

.htm?

2002-08-28 Thread Octavian Rasnita
Hi all, I've seen some links that end in .htm?blabla=blublu Can you tell me what kind of html files are these? Are they Perl CGI programs that have the .htm extension? Or they are normal html files but they could get a query_string like a CGI script? Thank you for any tip. Teddy's Center: ht

RE: .htm?

2002-08-28 Thread Bob Showalter
> -Original Message- > From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 28, 2002 1:28 AM > To: [EMAIL PROTECTED] > Subject: .htm? > > > Hi all, > > I've seen some links that end in .htm?blabla=blublu > > Can you tell me what kind of html files are these? > Ar

missing the boat on s///

2002-08-28 Thread Jerry Preston
Hi!, I know this is simple, but what am I doing wrong? $_ = "Who is missing the boat"; $j = "Jerry"; $w = "Who"; $_ = s/$w/$j/; Thanks, Jerry

Re: missing the boat on s///

2002-08-28 Thread John Pitchko
$_ =~ s/$w/$i/; John Pitchko Data Services Saskatchewan Government Insurance >>> "Jerry Preston" <[EMAIL PROTECTED]> 08/28/02 10:04am >>> Hi!, I know this is simple, but what am I doing wrong? $_ = "Who is missing the boat"; $j = "Jerry"; $w = "Who"; $_ = s/$w/$j/; Thanks, Jerry

Re: missing the boat on s///

2002-08-28 Thread Mo Holkar / UKG
At 17:04 28/08/02, Jerry wrote: >$_ = "Who is missing the boat"; >$j = "Jerry"; >$w = "Who"; >$_ = s/$w/$j/; If you want the output 'Jerry is missing the boat' then you need the =~ operator rather than just = ie. $_ =~ s/$w/$j/; Mo Mo Holkar Undying King Games [EMAIL PROTECTED] Free ga

RE: missing the boat on s///

2002-08-28 Thread Kipp, James
what are you trying to do ? > -Original Message- > From: Jerry Preston [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 28, 2002 12:05 PM > To: Beginners CGI Perl > Subject: missing the boat on s/// > > > Hi!, > > I know this is simple, but what am I doing wrong? > > $_ = "Who is

Re: Application Design for User Authentication

2002-08-28 Thread Gfoo
[EMAIL PROTECTED] (Margaret) wrote in 001301c24e8e$3c255f80$[EMAIL PROTECTED]:">news:001301c24e8e$3c255f80$[EMAIL PROTECTED]: > You can use the require '/usr/local/.../auth.pl'. In the auth.pl put in > the code to authenticate the user and then run that subroutine from the > original script and

Re: Application Design for User Authentication

2002-08-28 Thread Gfoo
> > can you use mod_perl? > > intercepting the authentication step with mod_perl is very easy and > will accomplish exactly what you want to do. > I', planning to use mod_perl for speed. But... How can I keep the authentication routines I' ve written and have mod_perl to help me? You mean co

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: Application Design for User Authentication

2002-08-28 Thread fliptop
On 28 Aug 2002 at 18:41, Gfoo opined: G:I', planning to use mod_perl for speed. G:But... How can I keep the authentication routines I' ve written and have G:mod_perl to help me? You mean configuring the server (apache) to handle G:authentication by calling some perl code? Will this let me have

Re: Application Design for User Authentication

2002-08-28 Thread drieux
On Wednesday, August 28, 2002, at 11:41 , Gfoo wrote: > You mean configuring the server (apache) to handle > authentication by calling some perl code? Will this let me have a page > full > of content and give the ability to the user viewing this page to POST its > credentials in order to login

use Mail::Mailer question

2002-08-28 Thread drieux
volks, this is something that a friend of mine found in the email headers when I used Mail::Mailer to open up the connection to him > At 01:45 PM 8/28/2002 -0700, you wrote: >> X-UIDL: >'p"!d"G!!jcj"!MY/"! I used the Mail::Mailer because the isp providing the dns resolution for his host w

Re: use Mail::Mailer question

2002-08-28 Thread Wiggins d'Anconia
> > but for the life of me, I do not see this X-UIDL in > my outgoing traffic - is that something on his side > that his MTA is inserting??? > seems like the general consensus of the results from a google search is that it is an MUA header used with pop/imap. http://mail.gnome.org/archives/b

Re: Getting Image Links From Directory Into MySQL

2002-08-28 Thread Wiggins d'Anconia
Off the top of my hand I don't know of one, as I would more than likely home grow my own with Find::File and DBI, have you checked http://www.freshmeat.net and of course CPAN? There may be something in existence, or at least something close that you could then hack up to use your own db defs