1<?php 2 3putenv('ODBCINI=/etc/odbc.ini'); 4putenv('ODBCSYSINI=/etc'); 5 6$dsn = getenv("ODBC_TEST_DSN"); 7$user = getenv("ODBC_TEST_USER"); 8$pass = getenv("ODBC_TEST_PASS"); 9 10if (false === $dsn) { 11 $dsn = 'myodbc3'; 12} 13if (false === $user) { 14 $user = 'root'; 15} 16if (false == $pass) { 17 $pass = ''; 18} 19 20