Re: exec statement

2002-07-18 Thread Roger Morris
At 08:28 AM 7/18/2002 -0700, Maureen E Fischer wrote: >Thank you Bob, > This works for me. One further question. I thought I read somewhere >that you should >not put full paths in a CGI program for security reasons. Should that be a >consideration? >Maureen For security, you should put ful

RE: How to do a cron job?

2002-04-15 Thread Roger Morris
At 04:03 PM 4/15/2002 -0700, Dennis G. Wicks wrote: >Greetings; > >For ssh access get Tera Term and the SSH extensions. > >I use it both at home and at work and it works and >is simple to set up. > >You can find them using Google. > >Good Luck! >Dennis Putty is another alternative. Single file,

Re: help with perl/Tk

2002-03-07 Thread Roger Morris
At 01:14 PM 3/7/2002 -0500, richard noel fell wrote: >Below is a simple script which I am using as part of my attempt to learn >how to program a gui with perl and Tk. I have copied the program from a >book, "Cross Platform Perl" (not very good, but some isolated good >parts), but get the following

Re: Email Validation

2002-02-19 Thread Roger Morris
At 03:35 PM 2/19/2002 -0800, Randal L. Schwartz wrote: > >>>>> "Roger" == Roger Morris <[EMAIL PROTECTED]> writes: > >Roger> I've been working on email validation for a script. The examples I've >Roger> seen haven't exactly done t

Email Validation

2002-02-19 Thread Roger Morris
I've been working on email validation for a script. The examples I've seen haven't exactly done that great of a job. I've taken the code and messed with it some. My thoughts were, if the email is in the correct format, ie [EMAIL PROTECTED] or some form like [EMAIL PROTECTED] then go to

Re: wondering what might be causing this error

2002-02-11 Thread Roger Morris
At 06:55 PM 2/11/2002 -0500, Ian Christie wrote: >Hi, > >I'm trying to get a script to work. I'm using linux and when I do >something like the following > >../myscript.cgi > >I get > >bash: ./myscript.cgi: bad interpreter: no such file or directory > >I know the #! is correct. Could this be a bas

Re: Debug some simple code

2002-01-31 Thread Roger Morris
with a a blank value. It never even prompts me to input a number. >What am I doing wrong? = is an assignment operator. Equality is == Roger -- Roger Morris User Services Specialist II [EMAIL PROTECTED] 541-687-3579 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to abut two files?

2002-01-30 Thread Roger Morris
At 06:18 PM 1/30/2002 -0500, you wrote: >One of the most common needs in data analysis is to "abut" two files. This >means to create a single file by horizontally pasting two files together. > >So: starting with two files each with, say, 4 columns and 4 rows, the result >is one file with 8 column

Re: Filenames

2002-01-30 Thread Roger Morris
At 04:38 PM 1/30/2002 -0500, you wrote: >Hi, > >Could someone please help out with the problem of dynamically changing the >name of an output file? I would like to concatenate the date to the name >of the output file so that each time I run my script, the name of the >output file is different.

RE: question about CRON

2002-01-24 Thread Roger Morris
At 05:56 PM 1/24/2002 -0500, you wrote: >--you could run a script a few ways, but, for cron, you >could do something like: > >[example] > >0,5,10,15,20,25,30,35,40,45,50,55 * * * * sh /home/shaunn/scripts/reminder > >[/example] > >--but that seems just as strange as, say, putting a 'sleep' clause

Re: Sendmail and PERL

2002-01-17 Thread Roger Morris
chmod 700 should do it. Any group or world writable should kill it. I don't think sendmail complains about readable files as much as it does about writable files. What do the logs say? One other way is via a procmail recipe. Something like: :0 * /path/to/perlscript Roger At 08:15 AM 1

Script Idea

2002-01-12 Thread Roger Morris
I've got a laptop running Linux. When I go to work, the laptop gets it's IP address via DHCP, at home I have a private IP address that I use (for a home network that uses dial up for Internet), and at my other place of employ I have a third IP address that is used. I've created a shell script

Re: formmail.pl security

2002-01-11 Thread Roger Morris
At 12:18 PM 1/11/2002 -0800, Scott Lutz wrote: >I am curious if anyone is familiar with a way to tighten security on >this script? >We am experiencing some sort of script that is exploiting this code, and >am looking for some previous experience here . . > >please Is this the script available fro

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Roger Morris
. > >Am I right? > >I'm from Quebec, Canada.. and you? > >Sorry if it's way off topic, I hope the ones that hate OT subject >filtered *off*topic* in their emails! > >Etienne > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands

Re: variable variable-names

2001-10-02 Thread Roger Morris
I didn't use this with perl, it was with php. however, I used Blah Blah Then in the php I had a loop that went through the values of answer At 03:14 PM 10/2/2001 -0700, The Black Man wrote: >Hi all, > >I'm trying to write a script that will pull out values >for form data radio buttons for mul

combine commands

2001-08-29 Thread Roger Morris
Hi, Just trying to un-clutter some code. Following is the relevant part: $ucscode is assigned a value via a split on : There could be white space at the begging and end of the value. the value could be Upper case. The end result should be no white space, all lower case. There may or may not