note 33127 deleted from function.fopen by cmb

From: Date: Sun, 09 Feb 2020 08:12:39 +0000
Subject: note 33127 deleted from function.fopen by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-214043@lists.php.net to get a copy of this message
Note Submitter: RobNar ---- This is an addendum to ibetyouare at home dot com's note about Apache directory permissions. If you are on a shared host and cannot tweak Apache's permissions directives then you might try setting the same thing in a .htaccess file. Failing that, if you are having trouble just creating files then set the directory permissions to allow writing (for whatever directory the file is supposed to be in) and include the following before fopen(): touch /path/to/myfile/myfile.txt; That will usually create a new empty file that you can write to even when fopen fails. - PHP 4.3.0

« previous php.notes (#214043) next »