php Library
readFromStdIn
Keine Erläuterungen gefunden.
<?php echo "enter Y/n \n"; $line=fread(STDIN, 1024); echo "read: ".$line."\n"; if (trim($line)=="n") { echo "you entered no"; }else{ echo "you not entered no"; } ?>
Index of Library
Der gesamte Sourcecode darf gemäß GNU General Public License weiterverbreitet werden.