I am trying to use a 3rd party perl script within php.
The problem I am having is passing the variables from the php to the perl (I have succeeded the other way).
When I use ARGV[] within the perl having called the script using
$execfile = "perl auth.cgi $var1 $var2";, entries with spaces get split into different ARGV[] variables.
I of course do not want this to happen, and the 3rd party script wants strings with spaces or it will barf (there may also be a different quantity of spaces).
I wish to execute this file halfway through the PHP as input and the result has an effect of the outcome of the php script.
Am I going about this the wrong way
Thank you in advance =🙂