Re: [PHP] Append to STDIN

2001-11-09 Thread Christian Reiniger
On Friday 09 November 2001 05:16, Cleber S. Mori wrote: > Hi again... > > I had already RTFM... > Neither in exec or ``'s I found any thing about STDIN... Just a blind shot: $Data = escapeshellarg ($MyVariable); system ("echo $Data | myscript.py -param"); -- Christian Reiniger LGDC Webmaster

RE: [PHP] Append to STDIN

2001-11-08 Thread Martin Towell
this wouldn't be something similar to C's ungetch() ?? -Original Message- From: Cleber S. Mori [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 3:16 PM To: [EMAIL PROTECTED] Subject: [PHP] Append to STDIN Hi again... I had already RTFM... Neither in exec or ``

[PHP] Append to STDIN

2001-11-08 Thread Cleber S. Mori
Hi again... I had already RTFM... Neither in exec or ``'s I found any thing about STDIN... I just wondered if some one have any tips. thanks again! Cleber S. Mori Monitor Lab Linux 2o Ano - Bacharelado em Ciências da Computação ICMC - Instituto de Ciências Matemáticas e de Computação USP - Un

Re: [PHP] Append to STDIN

2001-11-08 Thread David Robley
On Fri, 9 Nov 2001 11:58, Cleber S. Mori wrote: > Hi guys... > > I have a perl script which adds automatically contents to my html file. > I have been done this manualy, from a unix shell, but now I want to > make the PHP do-it-for-me. > > As I already have the perl script, I won't rewrite it aga

[PHP] Append to STDIN

2001-11-08 Thread Cleber S. Mori
Hi guys... I have a perl script which adds automatically contents to my html file. I have been done this manualy, from a unix shell, but now I want to make the PHP do-it-for-me. As I already have the perl script, I won't rewrite it again, so, how can I make a PHP variable ($foo) to go to the STD