this is what i got from your hints.
the error is "The file /usr/tmp/test.txt is not writable".
please keep the hints comming. my web site is http://www.sublimeknights.com you can go to the site and see it doesnt work for yourself.(theres a simple small form ).the site wont look better intil i get this php working. i talked to tech support and they said i had full access to php. but i am still having trouble as you can see. could it be that i have no config.php?
<?php
error_reporting(E_ALL);
//note-this folder and path really is there
$filename ="/usr/tmp/test.txt";
$Name = $POST["Name"];
$Message = $POST["Message"];
$outputMessage="<hr>\t$Name\t$Message\t<hr>";
chmod($filename,0777);
if (is_writable($filename)) {
if (!$handle = fopen($filename, 'r+')) {
echo "Cannot open file ($filename)";
exit;
}
if (fwrite($handle, $outputMessage) === FALSE) {
echo "Cannot write to file ($filename)";
exit;
}
echo "Success, wrote ($outputMessage) to file ($filename)";
fclose($handle);
} else {
echo "The file $filename is not writable";
}
?>