Now I want to do the very same with a DB on a "real" webserver. What do I have to change in the code above?For this case, let's assume these:My provider: http://www.exampleprovider.comLocation where my DB is located: rdbms.exampleprovider.comMy Database name: DBrealThe username to my Database: DBrealNameThe password to my Database: DBrealPassword

I tried this among others:I replaced "localhost" with "rdbms.exampleprovider.com"I assigned "$database" with "DBreal"I assigned "$user" with "DBrealName"I assigned "$password" with "DBrealPassword"

....but I only retrieved values for $serverpass. The value for $serveruser is empty. Could could say what I should put in the parameters? Thanks in advance.