<html> <head> <title>Calling the man command.</title> </head> <body> <form> <input type="text" value="<?php print $manpage; ?>" name="manpage"> </form> <pre> <?php if ( isset($manpage) ) system( "man $manpage | col -b" ); ?> </pre> </table> </body> </html>