I did as You suggested:

<?php
$win_cmd = "\"C:\\Hello.exe\"";
exec($win_cmd, $stdout, $stderr);
print "Standard output:\n";
print_r($stdout);
print "Standard error:\n";
print_r($stderr);
?>

but Hello.Exe, a very simple program, doesn't run and my browser seems
waiting something from the server.

Can I run a program (exe file) in another way ?

Thank in advance for your help.

Davide

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to