| %%name | Name of your Project |
| %%myVer | The version the user is/was using (before the update completed) |
| %%newVer | The version the user is being updated to |
| %%n | New Line character |
| %%1 | Specific to particular message variable |
| %%2 | " |
name - The name of your softwareIf you wish, you can use the 'custom' variable to add more custom data to the url (for example: you could add a UserGUID to track update patterns). If you wish to add multiple custom params, you will have to concatenate and tokenize them yourself. To set the custom variable that will then always be passed to the StatURL on each update, run the updater with the -setcustomurlparam parameter (-setcustomurlparam VALUE).
gid - The global ID of your software
new - The version name of your software that the user is being updated to
old - The version name of your software that the user is being updated from
custom - Nothing by default, but you can set this to whatever you want
<?phpRemember to sanitize your variables when inserting them into SQL databases (you can use: mysql_real_escape_string($_POST['name']) in php), to avoid SQL Injection attacks.
$name = $_POST['name'];
$gid = $_POST['gid'];
$new = $_POST['new'];
$old = $_POST['old'];
// Here you would probably want to add these variables to a database or something...
?>