note 11834 added to function.fopen.php
| From: | bruce_nospam at spam_not dot com | Date: | Fri, 09 Mar 2001 06:44:21 +0000 |
| Subject: | note 11834 added to function.fopen.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12094@lists.php.net to get a copy of this message | ||
Another (stupid) beginner mistake using fopen(): Be sure to chmod the file to be opened to allow it
to be written to! For my server, 666 (-rw-rw-rw-) works just fine. The mistake I made was FTPing the
file back and forth without resetting the chmod.
http://www.php.net/manual/en/function.fopen.php