Creating a file to write to?
| From: | Beauford.2002 | Date: | Wed, 19 Feb 2003 18:13:28 +0000 |
| Subject: | Creating a file to write to? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-136225@lists.php.net to get a copy of this message | ||
Hi,
I want to be able to check to see if a file exists and if so I want to be
able to overwrite it. If it doesn't exist I want to be able to create it and
then make sure it is writable. A lot of this I have found in the PHP manual,
but I can't find anywhere on how to just create the file or overwrite it if
it exists.
Thanks for any help...