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 a
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 st
I'll try, I'm not an expert but I'll try
- Mensaje original -
Fecha:Thu, 31 Jul 2008 17:00:50 +0100
De: "Kornel Lesiński" <[EMAIL PROTECTED]>
Para: "Template Attribute Language for PHP"
Asunto: Re: [PHPTAL] Avoid intermediate phptal files
On 31-07-2008 at 15:09:03 Iván -
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"
Asunto: Re: [PHPTAL] Avoid intermediate phptal files
On 31-07-2008 at 15:30:34 Alejandro Giardino <[EMAIL
On 31-07-2008 at 15:09:03 Iván -DrSlump- Montes <[EMAIL PROTECTED]>
wrote:
It might be a good idea to create a small section in the manual for
sysadmins. Explaining why compiled templates are created, ideal
permission sets, how to change the default location ...
It's a good idea. Can you do
On 31-07-2008 at 15:30:34 Alejandro Giardino <[EMAIL PROTECTED]>
wrote:
"These files are automatically cleaned up once in a while"... can I ask
you when and how???
When template is compiled, with random probability controlled by
setCachePurgeFrequency(). It just deletes files older than s
Ivan, you can change the default destination with 'PHPTAL_PHP_CODE_DESTINATION'
. I've tested it and it works!! (with the right permissions, obviously), it is
in the http://phptal.motion-twin.com/manual/en/ page. Anyway it is true I've
felt a bit lost about the cration of this templates, so I'm
Kornel,
It might be a good idea to create a small section in the manual for
sysadmins. Explaining why compiled templates are created, ideal
permission sets, how to change the default location ...
Ivan
On Thu, Jul 31, 2008 at 4:04 PM, Alejandro Giardino
<[EMAIL PROTECTED]> wrote:
> Hello Kornel
Hello Kornel and thankyou for your answer. About your question, the server
administrator asked my about this.
- Mensaje original -
Fecha:Thu, 31 Jul 2008 14:43:35 +0100
De: "Kornel Lesiński" <[EMAIL PROTECTED]>
Para: "Template Attribute Language for PHP"
Asunto: Re: [PHP
On 31-07-2008 at 14:57:16 Alejandro Giardino <[EMAIL PROTECTED]>
wrote:
Thank you very much Ivan!, so, then, I have an other question... The
files created are finite or infinite???
I've seen, for example, that one of my forms create 13 files (one for
each tag I have in the form) and not an
Thank you very much Ivan!, so, then, I have an other question... The files
created are finite or infinite???
I've seen, for example, that one of my forms create 13 files (one for each tag
I have in the form) and not anymore but I'm not
shure about this point. Am I right? Does PHPTAL create an
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, K
I don't think that is possible without seriously hacking a solution.
PHPTAL works by generating a PHP file from the template, this file is
then 'included', parsed and executed by PHP itself.
So to avoid the creation of those file, the output of PHPTAL should be
kept in a variable and then call eva
Hello,
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
I've red the manual and some mailing list archive and I've tried with
'PHPTAL_FORCE_REPARSE' but I couldn't avoid the creation of the files.
14 matches
Mail list logo