Re: [SMARTY] using FTP for uploading cached files - implementation
| From: | Matus UHLAR - fantomas | Date: | Wed, 23 Jun 2004 07:10:10 +0000 |
| Subject: | Re: [SMARTY] using FTP for uploading cached files - implementation | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11493@lists.php.net to get a copy of this message | ||
On 23.06 08:24, messju mohr wrote:
> On Wed, Jun 23, 2004 at 07:54:52AM +0200, Matus UHLAR - fantomas wrote:
> > On 22.06 19:06, Vonleigh Simmons wrote:
> > > Why don't you just allow one directory, the templates_c one and
> > > that's it? It would make your life a whole lot easier, wouldn't be any
> > > significant security risk and as to your other concerns:
> > >
> > > >- this will avoid quota, system or FTP :(
> > >
> > > The templates_c doesn't take up too much space.
> >
> > as first, it would require manual interaction (chmod) which I'd like to
> > avoid, and as second I prefer not trust users that they won't use such
> > dirs for different reasons
>
> how do you handle session-data and file-uploads?
shared directory for temporary files. While I found usin this one OK for
cache (which is probably really temporary), using it for compiled
templates is probably not that good...
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
He who laughs last thinks slowest.