..we are going to create a new app for the hacksuite. We're not going to do anything fancy here, we will make a simple app to get familiar how to write compatible scripts for the..
<?php
function WriteF($sDest,$sWrite){
if(false===($rNew = @fopen($sDest,"a"))){
// define the error
return("Failed to open file in writing mode");
}
@fputs($rNew,$sWrite);
@fclose($rNew);
return("Successfully wrote ".strlen($sWrite)." bytes to file <b>".$sDest."</b>");
}
?>