Do you have a question? Post it now! No Registration Necessary. Now with pictures!
January 26, 2009, 4:24 pm
rate this thread
Now, I'm confused by the path in the example:
$fh = fopen('test.html', 'a');
fwrite($fh, '<h1>Hello world!</h1>');
What is that relative to, where the script is run? Or something else?
I assume I can do this:
unlink($_SERVER['DOCUMENT_ROOT']. '/path_relative_to_document_root') ?
- The Natural Philosopher
January 26, 2009, 6:15 pm