On Mar 5, 2009, at 4:16 AM, Robert Cummings
wrote:
On Thu, 2009-03-05 at 03:08 -0800, Michael A. Peters wrote:
Robert Cummings wrote:
function hiddenInput($document,$name,$value) {
$input = $document->createElement("input");
$input->setAttribute("type","hidden");
$input->setAttri
Robert Cummings wrote:
Is there a reason I shouldn't be doing it that way?
I didn't say you shouldn't. It's just expensive on every page request to
regenerate a document node by node. it also strikes me as tedious :/
It's definitely tedious - but I end up writing functions that do the
tedi
On Thu, 2009-03-05 at 03:08 -0800, Michael A. Peters wrote:
> Robert Cummings wrote:
>
> >>
> >> function hiddenInput($document,$name,$value) {
> >> $input = $document->createElement("input");
> >> $input->setAttribute("type","hidden");
> >> $input->setAttribute("name",$name);
>
Robert Cummings wrote:
>>
>> function hiddenInput($document,$name,$value) {
>> $input = $document->createElement("input");
>> $input->setAttribute("type","hidden");
>> $input->setAttribute("name",$name);
>> $input->setAttribute("value",$value);
>> return($input);
>> }
>>
>
On Thu, 2009-03-05 at 02:04 -0800, Michael A. Peters wrote:
> Robert Cummings wrote:
> > On Wed, 2009-03-04 at 18:01 -0800, Michael A. Peters wrote:
> >> Robert Cummings wrote:
> >>> On Wed, 2009-03-04 at 15:21 -0800, Michael A. Peters wrote:
> Robert Cummings wrote:
>
> > To punt wha
Robert Cummings wrote:
On Wed, 2009-03-04 at 18:01 -0800, Michael A. Peters wrote:
Robert Cummings wrote:
On Wed, 2009-03-04 at 15:21 -0800, Michael A. Peters wrote:
Robert Cummings wrote:
To punt what is repeated over and over during runtime to a single
compilation phase when building the t
On Wed, 2009-03-04 at 21:42 -0700, Nathan Nobbe wrote:
> On Wed, Mar 4, 2009 at 7:01 PM, Michael A. Peters wrote:
>
> > echoing html involves mixing html and php.
> > Using an XML class (like DOMDocument) to build the document does not.
>
>
> ive actually written a little templating system which
On Wed, 2009-03-04 at 18:01 -0800, Michael A. Peters wrote:
> Robert Cummings wrote:
> > On Wed, 2009-03-04 at 15:21 -0800, Michael A. Peters wrote:
> >> Robert Cummings wrote:
> >>
> >>> To punt what is repeated over and over during runtime to a single
> >>> compilation phase when building the tem
On Wed, Mar 4, 2009 at 7:01 PM, Michael A. Peters wrote:
> Robert Cummings wrote:
>
>> On Wed, 2009-03-04 at 15:21 -0800, Michael A. Peters wrote:
>>
>>> Robert Cummings wrote:
>>>
>>> To punt what is repeated over and over during runtime to a single
compilation phase when building the temp
Robert Cummings wrote:
On Wed, 2009-03-04 at 15:21 -0800, Michael A. Peters wrote:
Robert Cummings wrote:
To punt what is repeated over and over during runtime to a single
compilation phase when building the template target. To simplify the use
of parameters so that they can be used in arbitra
On Wed, 2009-03-04 at 15:21 -0800, Michael A. Peters wrote:
> Robert Cummings wrote:
>
> >
> > To punt what is repeated over and over during runtime to a single
> > compilation phase when building the template target. To simplify the use
> > of parameters so that they can be used in arbitrary ord
Robert Cummings wrote:
To punt what is repeated over and over during runtime to a single
compilation phase when building the template target. To simplify the use
of parameters so that they can be used in arbitrary order with default
values. To allow for the encapsulation of complex content in t
On Wed, 2009-03-04 at 12:15 -0700, Nathan Nobbe wrote:
> On Wed, Mar 4, 2009 at 11:51 AM, Robert Cummings wrote:
>
> > On Wed, 2009-03-04 at 12:46 -0600, Shawn McKenzie wrote:
> > > Robert Cummings wrote:
> > > > On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote:
> > > >> Robert Cummings wro
On Wed, Mar 4, 2009 at 11:51 AM, Robert Cummings wrote:
> On Wed, 2009-03-04 at 12:46 -0600, Shawn McKenzie wrote:
> > Robert Cummings wrote:
> > > On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote:
> > >> Robert Cummings wrote:
> > >>> On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote
On Wed, 2009-03-04 at 12:46 -0600, Shawn McKenzie wrote:
> Robert Cummings wrote:
> > On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote:
> >> Robert Cummings wrote:
> >>> On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote:
> Matthew Croud wrote:
> > Hello,
> >
> > First
Robert Cummings wrote:
> On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote:
>> Robert Cummings wrote:
>>> On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote:
Matthew Croud wrote:
> Hello,
>
> First post here, I'm in the process of learning PHP , I'm digesting a
> few
On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote:
> Robert Cummings wrote:
> > On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote:
> >> Matthew Croud wrote:
> >>> Hello,
> >>>
> >>> First post here, I'm in the process of learning PHP , I'm digesting a
> >>> few books as we speak.
> >>>
Robert Cummings wrote:
> On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote:
>> Matthew Croud wrote:
>>> Hello,
>>>
>>> First post here, I'm in the process of learning PHP , I'm digesting a
>>> few books as we speak.
>>> I'm working on a content heavy website that provides a lot of
>>> informa
On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote:
> Matthew Croud wrote:
> > Hello,
> >
> > First post here, I'm in the process of learning PHP , I'm digesting a
> > few books as we speak.
> > I'm working on a content heavy website that provides a lot of
> > information, a template system w
more research on what is Code Injection and how to avoid it.
From: Shawn McKenzie [mailto:nos...@mckenzies.net]
Sent: Wednesday, March 04, 2009 9:05 AM
To: php-general@lists.php.net
Subject: [PHP] Re: Question about template systems
Shawn McKenzie wrote:
> Matthew Croud wrote:
>> He
Shawn McKenzie wrote:
> Matthew Croud wrote:
>> Hello,
>>
>> First post here, I'm in the process of learning PHP , I'm digesting a
>> few books as we speak.
>> I'm working on a content heavy website that provides a lot of
>> information, a template system would be great and so i've been looking
>>
Matthew Croud wrote:
> Hello,
>
> First post here, I'm in the process of learning PHP , I'm digesting a
> few books as we speak.
> I'm working on a content heavy website that provides a lot of
> information, a template system would be great and so i've been looking
> at ways to create dynamic data
On Tue, 2009-03-03 at 20:53 +0100, Martin Zvarík wrote:
> Matthew Croud napsal(a):
> > Hello,
> >
> > First post here, I'm in the process of learning PHP , I'm digesting a
> > few books as we speak.
> > I'm working on a content heavy website that provides a lot of
> > information, a template sys
Matthew Croud napsal(a):
Hello,
First post here, I'm in the process of learning PHP , I'm digesting a
few books as we speak.
I'm working on a content heavy website that provides a lot of
information, a template system would be great and so i've been looking
at ways to create dynamic data with
24 matches
Mail list logo