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
> >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
>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'
> 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
> -
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
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???
__
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
-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
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
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
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
. 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
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
13 matches
Mail list logo