PHP Classes

File: examples/askforinput.php

Recommend this page to a friend!
  Classes of Christian Vigh   PHP Asynchronous Command   examples/askforinput.php   Download  
File: examples/askforinput.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Asynchronous Command
Get commands output without waiting to finish
Author: By
Last change:
Date: 7 years ago
Size: 253 bytes


Class file image Download
// This script is a sample command that prompts the user to enter some text, then displays it
    // It is run by the input.php script.
echo "Please enter something : " ;
$line = trim ( fgets ( STDIN ) ) ;

"You entered : [$line]\n" ;