Posts: 39
Location: Aachen, Germany
|
PHP Code:
//assume the variables to have valid values if (!is_dir($article_temp_path.$article_md5)) { mkdir(($article_temp_path.$article_md5), 0777); //is ignored aparently chmod(($article_temp_path.$article_md5), 0777); fopen (($article_temp_path.$article_md5.'/abcdef.txt'), 'w'); }
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 640 is not allowed to access /srv/www/htdocs/web2/html/test/articles/articlebe5eee5d7d9f4dc24dc21e12ad247489 owned by uid 30 in /srv/www/htdocs/web2/html/test/latex2html.php on line 593
Warning: fopen(articles/articlebe5eee5d7d9f4dc24dc21e12ad247489/abcdef.txt): failed to open stream: No such file or directory in /srv/www/htdocs/web2/html/test/latex2html.php on line 593
Now I have a little problem with that, as I really want to create the folder and the file with php. Any ideas how I could change that without total controll of the server? I have to admit that I'm clueless when it comes to rights and I don't know what I can change on a server that's not mine.
Another thing that really bugs me is the 777 mode. If there is any chance that I could do it without that I'd be extreamly happy. As we are already on it, you migth aswell just tell me how to create a password protected folder 
|