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 > -