I have created a simple page that updates it self by allowing the user to input a variable. For example:
The scripts re writes a plain html page through this script:
if (isset($marker)){
$fp=fopen("info.html", "w") or die("couldn't open the file");
fwrite($fp, $htmlContent);
fclose($fp);
echo "File has been successfully changed! <a href=info.html>click here to view</a>";
exit;
if (isset($marker)) this makes sure that the htmlContent has new variables.
From home The script performs ok, and I get no errors.
From the client's site, I get no errors, but when I go and check the new page, I get the old $htmlContent. The script its not actually re writting the page.
This only happens from the clients office, it works fine from a few others test machines I have attempted. I have tried 3 different machines at his site and same result.
anyone familiar?