Re: Creating a file to write to?
| From: | Adam Voigt | Date: | Wed, 19 Feb 2003 18:17:17 +0000 |
| Subject: | Re: Creating a file to write to? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136226@lists.php.net to get a copy of this message | ||
http://www.php.net/fopen
fopen("filename","w");
On Wed, 2003-02-19 at 13:13, Beauford.2002 wrote:
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...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc