Reply to Re: Using exec function to get a .exe return status gives CGI Error

Your name:

Reply:


Posted by jmuria on 08/24/07 07:45

Thanks to both of you.

I write the PHP code

exec("myapp.exe ".$_POST["password"]." ". $cifrado[0]["PASSWORD"] ,
$output,$result);
echo $result;

if($result== 1)
{
....

The language is C++ but there is not printf or cout to generate any
text output. If I execute the command with cmd (I use Windows 2003
Server) the command is executed without problems (and no text output)

[Back to original 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

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