PHP Classes
elePHPant
Icontem

File: clitest.php

Recommend this page to a friend!
  Classes of Gaspar  >  PHP CLI Input  >  clitest.php  >  Download  
File: clitest.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP CLI Input
Process keys pressed by the user in the shell
Author: By
Last change:
Date: 2 years ago
Size: 155 bytes
 

Contents

Class file image Download
<?php

require_once('CLIInput.class.php');

echo
"Tell me something: ";
$input = new CLIInput();
$text = $input->read();
echo
"\n\nRESULT: ".$text."\n";
?>