Ho inserito il codice che mi hai proposto ed il risultato è:

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Inetpub\ftproot\partenosped\groupage\auth.php on line 6

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\Inetpub\ftproot\partenosped\groupage\auth.php on line 6

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Inetpub\ftproot\partenosped\groupage\auth.php on line 7

Quindi, probabilmente, i permessi alla cartella che contiene il database vanno dati anche a all'user ODBC, solo che non riesco a trovarlo tra gli utenti del server...