I just uploaded my website and I'm having some problems. First of all the mail function does not work, I guess this is to counter spammers? Is there any method to get it activated though?
My second (more serious) problem is that mkdir() does not work! I have a script that makes thumbnails of the photographs that i upload, but mkdir() does not function well because of safe_mode or difference between file owner and PHP user. The script first creates a directory ./images/photosinposts/2 for instance, for topic nr 2. Within this folder the script then tries to create a thumbnails folder, a fullsize picture folder etc. This fails because the directory ./images/photosinposts/2 that the script (succesfully) creates is owned by user 2001/vhosts and not by me. If the script tries to create another directory (thumbnails for instance) inside this directory this error message appears: "Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 15822 is not allowed to access /www/zzl.org/b/r/a/bramwillemsen/htdocs/images/photosinposts/2 owned by uid 2001 in /www/zzl.org/b/r/a/bramwillemsen/htdocs/crphtop.php on line 173". Is there a way to use mkdir() on Zymic or should i look elsewhere if i want that functionality?
I think it is strange that the script running under userid 15822 creates directories owned by userid 2001. And that the script cannot access the folders it just created. how come that the script running under userid 15822 creates directories owned by userid 2001?'
The third problem i'm having is that the directory created with mkdir cannot be removed anymore. it keeps telling me the folder it is non-empty '550 Can't remove directory: Directory not empty' but i checked many times and there are no files inside (no hidden .htaccess files either). Maybe this is caused by the folder being owned by 2001/vhosts instead of me?
I hope anyone can give me some pointers on this
kind regards, Bram
