Is there any way to get a php variable from a procedure progress?
In php execute a procedure .r using exec function, complete the procedure and I want to read it returns a value from php.
In codigo.php do this:
exec(' "C:\Program Files\PROGRESS\OpenEdge\bin\prowin32.exe" -db X -N X -S X -H X -U X -P X -p C:\ruta\proceso.r -param ' . $_SESSION['Parametros'] . ');
the idea or what I want is:
$variablePhp = valorSalida
where:
proceso.p
output parameter valorSalida
In php execute a procedure .r using exec function, complete the procedure and I want to read it returns a value from php.
In codigo.php do this:
exec(' "C:\Program Files\PROGRESS\OpenEdge\bin\prowin32.exe" -db X -N X -S X -H X -U X -P X -p C:\ruta\proceso.r -param ' . $_SESSION['Parametros'] . ');
the idea or what I want is:
$variablePhp = valorSalida
where:
proceso.p
output parameter valorSalida