I think chmod +rx or hiding a file on the webroot ala .htaccess should do the trick. Thanks.
On Wed, Nov 21, 2001 at 04:05:31PM +0000, Donncha O Caoimh wrote:
>> If it's not for viewing by the public then anywhere you like(within
> reason.. you won't write to /usr/local/bin) outside of the htdocs
> directory tree. Make sure the directory is owned by whoever runs the
> webserver.. usually "nobody".
>> Donncha.
>>>john at beerandloathing.com wrote:
> >
> > Hi all,
> >
> > Does anyone have any recommendations for places to write to a file from a PHP script. Is there a default 'safe' directory that the Apache user can user which is not accessible from webroot?
> >
--
___________________________________
John G. Moylan
PGP Key - http://www.nua-tech.com/john/John-Moylan-PUB-KEY.asc
*************************************************************
The information in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee.
Access to this e-mail by anyone else is unauthorised. If
you are not the intended recipient, any disclosure, copying,
distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.
*************************************************************
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!