Sensoria Tour

code to run shell commands either in linux or windows through php PDF Print E-mail
User Rating: / 1
PoorBest 
Written by Ravi Maggon   
Sunday, 21 February 2010 22:08

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Run shell command through php</title>
</head>
<?php
$output = shell_exec('dir');
echo "<pre>$output</pre>";
?>

<body>
</body>
</html>
 

Login Here



Who's Online

We have 24 guests online