Location: PHPKode > scripts > Dynamic FreeDNS IP Address Update Client > dynamicfreedns_1_1/dbconnect.php
<?php
/* Dynamic FreeDNS Configuration Below */

$con2 = mysql_connect("YOUR DATABASE HOSTNAME","YOUR DATABASE USERNAME","YOUR DATABASE PASSWORD");

/* Dynamic FreeDNS Configuration Above */

if (!$con2)
  {
  die('Could not connect: ' . mysql_error());
  }

/* Dynamic FreeDNS Configuration (Optional) Below */
/* If you named your database something other than "dynamicfreedns," change it below. */

mysql_select_db("dynamicfreedns", $con2);

/* Dynamic FreeDNS Configuration (Optional) Above */

?>
Return current item: Dynamic FreeDNS IP Address Update Client