Wouldn't be the easiest solution for implementing Online High Score just by using some database. There are several database components which alow easy acces to SQL based databases.
And since almost all WebServer providers offer you an easy way of establishing a database on their servers I don't see why not use it.
As for the web page which will alow viewing highscore list outside your game you can simply use PHP or some Java scripts to read those records from the database and show them in a webpage form.