I have a form and a script that processes that form, and writes the data to a flat file. However- setting the file mode to "a" or "a+" does not allow the file to be created if it is not present. At least when I attempt it. Here is the script portion dealing with the file open;
So- is there something else I need to do here or is the ability to create a file like this stopped by settings on the server?
Andy
if(is_writable('file1.txt'))
{
$fp = fopen('file1.txt','a');
{
$fp = fopen('file1.txt','a');
Andy
Comment