Database version of weather & stock php files