Hi there,
I am developing a module interface and want to include the function calls of the modules into the main code. Due to performance issues I wanted to implement this functionality with regular expressions putting the module's function calls right into the correct spot in the main program code.
My problem is, that when PHPs Safe Mode is enabled I cannot change the main program file's file attributes (namely into 666 via chmod) to change the file. I have learned from the PHP documentation that Safe Mode limits the access to PHP-files with other UIDs/GIDs. Well, my directory and files all have the same UID/GID and that's why I don't really see a solution to my problem. I just don't want to set all the directories and files to 666 or 777... this would not meet my security needs.
If anyone could help me in explaining, what PHP's Safe Mode does EXACTLY or telling me another SAFE and performant solution to solfe the above problem... I'd be soooo glad ;-)
Jose