Re: [PHP] Unable to execute c++ .exe file from php - Resolved

2002-11-08 Thread Ladan Pickering
my c++ .exe file started running. Hope this helps someone else. If someone knows why PHP needs any cygwin dlls, I would be interested in knowing the reason. "Ladan Pickering" <[EMAIL PROTECTED]> wrote in message news:20021109025418.61843.qmail@;web11708.mail.yahoo.com... >

RE: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Ladan Pickering
uot;system" and "exec" commands are defined? Thanks --- Ernest E Vogelsinger <[EMAIL PROTECTED]> wrote: > At 00:00 09.11.2002, Ladan Pickering said: > [snip] > >When I look at the program (hello.exe) under > cygwin. > >

RE: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Ladan Pickering
this whole thread, but have > you ruled out > permissions problems? If you have NTFS, does > whatever user PHP is > running as have permission to run the program? > > ---John Holmes... > > > -Original Message- > > From: Ladan Pickering > [mailto:ladan_pi

Re: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Ladan Pickering
message news:5.1.1.6.2.20021108155320.03285f28@;mail.vogelsinger.at... > At 15:30 08.11.2002, Ladan Pickering spoke out and said: > [snip] > >I am unable to execute my c++ program from within PHP when it runs as a > >cgi in Apache. > >I am able to run: &

Re: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Ladan Pickering
xecute a file on the server? I have looked at php.net but had no luck. Thanks for your suggestions. "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:3DCBCF6B.905@;webglobe.sk... > escape your backslashes: > > $cmd = "c:\\abc\\hello.exe"; > >

[PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Ladan Pickering
I am unable to execute my c++ program from within PHP when it runs as a cgi in Apache. I am able to run: $cmd="dir c:\abc" system ($cmd, $errCode); and see the content of the directory, but I don't seem to be able to run a simple hello.exe (c++) file. $cmd = "c:\abc\hello.exe"; system ($cmd, $e