Location: PHPKode > scripts > Sync DB Content > sync-db-content/test3.php
<form name="form1" method="post" action="test3.php" enctype="multipart/form-data">
  <input type="file" name="file">
  <input type="submit" name="Submit" value="Submit">
</form>
<?
if($_POST['Submit']) {
include("sync.php");
	if (is_uploaded_file($_FILES['file']['tmp_name'])){

		$syncfile = new SyncDBContent("webhosting","quotes","x2345","hajimete4532");
		$syncfile->exec_syncfile($_FILES['file']['tmp_name']);

	 } else {
		echo "error on uploading file";
	}
}
?>
Return current item: Sync DB Content