RE: [PHP] Please assist - been on this for hours - Permissions onserver
| From: | Steve Jackson | Date: | Fri, 11 Jul 2003 07:20:09 +0000 |
| Subject: | RE: [PHP] Please assist - been on this for hours - Permissions onserver | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-154837@lists.php.net to get a copy of this message | ||
>
> Writing and moving require the same permissions. Also, there is a big
> difference between root and webroot. Which one are you talking about?
Web root.
Sorry not the root directory of the server but the webroot. 1 directory
back in fact is all I need so the structure would be:
Web> Cms> generator.php
Web> generated.php
So I can protect the CMS directory which currently needs to be chmod 777
in order to write the page (at least that was the only way I could get
the write function to work) and then just have the written files drop
back into the web root so that if someone typed:
http://www.mysite.com/generated.php
They would get the page.
Not (as I can currently do) http://www.mysite.com/cms/generated.php
Thanks.
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
stephen.jackson@violasystems.com
Mobile +358 50 343 5159