I'm now fiddling over a week to fix a problem on my linux-webserver.
I have the following code:
... $bool=mkdir(trim($semname), 0777, TRUE); //chmod(trim($semname),0777); $f2=fopen(trim($semname)."/index.php","w"); ...
it works perfectly when working on my home server under windows but as soon as loaded up on my linux-webserver it just creates a folder with permission 755. The permission of the root-folder is also set to 0777, but no index-file is created.
What's wrong? I can't even find anything on php.net.
Thanks very much indeed