It just doesn't chmod the file. It doesn't produce errors except for later on in the script when it says it can't access the file with write permissions (but it should already be chmod'd by then). Thanks.
Matt ----- Original Message ----- From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 2:59 PM Subject: Re: [PHP] create a chmod'd file > On Saturday 14 June 2003 02:43, Matt Palermo wrote: > > 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. > > What does "doesn't work" mean? Does it blow up your computer? Or does it give > an error message or what? > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > ------------------------------------------ > Search the list archives before you post > http://marc.theaimsgroup.com/?l=php-general > ------------------------------------------ > /* > Baker's First Law of Federal Geometry: > A block grant is a solid mass of money surrounded on all sides by > governors. > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php