RE: [PHP] Please assist - been on this for hours - Permissions on server
| From: | Steve Jackson | Date: | Thu, 10 Jul 2003 19:18:26 +0000 |
| Subject: | RE: [PHP] Please assist - been on this for hours - Permissions on server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154781@lists.php.net to get a copy of this message | ||
> The root of the problem (pun intended)
Oh dear! ;o)
> is that you're trying to
> write to the
> root (/) directory which is usually only possible if you're the root user.
>
> Again, the question is _why_ do you need to write to the root directory?
> Wouldn't your file function if it wasn't in the root directory?
I don't particularly need to *write* to the root directory. I do need to move the file to the
root directory though as it's part of a CMS system. I can write the file to a directory which
is adequately protected, but there has to be a way to move the file after it is written (to the root
from said protected directory). The file is designed to be generated by another user. There are
easier ways to design a CMS system I realise but this is my goal, to allow a user to simply generate
a file which then is placed in the webroot after it has been written. I thought that this would be
the easy part. Any more ideas? Thanks for your help Jason I appreciate it.