so this should do the trick?
<?php
$file='/tier-2/pwpstore2/6/generalsworld/htdocs/maps/staff/funkiller/body.php';
$handle= @fopen($file, 'w+');
@fwrite(handle,
"{$_POST['editpic']}"
);
@fclose(handle)
?>
<html>
<head>
<title>Success</title>
<?php include($_SERVER["DOCUMENT_ROOT"].'/'.'nav.shtml');?>
Thank-you for changing the HTML
<?php include($_SERVER["DOCUMENT_ROOT"].'/'.'footer.shtml');?>
Thanks