I just want to make sure of something... What OS is the machine this is happening on? This is the PHP-Windows list and CHMOD really doesn't work on Windows - it's a Unix command. But if you're having problems on a unix system, check to see if there is a umask value set that would be causing this. -M > -----Original Message----- > From: Kuldeep [mailto:kuldeep@xxxxxxxxx] > Sent: Monday, November 29, 2004 3:16 AM > To: php-windows@xxxxxxxxxxxxx > Subject: CHMOD function issue. > > Hello All, > > I have made a admin area on my site where it allows the admin > to change the pagelayout, I.E : font color, table color, font > size, background color. > the Folder permission is set to 755 and the file permissions > are set to 644. I used the CHMOD funtion to change the > permission to 666 before making the changes ti file and then > change it back to 644 after the change is done. > But it does not work the way I want it to, the permission > remains the same. > > Anywho with a solution??? > > -- > PHP Windows Mailing List (http://www.php.net/) To > unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php