Re: [PHP] Turning off magic_quotes_gpc?

2011-02-10 Thread knl
On Thu, 10 Feb 2011 14:52:26 -0500 "Bob McConnell" wrote: > It's a good idea to turn it off as soon as possible. However, you need > to test your site to make sure it won't broke something first. You have to test not only your site, but also the data that possible lies in the database, if any.

Re: [PHP] Static content at runtime

2010-12-29 Thread knl
On Tue, 28 Dec 2010 23:25:57 -0600 Donovan Brooke wrote: > and btw, I found that Billy Hoffman article > to be inaccurate in many of his assertions. Would you mind sharing in what ways you found his assertions inaccurate? Kind regards, Kim > Cheers, > Donovan > > -- > D Brooke > > -- > PH

[PHP] Static content at runtime

2010-12-28 Thread knl
Hi. I am currently looking into improving a system that (like many systems) generate static content at runtime. I have always been against generating static content at runtime and believe static content should be generated by a cronjob or manually at some idle time (if possible). This will provi

Re: [PHP] Why the PEAR hate?

2010-11-16 Thread knl
On Tue, 16 Nov 2010 09:54:30 -0700 "Hansen, Mike" wrote: > http://www.reddit.com/r/PHP/comments/e6zs1/how_many_of_you_use_pear_in_your_projects/ > > I'm still pretty new to PHP. Why the hate for PEAR? I've used a > couple of PEAR modules without any issues. The few times I have looked at PEAR

Re: [PHP] Template engines

2010-11-09 Thread knl
On Tue, 9 Nov 2010 00:20:52 -0500 Paul M Foster wrote: > On Mon, Nov 08, 2010 at 02:41:12PM -0700, Hansen, Mike wrote: > > Here's why I don't use a templating engine. > > First, You're taking an embedded language and writing a templating > engine in it. Seriously? > > Second, you're painting a

Re: [PHP] Template engines

2010-11-08 Thread knl
On Mon, 8 Nov 2010 14:41:12 -0700 "Hansen, Mike" wrote: > I really like the idea of using a templating engine. Which one do you > use? Why? For those that don't use templating engines, why don't you > use them? PHP is in itself a template language and I find that the template engines just get i

Re: [PHP] Pros/Cons of using mysqli prepared statments

2010-11-04 Thread knl
On Thu, 4 Nov 2010 02:48:55 -0500 Tamara Temple wrote: > I'm wondering what the advantages/disadvantage of using prepared > statements with mysqli are. I'm used to using the mysqli::query and > mysqli::fetch_assoc functions to deal with retrieving data and > bulding my sql statement in php co