I noticed this in your output:

"Content-type: text/html; charset= ISO-8859-1"

Are you running this in the browser though IIS or at the command line?  If
you are running it though IIS you won't see any error messages if the
program dies.  Try running the script at the command line (if you haven't
already) to see what happens, most likely you will see an error.

Rob


-----Original Message-----
From: Omar Shariff [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 29, 2002 2:18 PM
To: [EMAIL PROTECTED]
Subject: WINNT


Hi, i'm having problems with WIN NT, oracle and DBI, i
write a script

use DBI;

$cta = 85498932;
my $dbh = DBI->connect("dbi:Oracle:para_lelos",
"gonzalo", "pepepepe") 
                or die "No se puede establece la coneccion
$data_source: $DBI::errstr";

my $sth = $dbh->prepare(q{SELECT * FROM SPO_DETALLE
WHERE NRO_CUENTA = ?}) 
                or die "No se puede preparar la sentencia:
$DBI::errstr";

my $rc = $sth->execute($cta) or die "No se puede
ejecutar: $DBI::errstr";

print "Query will return $sth->{NUM_OF_FIELDS}
fields.\n\n";
print "Field names: @{ $sth->{NAME} }\n";
print "Filas: $sth->rows \n";

while (my $registro = $sth->fetchrow_hashref) {
        print $registro->{LINEA};
}

# check for problems which may have terminated the
fetch early
die $sth->errstr if $sth->err;
$dbh->disconnect;

when i run it first give me a OCI.DLL error i install
DBD-ORACLE and now give me 
Content-type: text/html; charset= ISO-8859-1

<?xml version="1.0" encoding="utf-8"?>
etc, etc, and do nothing!!!
help!!!!
thanks

Ahora podés usar Yahoo! Messenger desde tu celular. Aprendé cómo hacerlo en
Yahoo! Móvil: http://ar.mobile.yahoo.com/sms.html

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to