RE: [PHP-WIN] Problem with exec(). Help needed!

2003-03-13 Thread P . Gertman
Thank you, Rich! www.newnhams.com is great. BTW, their class proPHP uses the same approach as me. So i'll keep on trying. Happy hacking! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Problem with exec(). Help needed!

2003-03-13 Thread Rich Gray
> >Can you not use ODBC to connect to the Progress database? It > will probably > >be simpler than an exec() call... but anyway if your Progress script is > >returning data that PHP needs to parse then try using passthru() > instead... > Thanks! i'll try passthru() right now. > > require_once("web

RE: [PHP-WIN] Problem with exec(). Help needed!

2003-03-13 Thread P . Gertman
>Can you not use ODBC to connect to the Progress database? It will probably >be simpler than an exec() call... but anyway if your Progress script is >returning data that PHP needs to parse then try using passthru() instead... Thanks! i'll try passthru() right now. ").'; if(!$fp = fopen($fname, 'w'

RE: [PHP-WIN] Problem with exec(). Help needed!

2003-03-13 Thread Rich Gray
> I'm using PHP for accessing PROGRESS database. Due to lack of native > interface between PHP and PROGRESS i'm forced to get the data like this: > > ..some code.. > exec($_pro . ' -U '.$p_usertext.' -P '.$p_passtext.' -p > query.p',$pro_out,$pro_code); > ..some code.. > > where > -

[PHP-WIN] Problem with exec(). Help needed!

2003-03-13 Thread P . Gertman
I'm using PHP for accessing PROGRESS database. Due to lack of native interface between PHP and PROGRESS i'm forced to get the data like this: ..some code.. exec($_pro . ' -U '.$p_usertext.' -P '.$p_passtext.' -p query.p',$pro_out,$pro_code); ..some code.. where -> $_pro is a str

[PHP-WIN] problem with exec()

2001-10-07 Thread Christian Dechery
I'm running PHP on a Win98 machine with apache 1.3.12 and PHP 4.0.6, and I can't seem to get exec(), system() or whatever working... somehow the shell execution of the passed command is interrupted and the output is cut... so the result is wrong is this a Windows prob??? __

Re: [PHP-WIN] Problem with: exec(), system()

2001-02-24 Thread Oliver Charlet
hi, see the entry from 22.2.2001 from Markus. running PHP4 DLL stops the functions system(), passthru() and ecex() to work properly, because PHP4 DLL cannot fork threads! Olli "Johan Huhtalo" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I don´t kno

Re: Vs: [PHP-WIN] Problem with: exec(), system()

2001-02-18 Thread Michael Cartmel
-mic - Original Message - From: "Johan Huhtalo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 10:11 PM Subject: Re: Vs: [PHP-WIN] Problem with: exec(), system() > Didn´t help :( > thanks anyway. > > [EMAIL PROTECTED] w

Re: Vs: [PHP-WIN] Problem with: exec(), system()

2001-02-18 Thread Michael Cartmel
gt;; <[EMAIL PROTECTED]> Sent: Sunday, February 18, 2001 10:44 PM Subject: Re: Vs: [PHP-WIN] Problem with: exec(), system() > At 12:11 15/02/2001 +0100, you wrote: > >Didn´t help :( > >thanks anyway. > > [..] > > > > I don´t know whats the problem with exex, syste

Re: Vs: [PHP-WIN] Problem with: exec(), system()

2001-02-18 Thread Angus Mann
At 12:11 15/02/2001 +0100, you wrote: >Didn´t help :( >thanks anyway. [..] > > I don´t know whats the problem with exex, system :( > > first time i get: error message: Warning: Unable to fork > > [C:\winnt\system32\cmd.exe dir C:\] in c:/program files/apache > > group/apache/htdocs/relay/relay.p

Re: Vs: [PHP-WIN] Problem with: exec(), system()

2001-02-15 Thread Johan Huhtalo
D]> > 15.02.2001 12:12 > > > Vastaanottaja: [EMAIL PROTECTED] > Kopio: >Aihe:[PHP-WIN] Problem with: exec(), system() > > I don´t know whats the problem with exex, system :( > first time i get: error message: Warning: Unable to

Vs: [PHP-WIN] Problem with: exec(), system()

2001-02-15 Thread samipetri . maijanen
. I escaped the DIR C: => "DIR C:\" as well (\"DIR C:\\\"), even though it works without. Johan Huhtalo <[EMAIL PROTECTED]> 15.02.2001 12:12 Vastaanottaja: [EMAIL PROTECTED] Kopio: Aihe:[PHP-WIN] Problem with: exec(), syste

[PHP-WIN] Problem with: exec(), system()

2001-02-15 Thread Johan Huhtalo
I don´t know whats the problem with exex, system :( first time i get: error message: Warning: Unable to fork [C:\winnt\system32\cmd.exe dir C:\] in c:/program files/apache group/apache/htdocs/relay/relay.php4 on line 28 when second time, it hangs, i dont get any response from the server. i have t