B. Hopkins - 2009-06-11 04:34:41
I have a script that ran great in php4. It a directory with .html files. It left the files in a 777 permission state. When the site updated to php5, any file w/ a 777 permmission state gives a server 500 error. This goes away when I manually change the files (through an ftp program) to 755.
When I added the code to change the files to this permission when the file gets created, it doesn't seem to work and the .html file remains in the 777 state.
Is there some other command I need to use to get the php script to change the value within the script?
Kind Regards,
bh