Re: Re: EOF: how to generate one in a string
| From: | Matt Vos | Date: | Wed, 08 Jan 2003 14:28:47 +0000 |
| Subject: | Re: Re: EOF: how to generate one in a string | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130769@lists.php.net to get a copy of this message | ||
What is the ASCII value of an EOF? Find that and use <? echo
chr($eof_ascii_value); ?>
Matt
----- Original Message -----
From: Jean-Christian Imbeault <jc@mega-bucks.co.jp>
To: <php-general@lists.php.net>
Sent: Wednesday, January 08, 2003 5:24 AM
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
>