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:  [EMAIL PROTECTED]
Santa Fe - Argentina            http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to