RE: [PHP] create a chmod'd file

From: Date: Fri, 13 Jun 2003 18:45:11 +0000
Subject: RE: [PHP] create a chmod'd file
Groups: php.general 
Request: Send a blank email to php-general+get-151403@lists.php.net to get a copy of this message
[snip] I am using the fopen(), then using fwrite() to write text to it. After this I am trying this command which doesn't work: chmod($filename, 0777); But, this doesn't work, and I'm not sure how to go about chmod'ing the file for these permissions so that it can be changed later on. [/snip] Does $filename have the full path to the file in question?

« previous php.general (#151403) next »