Re: [PHP-WIN] @EXEC command not work :(

2010-05-25 Thread Sascha Meyer
Hello Stephane, Hi Niel, > > ... > > but if we move the PHP script from \\xxx.xxx.xxx.xxx\scriptdir\ > > to c:\scriptdir\ then it's work !! > ... > Is this operating in a CLI or web-server environment? If it is > web-server then it is probably a permissions issue. By default > Apache/PHP do NOT ha

Re: [PHP-WIN] @EXEC command not work :(

2010-05-25 Thread Richard Quadling
On 24 May 2010 19:35, loki wrote: > Hello, > > PHP is installed in c:\program files\php > the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\ > in the PHP script, we try to launch the command @exec(...) with a executable > located in c:\program files\ourexecutable\ > > it's not work :

Re: [PHP-WIN] @EXEC command not work :(

2010-05-25 Thread loki
I have a begin of explanation When PHP is run as CGI it's work but with this header message : '\\xxx.xxx.xxx.xxx\scriptdir' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory. Status: 200 OK X-Powered-By: PHP/5.2.8 Cont

Re: [PHP-WIN] @EXEC command not work :(

2010-05-24 Thread Niel Archer
> Hello, > > PHP is installed in c:\program files\php > the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\ > in the PHP script, we try to launch the command @exec(...) with a > executable located in c:\program files\ourexecutable\ > > it's not work :( > > but if we move the PHP sc

[PHP-WIN] @EXEC command not work :(

2010-05-24 Thread loki
Hello, PHP is installed in c:\program files\php the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\ in the PHP script, we try to launch the command @exec(...) with a executable located in c:\program files\ourexecutable\ it's not work :( but if we move the PHP script from \\xxx.xx

Re: [PHP-WIN] exec() problem

2005-12-22 Thread Fábio Ottolini
, Fábio Ottolini - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Wednesday, December 21, 2005 1:30 PM Subject: RE: [PHP-WIN] exec() problem [snip] The same script works fine in another win2k box running PHP version 5. St

RE: [PHP-WIN] exec() problem

2005-12-21 Thread Jay Blanchard
[snip] The same script works fine in another win2k box running PHP version 5. Strange is that if I add print $result; right after exec ( $command, $result ); nothing is printed. When the script runs on the machine that works it prints Array obviously. So, my guess is that $command is never being ex

Re: [PHP-WIN] exec() problem

2005-12-21 Thread trystano
gt; To: php-windows@lists.php.net Sent: Wed, 21 Dec 2005 13:03:58 +0100 Subject: Re: [PHP-WIN] exec() problem Fábio Ottolini wrote: > To clarify it a little bit more, I have changed the code a bit: > > $command = "nslookup -type=mx $domain 2>&1"; > > exec ( $command, $r

Re: [PHP-WIN] exec() problem

2005-12-21 Thread El Bekko
27;>'-- Mensagem Original -- '>'Date: Tue, 20 Dec 2005 10:43:48 -0200 '>'From: Fábio Ottolini <[EMAIL PROTECTED]> '>'Reply-To: [EMAIL PROTECTED] '>'To: php-windows@lists.php.net '>'Subject: [PHP-WIN] exec() problem &#

RE: [PHP-WIN] exec() problem

2005-12-20 Thread Fábio Ottolini
nal -- '>'Date: Tue, 20 Dec 2005 10:43:48 -0200 '>'From: Fábio Ottolini <[EMAIL PROTECTED]> '>'Reply-To: [EMAIL PROTECTED] '>'To: php-windows@lists.php.net '>'Subject: [PHP-WIN] exec() problem '>' '&

[PHP-WIN] exec() problem

2005-12-20 Thread Fábio Ottolini
Dear Comrades, Can someone please explain why this is script is not working on my win2k box with PHP 4.3.4? "; print $mx[0][1]; ?> The same script works fine in another win2k box running PHP version 5. Strange is that if I add print $result; right after exec ( $command, $result ); nothi

Re: [PHP-WIN] Exec problem (using Winzip - command line)

2005-11-16 Thread Chuck Anderson
No. Nothing in either log file. [EMAIL PROTECTED] wrote: Are you getting anything in your Apache Error/Event logs? Tryst -Original Message- From: Chuck Anderson <[EMAIL PROTECTED]> To: php-windows@lists.php.net Sent: Mon, 14 Nov 2005 16:31:57 -0700 Subject: [PHP-WIN] Exec p

Re: [PHP-WIN] Exec problem (using Winzip - command line)

2005-11-16 Thread trystano
Are you getting anything in your Apache Error/Event logs? Tryst -Original Message- From: Chuck Anderson <[EMAIL PROTECTED]> To: php-windows@lists.php.net Sent: Mon, 14 Nov 2005 16:31:57 -0700 Subject: [PHP-WIN] Exec problem (using Winzip - command line) I wrote a script to bac

[PHP-WIN] Exec problem (using Winzip - command line)

2005-11-14 Thread Chuck Anderson
I wrote a script to backup my Thunderbird user profile every night by zipping the whole profile (with subfolders) into a zip file. I use exec to call Winzip with command line parameters (see - http://www.memecode.com/docs/winzip.html) The script worked fine until I tried it under my Apache 2.

[PHP-WIN] exec() IIS 5 php

2004-11-02 Thread Xavier Barmaz
Hello, I'm running php 4.3.4 on IIS 5 with ISAPI. I want to execute a script which open Matlab (mathematical software) and then open a specific file into matlab. Everything works the way I want on the serveur through the command line php.exe. However, with a php script through a web browser the fo

[PHP-WIN] exec() on WIMP systems

2002-10-02 Thread MWCT - Markus Weber
Hi, may be someone can help me: I want to use the exec() function to run an executable as background process. This means my php script should not wait for the end of the background process. I tried a lot but without success. My script always wait for the end of the background process. My php sc

[PHP-WIN] exec() without waiting for completion in Win2k

2002-09-08 Thread Noel Llopis
Hello, I'm working on a web front-end for our build system. One of the things I need to do is allow the user to start a lengthy build in the back and continue using the web page. Unfortunately, I can't find out how to do it. I can start the build, but the web page won't complete loadinguntil th

[PHP-WIN] Exec command not working.

2002-09-05 Thread Kurtis Harper
Hi, I am running IIS 5 and php 4.2 I will give a lilltle background on what I am trying to do, I am trying to run a program called convert.exe through php. This program will take a jpg and reduce the resolution of the jpg. The command format the works from the Command Line is: convert -size 10x

Re: [PHP-WIN] Exec

2002-07-22 Thread charlesk
The file I am trying to execute can be executed by Everyone. This command works when I specify the local server and it does not work when I specify a different server. The dnscmd.exe works for both local and remote servers when run from a command line. Charles -- Original Message

RE: [PHP-WIN] exec(), passthru()

2002-07-16 Thread Mikey
he first command cannot redirect it's output to STDOUT (i.e. the console window) > -Original Message- > From: Matt Babineau [mailto:[EMAIL PROTECTED]] > Sent: 16 July 2002 17:12 > To: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] exec(), passthru() > > > What do

RE: [PHP-WIN] exec(), passthru()

2002-07-16 Thread Matt Babineau
:41 AM To: Matt Babineau; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] exec(), passthru() How about: passthru ("command1 > command2"); or passthru ("command1 | command2"); HTH Mikey > -Original Message- > From: Matt Babineau [mailto:[EMAIL PROTECTED]] &g

RE: [PHP-WIN] exec(), passthru()

2002-07-16 Thread Mikey
How about: passthru ("command1 > command2"); or passthru ("command1 | command2"); HTH Mikey > -Original Message- > From: Matt Babineau [mailto:[EMAIL PROTECTED]] > Sent: 16 July 2002 16:26 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] exec(), pas

[PHP-WIN] exec(), passthru()

2002-07-16 Thread Matt Babineau
I am trying to run one command, then run a second command to pull the results from the first command. is there a way to do this? Its seems when I run the first command like passthru(command1) then run the second command to get the results from the first passthru(command2) the results of co

Re: [PHP-WIN] Exec

2002-07-10 Thread charlesk
When I look in the task manager the php.exe is running as me. The only way that it doesnt work is when I run it from the web and try to get info off another server. Localhost works fine in all cases. When I try to get info off another server it only fails when I make the request from the web

Re: [PHP-WIN] Exec

2002-07-10 Thread Scott Carr
Sounds like a permissions problem. Everywhere else you are running as you or root. Under the Web Server, you are probably running as "Nobody". Check permissions on the file you are trying to execute. -- Scott Carr OpenOffice.org Documentation Maintainer http://documentation.openoffice.org/

[PHP-WIN] Exec

2002-07-10 Thread charlesk
I am trying to get php to create a DNS entry on a different server. When I open a command shell and enter the command it works fine. ( (dnscmd.exe servername /EnumRecords domainname @) OR (dnscmd.exe IPaddress /EnumRecords domainname @) When I have php exec() the same command from a command line

[PHP-WIN] EXEC and Windows

2002-05-17 Thread BERNARD Florent
Hello I try to use EXEC function to execute a command line. The command line is correct but the exec doesn't return anything. Have you any idea about it ? I give you my source : exec('"c:\progra~1\swish-e\swish-e.exe" -w "test" -f C:/Progra~1/EasyPHP/www/atelier_dev/data/index.swish-e',$out);

[PHP-WIN] exec error ("A specified logon session does not exist. It may already have been terminated.")

2002-03-11 Thread Michael Hall
I'm trying to use exec (or system) to create NT user accounts on our domain. My plan was to add a user on the command line with the "net user /domain" command. This has to be executed on the PDC (NT 4 service pack 6) rather than on the web server (which is 2000, but I'm not sure that matters)

[PHP-WIN] exec, system on win2k

2001-11-21 Thread Doug Brewer
I know this topic probably comes up from time to time, but I wanted to get up to date feedback. on php 4.06/win2k, exec(), system(), and passthru() work only sporadically, in spite of the change notes for 4.06 that state the "exec family" problem was fixed. For instance, try some simple shell co

[PHP-WIN] exec using IIS

2001-11-10 Thread Golden D. Blount
I have a PHP program that works fine if I am running Apache, but breaks using IIS. The piece that breaks is an exec function call. I am calling exec with a command that pipes 3 programs together and redirects the stdout to a file. When it is run from Apache, it works. When it is run from II

Re: [PHP-WIN] Exec() again

2001-10-10 Thread CJD
exec() will execute the app as the system, not a user, so cannot interact with the desktop. One way of getting around this would be (for NT) to use the exec() command to create an AT schedule for 1 min in the future and set it to /interactive which would cause the app to load and interact with th

Re: [PHP-WIN] Exec() again

2001-10-10 Thread Ross Fleming
he page would hang? PHP waits for exec to finish first. Rerouting the output to a blank file should do the trick. Hope it helps Ross -Original Message- From: Yaroukh [mailto:[EMAIL PROTECTED]] Sent: 10 October 2001 15:55 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Exec() again This

Re: [PHP-WIN] Exec() again

2001-10-10 Thread Yaroukh
This works: Exec("mkdir myDirectory"); ... this doesn't: Exec("C:\\Program Files\\WinAmp\\winamp.exe"); -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EM

Re: [PHP-WIN] Exec() again

2001-10-10 Thread Yaroukh
I haven't wrote I want to execute anything on user's PC. /:o) Where did you read this? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP-WIN] Exec() again

2001-10-10 Thread Ross Fleming
er. Any sort of php function that could make the users pc do something wouldn't be php. It'd be html, xml, jscript etc. Sorry Ross -Original Message- From: Yaroukh [mailto:[EMAIL PROTECTED]] Sent: 10 October 2001 12:55 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Exec() again Hi

[PHP-WIN] Exec() again

2001-10-10 Thread Yaroukh
Hi there Is anybody able to run an external application from PHP? (under Win32) I mean to run WinAmp for example? (or new explorer window) Have a nice day [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

RE: [PHP-WIN] Exec command still doesn't on Win2K and IIS

2001-06-30 Thread choiks
[EMAIL PROTECTED] (BAMHA Mostafa Ftmms) wrote in 6F80F42D4777D4119359001083FCBB9E138CF2@ISSYNTSF02:">news:6F80F42D4777D4119359001083FCBB9E138CF2@ISSYNTSF02: > The program i tested is very simple. This is the php code > echo "test ..."; > exec("dir c:\\"); > ?> > ## you can't fin

RE: [PHP-WIN] Exec command still doesn't on Win2K and IIS

2001-06-28 Thread BAMHA Mostafa Ftmms
>exec(), system(), ... work well in isapi mode in php 4.0.6. >check your code!! >then post your code!! Hi, The program i tested is very simple. This is the php code ## the execution of this script is : test ... Warning: Unable to fork [dir c:\] in c:\inetpub\wwwroot\manager_4\te

Re: [PHP-WIN] Exec command still doesn't on Win2K and IIS

2001-06-28 Thread choiks
[EMAIL PROTECTED] (BAMHA Mostafa Ftmms) wrote in 6F80F42D4777D4119359001083FCBB9E138CF0@ISSYNTSF02:">news:6F80F42D4777D4119359001083FCBB9E138CF0@ISSYNTSF02: > Hi all, > I'm using the ISAPI version of PHP-4.0.6 on Win2K but the Exec command > still doesn't > work on Win2K and IIS. > > However,

Re: [PHP-WIN] Exec command still doesn't on Win2K and IIS

2001-06-27 Thread Johan Lundqvist
Your'e correct. When using PHP as ISAPI there's still problems with program execution (exec, system et.c.) in ver. 4.0.6 CGI version still works better... /Johan BAMHA Mostafa Ftmms wrote: > > Hi all, > I'm using the ISAPI version of PHP-4.0.6 on Win2K but the Exec command still > doesn't > wor

[PHP-WIN] Exec command still doesn't on Win2K and IIS

2001-06-27 Thread BAMHA Mostafa Ftmms
Hi all, I'm using the ISAPI version of PHP-4.0.6 on Win2K but the Exec command still doesn't work on Win2K and IIS. However, it has been mentionned in the ChangeLog of PHP-4.0.6 that popen and exec problems on Win2k were fixed in this version. Is there any change in the configuration? or Wh

[PHP-WIN] Exec() and Windows 2000 SP1

2001-05-17 Thread Philip J. Murphy
I have tried running the PHP funciton exec() on a Microsoft Windows 2000 (5.00.2195 Service Pack 1) box and it does not run. The cmd.exe process loads but just sits there, as if it either crashed quietly or is still waiting for something (like it doesn't know how to process the request). The same

Re: [PHP-WIN] Exec and IIS

2001-05-14 Thread Alain Samoun
Exec doesn't work in win32, wait for php4.06 where apparently it has been fixed. (See www.php4win.de for a prerelease). Alain On Mon, May 14, 2001 at 06:00:12AM -0700, Nick Howard wrote: > Hello, > > I feel like I'm beating a dead horse (I think that's > the saying), but I'm having trouble with

[PHP-WIN] Exec and IIS

2001-05-14 Thread Nick Howard
Hello, I feel like I'm beating a dead horse (I think that's the saying), but I'm having trouble with IIS and exec. I've read everything I can find on the subject, but I'm still unclear on a few things. What I want to do is fairly simple. Basically, some user will come to my page and select an opt

Re: [PHP-WIN] exec() fix

2001-05-07 Thread Daniel Beulshausen
At 22:55 07.05.2001 +0300, Matti Palosuo wrote: >I guess I'm not the only one who've had problems using external programs >in Win2k. About the unable to fork bug in the bug reporting pages: > > "fixed in cvs, wait for 4.0.6" > >To the question: Does anyone have pre-compiled binaries with this bu

[PHP-WIN] exec() fix

2001-05-07 Thread Matti Palosuo
I guess I'm not the only one who've had problems using external programs in Win2k. About the unable to fork bug in the bug reporting pages: "fixed in cvs, wait for 4.0.6" To the question: Does anyone have pre-compiled binaries with this bug fixed? I have very little chances to get PHP compiled

Re: [PHP-WIN] Exec()

2001-04-13 Thread Helmut Himmelstoss
I think, it is a problem of my Win2k and IIS5. Wenn i use the script c:\\ping.txt' , $returnstring); ?> then I get a textfile with the right result: - Ping wird ausgefhrt fr 127.0.0.1 mit 32 Bytes Daten: Antwort von 127.0.0.1: Bytes=32 Zeit<

Re: [PHP-WIN] Exec()

2001-04-13 Thread Patrick
""Guido E. Smit"" <[EMAIL PROTECTED]> wrote in message 9b4tur$6ah$[EMAIL PROTECTED]">news:9b4tur$6ah$[EMAIL PROTECTED]... > I have the same problem, running W2K and IIS5: > print "\n"; > exec('LUII.exe rpc3.ingrammicro.com 058DY12 1', $returnstring, $returnvar); > print "Return var: ".$returnva

Re: [PHP-WIN] Exec()

2001-04-12 Thread Guido E. Smit
I have the same problem, running W2K and IIS5: print "\n"; exec('LUII.exe rpc3.ingrammicro.com 058DY12 1', $returnstring, $returnvar); print "Return var: ".$returnvar."\n"; print "Printing output ".count($returnstring)." lines:\n"; print "\n"; while (list($line, $text) = each($returnstring))

Re: [PHP-WIN] Exec()

2001-04-12 Thread Patrick
""Helmut Himmelstoss"" <[EMAIL PROTECTED]> wrote in message 9b21na$iu7$[EMAIL PROTECTED]">news:9b21na$iu7$[EMAIL PROTECTED]... > I copied the Program Ping.exe to the same directory as my script and the > User the IUSR_[Machine name] hast the permissions. > > echo""; > $dd=system("ping p

Re: [PHP-WIN] Exec()

2001-04-11 Thread Helmut Himmelstoss
I copied the Program Ping.exe to the same directory as my script and the User the IUSR_[Machine name] hast the permissions. "; $dd=system("ping ping 127.0.0.1"); echo "$dd ;;this is a system-test"; echo ""; ?> The result is the same.. no result: ;;this is a system-te

Re: [PHP-WIN] Exec()

2001-04-11 Thread Olivier Hubert
At 18:03 2001-04-11 +0200, Helmut Himmelstoss wrote: >it did'nt works. I get no result. I work in CGI Mode under WinNT and IIS5 Did you check the permissions for ping.exe? Does the IUSR_[Machine name] or whatever user executes PHP.exe have the rights to read/execute ping.exe? Very often, anonymou

Re: [PHP-WIN] Exec()

2001-04-11 Thread Helmut Himmelstoss
it did'nt works. I get no result. I work in CGI Mode under WinNT and IIS5 ""Patrick"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 9b1niq$hqa$[EMAIL PROTECTED]">news:9b1niq$hqa$[EMAIL PROTECTED]... > > ""Helmut Himmelstoss"" <[EMAIL PROTECTED]> wrote in message > 9avht3$kc3$[EMAIL PROTECTED]">news:

Re: [PHP-WIN] Exec()

2001-04-11 Thread Patrick
""Helmut Himmelstoss"" <[EMAIL PROTECTED]> wrote in message 9avht3$kc3$[EMAIL PROTECTED]">news:9avht3$kc3$[EMAIL PROTECTED]... > HI, > > system(), exec() etc. don't work properly under Windows. > they just don't hand back the output. > > Has anyone got these functions working (e.g. Ping.exe)?? >

[PHP-WIN] Exec()

2001-04-10 Thread Helmut Himmelstoss
HI, system(), exec() etc. don't work properly under Windows. they just don't hand back the output. Has anyone got these functions working (e.g. Ping.exe)?? THX Helmut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

RE: [PHP-WIN] Exec() In Windows

2001-04-05 Thread alain samoun
zugut'; '[EMAIL PROTECTED]' Subject: RE: [PHP-WIN] Exec() In Windows Hello, I went through the same problems but got some help from a coworker. Oliver was right about the user ID. what you can do is change the .exe to an ActiveX.dll COM object. Then add it to a MTS pac

RE: [PHP-WIN] Exec() In Windows

2001-04-05 Thread Dale Heil
or c++ to access Outlook. Hope this helps. -Original Message- From: zugut [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 04, 2001 5:28 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Exec() In Windows Hi, I have the same problem, I don't understand the problem. "Keit

RE: [PHP-WIN] Exec() In Windows

2001-04-04 Thread Robin Bolton
er, or gain CVS access and make the contribution yourself. > -Original Message- > From: Jason Gan [mailto:[EMAIL PROTECTED]] > Sent: April 4, 2001 7:10 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] Exec() In Windows > > > Dear Ladies and Gents, > >

RE: [PHP-WIN] Exec() In Windows

2001-04-04 Thread Jason Gan
uot;. :0) -- Jason -Original Message- From: Olivier Hubert [mailto:[EMAIL PROTECTED]] Sent: Thursday, 5 April 2001 8:06 AM To: zugut; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Exec() In Windows Hi, You've probably already looked into this, but I just wanted to be sure: have you ch

RE: [PHP-WIN] Exec() In Windows

2001-04-04 Thread James Moore
> >Hi, > > > >I have the same problem, I don't understand the problem. > > > > > > > >"Keith Stevenson" <[EMAIL PROTECTED]> wrote in message > >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >> Hi, > >> Im having a Problem running an application from a PHP page using the > >> Exec() function (as w

Re: [PHP-WIN] Exec() In Windows

2001-04-04 Thread Olivier Hubert
Hi, You've probably already looked into this, but I just wanted to be sure: have you checked the persmissions on "Application.exe" ? I believe PHP uses IUSR_Computer (where Computer is your computer name) to exec() anything so if IUSR_Computer doesn't have the rights to read+execute the p

Re: [PHP-WIN] Exec() In Windows

2001-04-04 Thread zugut
Hi, I have the same problem, I don't understand the problem. "Keith Stevenson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > Im having a Problem running an application from a PHP page using the > Exec() function (as well as all the other program exec

RE: [PHP-WIN] exec/system/passthru ??????

2001-03-15 Thread Fernando Madruga
Is the program a simple one or does it have an elaborate look and feel? If it's a simple one, you can probably generate a file, then redirect the program's input to accept the data from that file; if it's a more elaborated program, it will probably disregard standard input, so it's a lot harder to

Re: [PHP-WIN] exec/system/passthru ??????

2001-03-15 Thread Josh Seward
MAIL PROTECTED]> Sent: Thursday, March 15, 2001 10:48 AM Subject: RE: [PHP-WIN] exec/system/passthru ?? Why would you want to leave a program running in the background, if you're using it to generate content? First, I believe that Windows NT/2K does not accept or like the amper

RE: [PHP-WIN] exec/system/passthru ??????

2001-03-15 Thread Fernando Madruga
ng whatever it has to do just before exiting... :) HTH, Fernando Madruga -Original Message- From: Josh Seward [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 15:10 To: [EMAIL PROTECTED] Subject: [PHP-WIN] exec/system/passthru ?? I am trying to open a program and le

[PHP-WIN] exec/system/passthru ??????

2001-03-15 Thread Josh Seward
I am trying to open a program and leave it running in the background. The script will always hang until I close the program that it opens? Here is my code $result = passthru($command."& 1> output.txt 2>&1; print output.txt; &", $pass); I have tried using exec() system() and passthru() all with

[PHP-WIN] Exec and System

2001-03-09 Thread Randall Barber
I want my PHP script to execute an external program (which creates a file), then php opens this file and fpassthru(..) the file to the browser. The external exe needs a commandline arguement. This is what I have tried: exec("c:\\path\\to\\exe\\myProg.exe myValue=123456789"); This, along with s

[PHP-WIN] exec()

2001-02-15 Thread Barry
Hi, I am new here. I am working on my first real PHP project. I use Ora's Website 2.5.8, php 4.04 Win cgi mode, NT4. I have a prog to send email to many users. If I invoke this from a PHP4 script, php waits for the mail program to finish before it continues. This can be quite a long time. I saw

[PHP-WIN] Exec() In Windows

2001-02-01 Thread Keith Stevenson
Hi, Im having a Problem running an application from a PHP page using the Exec() function (as well as all the other program execution fuctions) on a Windows NT Server running Apache. The code I attempt to run is : $ReturnVal = exec("Application.exe"); It returns with Unable to F

[PHP-WIN] Exec not working still

2001-01-23 Thread Michael Cartmel
Has anyone got exec/passthru/system to work under Win2k? smime.p7s