3 Nov 2005 19:26
Re: Just installed 4.66 and not making any progress
Denis Grannell <denisg <at> online.de>
2005-11-03 18:26:29 GMT
2005-11-03 18:26:29 GMT
Hi Folks,
I've got my connection working now - I used the
following code suggested by Alfredo Yong.
$ADODB['adodb_path']= 'adodb';
$ADODB['host'] = 'host_name_or_ip';
$ADODB['user'] = 'my userid';
$ADODB['password'] = 'my password';
$ADODB['database_type'] = 'postgres';
$ADODB['database_name'] = 'my database name';
include("{$ADODB['adodb_path']}/adodb.inc.php");
$db = NewADOConnection($ADODB['database_type']);
$db->Connect($ADODB['host'], $ADODB['my userid'], $ADODB['my password'],
$ADODB['my database_name']);
I must have had a type somewhere in the code
at the start, but it's OK now.
Many thanks to everyone that replied.
cheers,
Denis
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
(Continue reading)
RSS Feed