Entry
I have PHP under Windows and Apache . How can I send some file to STDIN of PHP script?
Feb 19th, 2008 22:23
dman, Matt Parlane, Titus Hochgreve, Bosko Stanisic, http://www.ttnr.org
There is no STDIN for a php script.
But there are a lot of filesystem functions that enable you to write
to, read from, copy, rename, erase, or get info about files.
I suggest you look them up in the php manual.
*********************
Not true!
PHP does have capability to read and write to and from standard I/O.
have a look at:
http://www.php.net/manual/en/features.commandline.php