If you don't want to specify your login credentials on your web server, you can leave the login fields blank to use the integrated windows security like here:
odbc_connect("DSN=DataSource","","");
Make sure you have switched your system dsn to integrated security, too !
(works on windows machines only, of course)
flo.