getting STDIO

From: Date: Fri, 02 Feb 2001 19:36:48 +0000
Subject: getting STDIO
Groups: php.general 
Request: Send a blank email to php-general+get-37892@lists.php.net to get a copy of this message
I want to use PHP to build a script that would run from the comand line. Now me problem is how do I make PHP interpretate a chunk of text that is piped to it? Lets say my script is named script1.php and I do: $ less file1 | script1.php just like if I send variables with info with a put in the apache module version. How do I get that output? Saludos... :-) -- System Administration: It's a dirty job, but someone told I had to do it. ----------------------------------------------------------------- Martín Marqués email: martin@math.unl.edu.ar Santa Fe - Argentina http://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar -----------------------------------------------------------------

« previous php.general (#37892) next »