RE: [PHP] Where do I specify a DSN? v0.2

2002-07-25 Thread Andrew Hill
:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 2:55 PM To: php-general Subject: [PHP] Where do I specify a DSN? v0.2 List, Guess I should be more specific: Heres line four: $db = odbc_connect(somedsn,sa, ); My System: RedHat 7.3/Apache/PHP 4.1.2-7 I'm getting

[PHP] Where do I specify a DSN?

2002-07-01 Thread David Busby
List, I'm getting this error message...where does it come from? /B Warning: SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQLConnect in /var/www/html/index.php on line 4 -- PHP General Mailing List

RE: [PHP] Where do I specify a DSN?

2002-07-01 Thread Jay Blanchard
[snip] Warning: SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQLConnect in /var/www/html/index.php on line 4 [/snip] Could we see line 4? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Where do I specify a DSN?

2002-07-01 Thread Lazor, Ed
It depends on your operating system. This is a Windows system level configuration option. For example, in Windows 2000, you'd configure DSN's in Start-Settings-Control Panel-Administrative Tools-Data Sources(ODBC) -Original Message- I'm getting this error message...where does

[PHP] Where do I specify a DSN? v0.2

2002-07-01 Thread David Busby
List, Guess I should be more specific: Heres line four: $db = odbc_connect(somedsn,sa, ); My System: RedHat 7.3/Apache/PHP 4.1.2-7 I'm getting this error message...I think I just need to define the DSN...is that done in /etc/odbc.ini? Or what? /B Warning: SQL

RE: [PHP] Where do I specify a DSN? v0.2

2002-07-01 Thread Jay Blanchard
What kind/version of DB? -Original Message- From: David Busby [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 2:55 PM To: php-general Subject: [PHP] Where do I specify a DSN? v0.2 List, Guess I should be more specific: Heres line four: $db = odbc_connect