0
a help.I have the following code.
$output = shell_exec("php /sites/empresa/php/faturamento/gerar_fat_simulado.php ".$cliente.' '.$mes.' '.$ano.' '.$tipo);
It runs through the shell a fairly time-consuming routine that blocks the entire system until it is completed. I know that PHP does not work with Threads. Is there any way to make it not block the rest of the system? Thank you.
http://answall.com/questions/101626/como-executar-um-arquivo-com-php/101795#101795
– Inkeliz
This answer explains the problem when using sessions and how to avoid http://answall.com/a/57827/3635
– Guilherme Nascimento