Is there a way to chmod the directory the php fie is run in? I have a script that will create new directories but the current directory must have the proper permissions. I tried to change them using chmod($myDir, 0777) but it says permission denied. Any way to do it? I know I could have the user do all of tis, but I thought ID make it easy. TIA ------------------------------------ Eleno Davila - SEO lenny@xxxxxxxxxxxxxxxxxx <mailto:lenny@xxxxxxxxxxxxx> (877)933-6750 Ext 163 (direct line) http://plasticsurgery.com