STDIN is a file reference. Use the standard file functions (fread, for example) on it.

John Nichel wrote:

How do I capture standard input?

<?php

$name = STDIN;
echo ( "Hello " . STDIN . "\n" );

?>

????



-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to