Re: [PHPTAL] Avoid intermediate phptal files

2008-08-20 Thread romtek
On Thu, Jul 31, 2008 at 2:56 PM, Werner [EMAIL PROTECTED] wrote: E.g. if 'first.tpl' template has a code destination of '/tmp/first/' and 'second.tpl' has a code destination of '/tmp/second/', then there is a change of having duplicate function names if your calling script executes templates

Re: [PHPTAL] Avoid intermediate phptal files

2008-08-01 Thread Kornel Lesiński
On 31-07-2008 at 20:56:42 Werner [EMAIL PROTECTED] wrote: Just another potential pitfall worth mentioning in there, maybe, is the fact that you should be careful when your templates output intermediate files to more than one directory No, it's not a problem. Function name contains MD5 of

Re: [PHPTAL] Avoid intermediate phptal files

2008-08-01 Thread Sergio Chersovani
Alejandro Giardino ha scritto: Kornel, I know I'm asking too much but I need very specifics answers to contact this people and explain them the situation, In an other mail you told me These files are automatically cleaned up once in a while... can I ask you when and how??? This is exactly

Re: [PHPTAL] Avoid intermediate phptal files

2008-07-31 Thread Kornel Lesiński
On 31-07-2008 at 14:18:39 Alejandro Giardino [EMAIL PROTECTED] wrote: I'm using PHPTAL with some forms in a web site. PHPTAL is writing files in /tmp as a usual behavior, but I would need to avoid the files creation It can't be avoided currently. Why do you need to do that? -- regards,

Re: [PHPTAL] Avoid intermediate phptal files

2008-07-31 Thread Alejandro Giardino
intermediate phptal files I don't think that is possible without seriously hacking a solution.PHPTAL works by generating a PHP file from the template, this file isthen 'included', parsed and executed by PHP itself.So to avoid the creation of those file, the output of PHPTAL should bekept

Re: [PHPTAL] Avoid intermediate phptal files

2008-07-31 Thread Iván -DrSlump- Montes
] Avoid intermediate phptal files On 31-07-2008 at 14:18:39 Alejandro Giardino [EMAIL PROTECTED] wrote: I'm using PHPTAL with some forms in a web site. PHPTAL is writing files in /tmp as a usual behavior, but I would need to avoid the files creation It can't be avoided currently. Why do you

Re: [PHPTAL] Avoid intermediate phptal files

2008-07-31 Thread Alejandro Giardino
Thank you Kornel!!! - Mensaje original - Fecha:Thu, 31 Jul 2008 16:59:56 +0100 De: Kornel Lesiński [EMAIL PROTECTED] Para: Template Attribute Language for PHP phptal@lists.motion-twin.com Asunto: Re: [PHPTAL] Avoid intermediate phptal files On 31-07-2008 at 15:30:34

Re: [PHPTAL] Avoid intermediate phptal files

2008-07-31 Thread Iván -DrSlump- Montes
On Thu, Jul 31, 2008 at 6:00 PM, Kornel Lesiński [EMAIL PROTECTED] wrote: It's a good idea. Can you do it? :) Please feel free to modify it as you see fit. PHPTAL for SysAdmins: PHPTAL functions by generating PHP files from the template's logic, this means that it needs a directory to store

Re: [PHPTAL] Avoid intermediate phptal files

2008-07-31 Thread Werner
Nice, thanks Iván. Just another potential pitfall worth mentioning in there, maybe, is the fact that you should be careful when your templates output intermediate files to more than one directory, as the different intermediate files might contain the same function names, which will result in