connection string in separate file conf.php

to all pages that use connect() added: require 'conf.php';