Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: PHP/Apache & fopen() HELP!
09-12-2005, 03:46 PM #1
- Join Date
- Apr 2004
- Toronto, Ontario
- Thanked 122 Times in 122 Posts
PHP/Apache & fopen() HELP!
I'm trying to using fopen() on my web hosts server thats running in SAFEMODE. and I'm having major issues!
simple script for testing:
$oldumask = umask(0);
mkdir works, and fopen works too, but only is i'm creating a file in the same folder as the script, if I try to creat a file/folder within the newly created folder 'test' i get this error:
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 10003 is not allowed to access /test owned by uid 33 in /mkdir.php on line 5,
si I tried using chown() to see if I can set the uid, but thats restricted too.
does anyone know of a way around this problem? or am I screwed on this one??
thanks in advance for your time!