Location: PHPKode > scripts > XID Registration/Authorizing System > xid-registrationauthorizing-system/uninstall.php
<?php
require("config.php");
if($adminpw != $cfgAdminPW){echo"$top UnAuthorized $bottom";exit;}
echo"$top<br><big><b>Deleting Status</b></big><br><br>";

	$dir="accounts";
	echo"Getting File names in $dir Directory<br>";
	$handle  = @opendir("$dir");
	$f = @readdir($handle);
	$f = @readdir($handle);
	while($f = @readdir($handle))
	{
	unlink("$dir/$f");
	echo "--Deleting $f From $dir Directory <br>";
	}
	@closedir($handle);
echo"-$dir Directory Is Now Empty!<br>";
rmdir($dir);

	$dir="ip";
	echo"Getting File names in $dir Directory<br>";
	$handle  = @opendir("$dir");
	$f = @readdir($handle);
	$f = @readdir($handle);
	while($f = @readdir($handle))
	{
	unlink("$dir/$f");
	echo "--Deleting $f From Directory $dir<br>";
	}
	@closedir($handle);
echo"$dir Directory Is Now Empty!<br>";
rmdir($dir);

echo"-Start Deleting Forum!<br>";
	$dir="topics";
	echo"Getting File names in $dir Directory<br>";
	$handle  = @opendir("$dir");
	$f = @readdir($handle);
	$f = @readdir($handle);
	while($f = @readdir($handle))
	{
	unlink("$dir/$f");
	echo "--Deleting $f From $dir Directory<br>";
	}
	@closedir($handle);
rmdir($dir);
echo"$dir Directory Is Now Empty!<br>";


	$handle  = @opendir("");
	$f = @readdir($handle);
	$f = @readdir($handle);
	while($f = @readdir($handle))
	{
	unlink("$f");
	echo "--Deleting $f<br>";
	}
	@closedir($handle);

echo"<br>---XID Completely Uninstalled!!<br>";
echo"$bottom";
?>
Return current item: XID Registration/Authorizing System