Re: Having problems with login

2002-06-13 Thread Octavian Rasnita
I am a beginner but I have some comments: 1. You should keep the passwords crypted on the file. It is simple to crypt them 2. You can use "foreach(...) but if you will have a big file, it will eat too much memory. It would be even more simple to use "while() 3. Is the user allowed to choose th

Re: user name

2002-06-13 Thread Todd Wade
Spider Man wrote: > > I am writing a web CGI form for intranet network use. Everything is NT > based and I need some secure verification. I can grab the information of > what machine has been used to submit the form. However, is there any way I > can find out the username used to log into the ma

Re: Weather data via Perl-- just sharing

2002-06-13 Thread John Brooking
Fred, This is very interesting. Do you know what it does under the covers? I'm just curious because I'm currently getting trained in XML, and this seems like exactly the type of thing that one uses XML for, incorporating data from another site into your own. If that's what this module really do

user name

2002-06-13 Thread spider man
I am writing a web CGI form for intranet network use. Everything is NT based and I need some secure verification. I can grab the information of what machine has been used to submit the form. However, is there any way I can find out the username used to log into the machine that the form was se

Re: Perl Help

2002-06-13 Thread David T-G
Links -- What a funny name you have... ...and then LinkS On WeB said... % % using the stat function, say I was using $stat[9], % which displays the time of the file, how would I make % it just display the date. Month-DayofMonth-Year Take the seconds that come out of stat and feed them to local

RE: Perl Help

2002-06-13 Thread Bob Showalter
> -Original Message- > From: LinkS On WeB [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 13, 2002 4:54 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Perl Help > > > using the stat function, say I was using $stat[9], > which displays t

Perl Help

2002-06-13 Thread LinkS On WeB
using the stat function, say I was using $stat[9], which displays the time of the file, how would I make it just display the date. Month-DayofMonth-Year = __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.y

Re: Any web site teaching comparison of Shell and Perl?

2002-06-13 Thread David T-G
Amy -- First of all, you might get a better response to this on the beginners list, since it's not really a CGI matter. That aside, though, ... ...and then Amy Kim said... % % I am looking for web sites teaching differences or comparison of Shell and Perl. Does anybody know any good web sites

Any web site teaching comparison of Shell and Perl?

2002-06-13 Thread Amy Kim
I am looking for web sites teaching differences or comparison of Shell and Perl. Does anybody know any good web sites for that? Amy

Re: file uploading

2002-06-13 Thread Ovid
--- "Greg D." <[EMAIL PROTECTED]> wrote: > Hello, > > I was wondering if anyone knew the best way to upload a file and then > populate the text area with the text file you just selected. Is there any > way to do that with perl and cgi instead of having to use javascript? > Or if that i

Net::SMTP question

2002-06-13 Thread Nate Brunson
I have been working on a simple mail script using Net::SMTP; and the script works fine...but I was wondering, we had some coldfusion mail scripts, that were written by an e-commerce company, stop working... then i was going over my code and i realized that I never used $smtp->quit; DUN dun dun

file uploading

2002-06-13 Thread Greg D .
Hello, I was wondering if anyone knew the best way to upload a file and then populate the text area with the text file you just selected. Is there any way to do that with perl and cgi instead of having to use javascript? Or if that is not possible in perl and cgi is there a way to sav

Re: Re: form display problem

2002-06-13 Thread Mark Bergeron
Perl programming is like the Breakfast Bar at Shoneys! Take what you want and leave the rest. Ask questions, ask questions, ask questions. -Original Message- From: "Janek Schleicher"<[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Wed Jun 12 01:42:23 PDT 2002 Subject: Re: form display pr

RE: Having problems with login

2002-06-13 Thread Scot Robnett
You might want to think about crypting those passwords. Plain text still leaves the information somewhat vulnerable, especially if you have them in a flat text file that is being written to in a directory chmod'd 777. Two suggestions: - Check out Lincoln Stein's Crypt::CBC modul

Re: Having problems with login

2002-06-13 Thread Ben Huyghebaert
It worked! I had to correct some syntax problems I had but after that I got it rolling. Thank you very much! I'll try suggestions next time before I just assume that they won't work. I'm still confused by it but I'll study it maybe understand why it works. LOL On Wed, 12 June 2002, David vd

Re: cgi report from another server

2002-06-13 Thread David vd Geer Inhuur tbv IPlib
Hi Martin, This is because you didn't use the back-tick's : $stuff=`rsh server2 -l user /bin/uname -X`; (Don't mix them up with the <'> ); This will actualy execute the command, currently you only set a var. Also system() and exec() could help you out. Regs David > > Hi everybody, > > I don

cgi report from another server

2002-06-13 Thread Martin Pestun
Hi everybody, I don't know to solve this CGI problem: My CGI script run on the one server1 and I want get the result from another server2 like this: #!/usr/local/bin/perl -w $delay = 10; $date = "/bin/date"; $stuff="rsh server2 -l user /bin/uname -X"; print "Refresh: ", $delay, "\n"; print "Con

Weather data via Perl-- just sharing

2002-06-13 Thread Fred Sahakian
I got this from a Perl list at Builder.com, I thought it would be interesting to share, something folks may want to include it on their web sites: Retrieve weather data with Geo::WeatherNOAA Perl's WeatherNOAA module gives you easy access to current weather information and short-term forecast

Re: [OT] RE: POD vs. # Comments

2002-06-13 Thread John Brooking
--- David T-G <[EMAIL PROTECTED]> wrote: > ... >> % "Programming Perl"?) says that "comment", when >> used as >> % a translator keyword following "=for", is by > > Whoa! You found that in there?? Do you have 3e or > 2e? I couldn't find > any POD commands in my 2e ("Covers Perl5!") copy, > whic