Chris Carey wrote:
if(!defined("STDIN")) define("STDIN", fopen('php://stdin','r')); $input = split("\n", fread(STDIN, 8192)); // PHP has a limit of 8192bytes on fread :(
Not all PHP installs have a STDIN file descriptor defined? /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */