|
Posted by Jerry Stuckle on 08/24/07 11:30
jmuria@ole.com wrote:
> 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)
>
>
It may not matter that there is no output. It opens stdout/cout, which
may be enough. I'm not sure on a Windows machine.
Also, headers are ALWAYS required. The browser makes a request, the
server MUST respond with headers, even if no data is sent (otherwise the
browser will time out).
But this should not affect script execution. What's the real message
you're getting (translated, please, as best you can - I don't so Spanish).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|