cacert-webdb/includes/mysql.php.sample
2004-12-06 21:53:35 +00:00

21 lines
726 B
Text

<? /*
Copyright (C) 2004 by Duane Groth <duane_at_CAcert_dot_org>
This file is part of LibreSSL.
LibreSSL has been released under a LibreSSL license
which can be found included with these source files or can
be downloaded from the internet from the following address:
http://www.cacert.org/src-lic.php
LibreSSL is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the License for more details.
*/
mysql_connect("localhost", "username", "password");
mysql_select_db("database");
$_SESSION['_config']['securehostname'] = "secure.cacert.org";
$_SESSION['_config']['normalhostname'] = "www.cacert.org";
?>