To avoid "Notice : undefined variables " changed the way the cmd query
is built by validating each argument Not empty into the cmd command
string (update)
Comments about error coming from setting PHP Directive Display Errors to ON
Initializing arg1, arg2, ...arg9 ='' may be useful to avoid this problem when calling the API from a script
Error logic may break when you get this notifies on the response