In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Dave Vanauken) wrote:
> normally this would easily be solved passing the command as
> $command="myscript.pl $name $phone $ccnum";
> $results=passthru($command);
> and parsing out the argv's in the perl script
>
> however, this breaks if $name happens to have a space in it (or other
> restricted
> or special characters like ' \ ; and so forth)
Check out <http://www.php.net/manual/en/function.escapeshellarg.php> and
<http://www.php.net/manual/en/function.escapeshellcmd.php>
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]