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
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
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);
@
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
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
>
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
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{
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 "