<HTML>
<HEAD>
<TITLE>Dynamic FreeDNS IP Address Updater Reset IP Address</TITLE></HEAD>
<BODY>
<H2>Dynamic FreeDNS IP Address Updater Reset the IP Address in the Database:</H2>
<?php
include "dbconnect.php";
$remoteip="0.0.0.0";
$sql = "UPDATE lastip SET lastip='$remoteip' WHERE 'lastip'!='$remoteip' && 'lastip'!=''";
if (!mysql_query($sql,$con2))
{
die('Error: ' . mysql_error());
}
include "closedb.php";
echo "Stored ip address in the database has been reset to 0.0.0.0 for testing purposes. You can now update your dynamic i.p. address by running "dfdns.php" or by letting your scheduler run it.";
include "footer.php";
?>