Wise ones,
Below is a portion of my code. The code runs fine when I am logged in as the user. When I am not logged in, the code stops at the point where it tries to connect to the database using the odbc connection. Is there a way to run this code while not logged in?
Your help is always received gratefully.
Eli
#!/usr/bin/perl
# ed.pl
use warnings;
use strict;
use DBI;
print "Content-type: text/html\n\n";
print "<html><head><title>Enviroment Dumper </title></head><body>";
my ($CDS, $UPDATE, $id, $text, $sqlquery, $prodnum, $catid,
$catnum, $sqlquery1, $description, $count, $pccount, $sqlquery2,$s
+qlquery3, $cecount );
my (@list, @count, @pccount, @cecount);
# DATABASE CONNECT***************************************
$CDS=DBI->connect('DBI:ODBC:claudonntCDS', 'xxxx') ||
die "error opening database: $DBI::errstr\n";