Calling the man Command : System Command : Development PHP Source Code


PHP Source Code » Development » System Command »

 

Calling the man Command



<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>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» System Command