On 11/1/06, Stephen Weeks <[EMAIL PROTECTED]> wrote:
Josh Coates wrote:

>your code should assume that the input is coming via standard input (stdin)

if(!defined("STDIN")) define("STDIN", fopen('php://stdin','r'));
$input = split("\n", fread(STDIN, 8192)); // PHP has a limit of 8192
bytes on fread :(

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to