HI.
I'm having this problem I have a memo field that i use for the main text and
when i access it my script just prints a blank page, but when the field is
reduced my scripts prints exactly as i want to:
You know why??
SOME CODE
#!c:/perl/bin/perl.exe
# cargar modulos
use DBI;
use CGI
while ( (my $id, my $name, my $par, my $time) = $sth-fetchrow) {
print start_html(-title=Noticia:
$name,-style=({-src=/_include/portal.css}));
print h3($name),
p($par),
#p($par1),
p($time),
I have this problem now, maybe is not about perl but here I go:
I connected an Access Datasource to a cgi, (made in Perl ;), but while in
the command line runs perfectly, as a CGI, on my host, it outputs:
Software error:
No pude conectarme : (DBD: db_login/SQLConnect err=-1)
I know that maybe
But how do I know who the correct user is???
I have tried todos (all) the admin
but it doesnot work!
-Mensaje original-
De: David Kirol [mailto:[EMAIL PROTECTED]]
Enviado el: Martes, 23 de Abril de 2002 02:45 p.m.
Para: Eduardo Cancino
Asunto: RE: [OT] DBI-ODBC WIN2K
Eduardo
:[EMAIL PROTECTED]]
Enviado el: Martes, 23 de Abril de 2002 02:45 p.m.
Para: Eduardo Cancino
Asunto: RE: [OT] DBI-ODBC WIN2K
Eduardo,
Review your connect string. Make sure a user is specified. If not the CGI
script's 'user' (usually nobody) will be passed and the db will reject it.
HTH
Hi everybody, i'm new to perl and i want to connect to an access database.
I'm using DBI::ODBC but returns that it can connect to my database:
Can't connect to database: [Microsoft][ODBC Driver Manager] Data source name
not found and no default driver specified (SQL-IM002)(DBD:
I would recommend Win32::ODBC from http://www.roth.net
Its really easy to use
Mike
-Original Message-
From: Eduardo Cancino [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 4:11 PM
To: List Beginners Perl
Subject: ODBC - win2k
Hi everybody, i'm new to perl and i want
have
the DSN set up on your system.
-Original Message-
From: Eduardo Cancino [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 1:11 PM
To: List Beginners Perl
Subject: ODBC - win2k
Hi everybody, i'm new to perl and i want to connect to an access database.
I'm using DBI::ODBC
-Original Message-
From: Eduardo Cancino [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 4:11 PM
To: List Beginners Perl
Subject: ODBC - win2k
Hi everybody, i'm new to perl and i want to connect to an access
database.
I'm using DBI::ODBC but returns that it can connect to my database
Make sure you add an entry for the database to Control Panel / ODBC Data
Sources / System DSN (or File DSN).
-Original Message-
From: Eduardo Cancino [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 4:11 PM
To: List Beginners Perl
Subject: ODBC - win2k
Hi everybody, i'm new
to Control Panel / ODBC Data
Sources / System DSN (or File DSN).
-Original Message-
From: Eduardo Cancino [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 4:11 PM
To: List Beginners Perl
Subject: ODBC - win2k
Hi everybody, i'm new to perl and i want to connect to an access database.
I'm
11 matches
Mail list logo