i wrote this script to update a txt file. ive tested it on 3 different systems and it works fine. however, for some reason it does not work on my clients machine (the most important one!)
what could the reason for this be? the script looks fine to me...could it be something else?
thanks for your help
--------script--------
<?php
if ($name == "name" && $pass == "pass") {
$out = fopen ("news.txt", "w");
if (!$out) {
echo ("Could not Update News,<b> Possible Server Error!</b>");
} else {
$news = stripslashes ($news);
fputs ($out,"&entry=$news");
echo ("News has been Updated Successfully");
fclose($out);
}
} else {
echo ("Could not Update News,<b> Invalid Name or Pass!</b>");
}
?>
--------script--------
the error he keeps getting is
CGI Error
The CGI application bisbehaved by not returning a complete set of HTTP headers. The headers it did not return are:
any help is much appreciated 🙂