> 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.  


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to