pdstein
05-26-1999, 11:56 PM
I've been playing around with some of PHPs file system functions and as I expected I ran up against safe mode restrictions.
I was hoping that once I created a directory with PHP, that PHP would have permissions to create and delete files and directories within that directory, but that apparently isn't the case.[nbsp][nbsp]I keep getting messages like this:
Warning: SAFE MODE Restriction in effect. The script whose uid is 40449 is not
allowed to access /big/dom/xusername/www/bogus/file.php owned by uid 98 in
/big/dom/xusername/www/admin/admin.php on line 173
I can't seem to delete or move the files that I've copied into the PHP-created directory and I can't create further sub-directories.[nbsp][nbsp]Is there a way to do these things or am I stuck due to safe mode?
- Paul
I was hoping that once I created a directory with PHP, that PHP would have permissions to create and delete files and directories within that directory, but that apparently isn't the case.[nbsp][nbsp]I keep getting messages like this:
Warning: SAFE MODE Restriction in effect. The script whose uid is 40449 is not
allowed to access /big/dom/xusername/www/bogus/file.php owned by uid 98 in
/big/dom/xusername/www/admin/admin.php on line 173
I can't seem to delete or move the files that I've copied into the PHP-created directory and I can't create further sub-directories.[nbsp][nbsp]Is there a way to do these things or am I stuck due to safe mode?
- Paul