RE: [PHP] How to Execute Exe File from PHP

2008-10-22 Thread Ian
On 22 Oct 2008 at 2:14, Alice Wei wrote: > > HI, > > To answer your questions, I run this on Windows. What is so weird is > that when I do > > $a= shell_exec("C:\Inetpub\wwwroot\/test.exe -m$market -d$length"); echo > $a; > > It works, and echoes everything as it is supposed to, and the

RE: [PHP] How to Execute Exe File from PHP

2008-10-21 Thread Alice Wei
HI, To answer your questions, I run this on Windows. What is so weird is that when I do $a= shell_exec("C:\Inetpub\wwwroot\/test.exe -m$market -d$length"); echo $a; It works, and echoes everything as it is supposed to, and the file is also generated like I expected. However, the PHP file

Re: [PHP] How to Execute Exe File from PHP

2008-10-21 Thread Paulo Sousa
neral@lists.php.net > > From: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > Date: Mon, 20 Oct 2008 21:51:23 +0100 > > Subject: Re: [PHP] How to Execute Exe File from PHP > > > > On 20 Oct 2008, at 21:47, Alice Wei wrote: > > > Has anyone tried to execu

RE: [PHP] How to Execute Exe File from PHP

2008-10-21 Thread Alice Wei
hp.net > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Date: Mon, 20 Oct 2008 21:51:23 +0100 > Subject: Re: [PHP] How to Execute Exe File from PHP > > On 20 Oct 2008, at 21:47, Alice Wei wrote: > > Has anyone tried to execute an .exe file from PHP? I am > > cu

RE: [PHP] How to Execute Exe File from PHP

2008-10-20 Thread Alice Wei
o: [EMAIL PROTECTED] > Subject: Re: [PHP] How to Execute Exe File from PHP > CC: [EMAIL PROTECTED]; php-general@lists.php.net > > On Mon, Oct 20, 2008 at 4:51 PM, Stut wrote: >> >> 4) There is no 4! > > This is how the HTTP error code came about in the first place. &

Re: [PHP] How to Execute Exe File from PHP

2008-10-20 Thread Daniel Brown
On Mon, Oct 20, 2008 at 4:51 PM, Stut <[EMAIL PROTECTED]> wrote: > > 4) There is no 4! This is how the HTTP error code came about in the first place. Someone heard someone else calling for your missing number. "Four?!? Oh, four?!?" -- http://www.parasane.net/ [New Look] [EMAIL PROTECT

Re: [PHP] How to Execute Exe File from PHP

2008-10-20 Thread Stut
On 20 Oct 2008, at 21:47, Alice Wei wrote: Has anyone tried to execute an .exe file from PHP? I am currently stuck in a situation where I cannot execute the script, and all I am getting is a blank screen. This is my code snippet used to execute the file: //execute program $a = @shell_exec("C:

Re: [PHP] How to Execute Exe File from PHP

2008-10-20 Thread Dan Joseph
On Mon, Oct 20, 2008 at 4:47 PM, Alice Wei <[EMAIL PROTECTED]> wrote: > > > > Hi, > > Has anyone tried to execute an .exe file from PHP? I am > currently stuck in a situation where I cannot execute the script, and > all I am getting is a blank screen. > > This is my code snippet used to execute t

[PHP] How to Execute Exe File from PHP

2008-10-20 Thread Alice Wei
Hi, Has anyone tried to execute an .exe file from PHP? I am currently stuck in a situation where I cannot execute the script, and all I am getting is a blank screen. This is my code snippet used to execute the file: //execute program $a = @shell_exec("C:\Inetpub\wwwroot\test/test.exe"