<?php
$filename = "/root/UMThesis/Honeyd/honeyd-0.7a-beta2/start-arpd.sh";
$fp = fopen ($filename, "w");
// write to file
if (!fwrite($fp, $_POST['content'])) {
echo "Could Not Write to file";
exit;
}
echo "Start script for arpd saved";
fclose($fp);
echo "<center><a href='javascript:window.close()'>Close Window</a></center>";
?>
It saves it but when I run system to run this script it says no such file or no such dir