Hi.

I just made an topic about an error, that turned out to really stupid error/question on my part, so I deleted it. I had a forums account previously (SeriousWorm but I cannot find neither the password nor the email data that I used for registering back then).
My dxhost username is
seriousworm.
Now, there's another question; I hope this one is not too stupid.

So, I have a script that extracts a module from an archive, creating a directory and copying all archives files to it in the process. I have created the base directory (/modules) using FTP, but the script should create /modules/<module_name>, however it cannot.
Here's the output of my custom error&exception handler script:
PHPError [E_WARNING: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 162535 is not allowed to access /usr/local/apache2/htdocs/seriousworm/modules/novosti owned by uid 48]
in /usr/local/apache2/htdocs/seriousworm/includes/tar.class.php @ 208
Stacktrace:
#0 [internal function]: error_handler(2, 'fopen() [extractAll('modules/')
#3 /usr/local/apache2/htdocs/seriousworm/controlpanel.php(125): require('/usr/local/apac...')
#4 {main}
In short, it seems that I cannot create a folder using a script.
Obviously this is a severe limitation, meaning that I cannot install modules/themes at all. Automatically, anyway, since this is, after all, my own personal CMS and I can of course manually install all that stuff.

However, I was wondering if there was any way around it. Would it work if my install script also created the base directory (/modules)? Is the PID constant, for the lifetime of my php installation, or does it change on server restarts and such, meaning the same script that made the folder yesterday won't be able to (for example) delete the module tommorow? Will FTP work with all this, having absolute control?
Sorry for so many questions. Thanks in advance.