Arg1: $argv[1]\n"); if( isset($argv[2]) != 0 ) { echo("Arg2: $argv[2]\n"); } else { echo("Arg2: empty\n"); } ?>