Create onlinedb.php

Put into 
/application/libraries/