[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? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php