fwrite
Posted: Mon May 17, 2004 11:26 am
hello; I wish to create (or write to) a .htm file; does fwrite care what the extesion is?
the directory itself has 777 file permissions as well as pointer.htm (in the case where I attempt to write to it as opposed to create it);
but yet I get a "failed to open stream: Permission denied" error;
any thoughts?
thanks
Shannon Burnett
Asheville NC USA
Code: Select all
$filename = "pointer.htm";
$file_pointer = fopen($filename , "w");
fwrite($file_pointer , $DHTML_document_string);
fclose($file_pointer);but yet I get a "failed to open stream: Permission denied" error;
any thoughts?
thanks
Shannon Burnett
Asheville NC USA