php and exec

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
sonneveld

php and exec

Post 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
Post Reply