I'm using a value from a hidden form field to make up a file name which will be opened and written to. This is all happening on a Windows 2003 server.
The field name in the form is 'file'. The value is 'about'.
In my handleform.php file, I have this:
$TheFile = "{$_POST['file']}.txt";
$Open = fopen ("$TheFile", "a");
..and I get an error that says the file could not be opened. Now, when I try this on a UNIX server and set a permission of '666' it works fine.
Could this have to do with a setting on the PHP4 installation on the Windows server?