box-o-sand/PracticingPhp/web/html/wikipedia-tutorial/io.php

10 lines
106 B
PHP

<?php
$stdin = fopen('php://stdin', 'r');
$mystring = fgets($stdin);
print "\$mystring=$mystring";
?>