Posted by Jerry Stuckle on 08/24/07 16:46
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)
>
>
BTW - I still go back to a possible security issue. Does the webserver
user have permission to execute the C++ program?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|