Hello, On Mittwoch, 14. November 2007, Varun Vijayvargiya wrote: > 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); More a PHP question than a pam-question escapeshellcmd will even escape the " " between $uname and $upass. So this should be right: $command="./pampgm.o ".escapeshellcmd($uname)." ".escapeshellcmd($upass); Stefan > passthru($command); > > $uname and $upass are two variables that were entered into a HTML form > > but the code is not executing correctly _______________________________________________ Pam-list mailing list Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list