Page 1 of 1

php and exec

Posted: Sun Jul 21, 2002 12:54 am
by sonneveld
I'm trying to use exec to run a program in php. it's to display the dates inside a zip file (since the current zip module isn't compiled into the windows php and it doesn't support dates anywa)

anyway.. it doesn't work.. it just doesn't output anything.

<?php
   $stuff = exec("c:\apps\pkunzip.exe", $output, $res);
   echo ("result= $stuff - $output - $res <br>");
?>

any ideas?

- Nick