> 
> 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
[EMAIL PROTECTED]
Mobile +358 50 343 5159


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

Reply via email to