| 
<?php
 // This code is for example only, never leave this script on your website witout htpasswd or another protection.
 $SECRET_KEY = 'mySecretKey12345679';
 $SERVER = $_SERVER['HTTP_HOST'];
 $PAGE = '/'; // URL , best default to your project index.php
 $USER = '[email protected]';
 $TOKEN = md5($SECRET_KEY . '-' . $USER . '-' . $SERVER);
 
 // Example url
 echo 'http://'.$SERVER.'/'.$PAGE.'?xid='.$USER.'&xtk='.$TOKEN;
 |