You are here: Re: Using Exec Function « PHP « IT news, forums, messages
Re: Using Exec Function

Posted by "Davide Pasqualini" on 06/17/05 15:50

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация