If they're all on the same server (computer), you can include a file with a filesystem path instead of a URL.
<?php
require_once("/usr/somepath/my_connection_file.php");
And that would actually be the better way to do it; you couldn't use an HTTP file that didn't output something, and you wouldn't want to output your credential to the WWW ;-)