I am trying to call a PAM code from within a PHP scipt and also passing 2 parameters like this $args=$uname." ".$upass; $command="./pampgm.o ".escapeshellcmd($args); passthru($command); $uname and $upass are two variables that were entered into a HTML form but the code is not executing correctly