Ik krijg het niet voor elkaar om met php safe-mode aan een dir en daar weer een subdir in te maken.
Huidige code:
Foutmelding:
Hoe kan ik dit probleem omzeilen?
Huidige code:
PHP:
1
2
3
4
5
6
| echo "mkdir "; echo mkdir("test"."/", 0777); echo "<br>chmod "; echo chmod ("test"."/", 01777); echo "<br>mkdir sub "; echo mkdir("test/test/", 0777); |
Foutmelding:
code:
1
2
3
4
5
6
7
| mkdir 1 chmod 1 mkdir sub Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 590 is not allowed to access /home/virtual/site87/fst/var/www/html/typo3conf/test owned by uid 48 in /home/virtual/site87/fst/var/www/html/typo3conf/ext.php on line 7 |
Hoe kan ik dit probleem omzeilen?