<?php

$parameters = json_encode($_GET);

$fmpURL = "FMP://$/".$_GET['database']."?script=".$_GET['script']."&param=".urlencode($parameters);

?>

<!DOCTYPE html>

<body>

<h1 class="text-5xl mb-2"> Thank You! </h1>

<h2 class="text-3xl font-thin">

<p>Your authentication information is being passed into your FileMaker database now. Schedule a consultation for assistance toward your vision!</p>

</h2>

<script>

window.open('','_self');

self.location="<?=$fmpURL?>";

</script>

</body>

</html>