O
o[tter]
Guest
I made a page that is supposed to take some information, and create a new file in my directory. It is password protected, and its purpose is to allow me to easily add new pages to the site, without having to worry about my HTML. But, when I use the open command similar to this:
$filename = "bob.txt";
$fp = fopen($filename, "w");
...the file wont open. I tested $fp afterwards and it doesn't exist. What can I do to allow the script to make new files? Or do I have to make the files in advance?
Thanks.
$filename = "bob.txt";
$fp = fopen($filename, "w");
...the file wont open. I tested $fp afterwards and it doesn't exist. What can I do to allow the script to make new files? Or do I have to make the files in advance?
Thanks.