shell_exec & clamav

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-06-08T09:06:00Z Indexed on 2010/06/08 9:12 UTC
Read the original article Hit count: 278

Filed under:

When i call this: exec("clamscan --no-summary file.php", $out, $int); with good parameters, the script doen't finish. The file is too small and in console it comand duration is 2 seconds.

If i put incorrect parameter the script finished and return correcte errorcode.

With shell_exec it does the same.

© Stack Overflow or respective owner

Related posts about php