RE: Sybase DBlib & CGI issue

2003-01-13 Thread .IT Workflow - Terry Honeyford
as far as I can make out, apache needs to be running as a sybase user, you may also need to set some $ENV variables within the script eg: $ENV{'DSQUERY'}='SQLCAS' HTH Terry -Original Message- From: Dan Muey [mailto:[EMAIL PROTECTED]] Sent: 10 January 2003 17:41 To: Andy Bridger; Beginne

RE: Email function question

2003-01-28 Thread .IT Workflow - Terry Honeyford
Have you tried put a semi-colon and space on the end of each users name? @names=([EMAIL PROTECTED]; ,[EMAIL PROTECTED]; ,[EMAIL PROTECTED]; ); Terry -Original Message- From: Scott, Deborah [mailto:[EMAIL PROTECTED]] Sent: 27 January 2003 22:54 To: [EMAIL PROTECTED] Subject: RE: Email fun

RE: perl and DB connectivities

2002-09-24 Thread IT Workflow - Terry Honeyford
Title: RE: perl and DB connectivities you could try this little routine, After opening the connection and making the query:- while(($rc = $X->ct_results($restype)) == CS_SUCCEED) {     next if ($restype == CS_CMD_DONE || $restype == CS_CMD_FAIL || $restype == CS_CMD_SUCCEED);     @

$ENV{remote_user}?

2002-02-21 Thread IT Workflow - Terry Honeyford
Not sure if this is Perl or apache related, but have spent hours trawling through web sites for the answer Gettin a bit desperate now so any help would be much appreciated. I have a perl script that runs fine using netscape fastrack server but when I use Apache 1.3.22 I don't get as many $ENV's b

$ENV{remote_user} - solved

2002-02-22 Thread IT Workflow - Terry Honeyford
Thanks to all who sugested that I needed to Define an authentication realm for my CGI directory That did the trick! terry On Thu, Feb 21, 2002 at 02:42:31PM -, IT Workflow - Terry Honeyford wrote: > but when I use Apache 1.3.22 I don't get as many $ENV's back from >

Stripping windows CR/LF characters

2002-01-25 Thread IT Workflow - Terry Honeyford
I am reading a line at a time of a windows log file and want to strip off the CR or LF characters at the end of the line chomp seems to have a weird effect (returning the cursor to the beginning of the line!) I am sure there is a regex to do this (similar to s/\cM//g for MAC line endings) but I

RE: Stripping windows CR/LF characters

2002-01-25 Thread IT Workflow - Terry Honeyford
I am trying to print out only the lines that begin with Either "Unable to attach to", OR "Backup of" and append to the line "NOT OK" or "OK" depending on which match I get Here is the offending bit of script... open (FILE, "){ chomp; if (m/^Unable to attach to/){ $line .= "$_ \t NOT OK"; }elsif{

RE: Stripping windows CR/LF characters

2002-01-28 Thread IT Workflow - Terry Honeyford
chomp'ing would be the line feed) I think that's whats going on anyway! Thanks for all your help Terry Honeyford On Fri, 25 Jan 2002, IT Workflow - Terry Honeyford wrote: > I am trying to print out only the lines that begin with Either "Unable to > attach to", OR "