What is the ASCII value of an EOF? Find that and use <? echo chr($eof_ascii_value); ?>
Matt ----- Original Message ----- From: Jean-Christian Imbeault <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php