I solved,
informations here http://nch.com.au/ivm/sdk.html#AAD are wrong:
Argument 1: -q (prevents HTTP headers being sent)
Argument 2:
Arguments 3+: Arguments to pass to PHP script
should be
Argument 1: -q (prevents HTTP headers being sent)
Argument 2: script path
Arguments 3+: Arguments to pass to PHP script
BTW the script on the same page has syntax errors 
This is what I use for a test
<?php
if ($argv[1] == 1234)
{
echo "NextOGM=1";
}
else
{
echo "NextOGM=2";
}
?>