RE: [PHP] Re: EOF: how to generate one in a string
| From: | Timothy Hitchens \(HiTCHO\) | Date: | Wed, 08 Jan 2003 10:30:22 +0000 |
| Subject: | RE: [PHP] Re: EOF: how to generate one in a string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130741@lists.php.net to get a copy of this message | ||
I would suggest you have a look at:
http://expect.nist.gov/
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: tim@hitcho.com.au
> -----Original Message-----
> From: Jean-Christian Imbeault [mailto:jc@mega-bucks.co.jp]
> Sent: Wednesday, 8 January 2003 8:24 PM
> To: php-general@lists.php.net
> Subject: [PHP] Re: EOF: how to generate one in a string
>
>
> I'm at wits end ... I've tried everything from system(),
> shell_exec(),
> bacticks, popen() and still no go ...
>
> I even tried writing the data to file first and then doing a
> system("./prog 2>&1 < ./datafile") and that didn't work either.
>
> I know that it shoudl work b/c if from the command line I
> issue the same
> command (using the file created by PHP) it works fine.
>
> Can anyone offer advice on why I can't get PHP to execute
> this external
> program?
>
> Thanks!
>
> Jc
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>