Re: [nyphp-talk] SPL - Do you use?

2007-09-29 Thread Jon Baer
Excellent feedback from everyone on SPL, thanks for taking time to post back. - Jon On Sep 29, 2007, at 6:34 PM, Michael B Allen wrote: On 9/27/07, Jon Baer <[EMAIL PROTECTED]> wrote: Do many here use the SPL library? I could never really understand this "library", on one side part of th

[nyphp-talk] PHP 5.3 / Namespaces

2007-09-29 Thread Jon Baer
So according to a few (kinda old) blogs, etc, in 5.3 we should be able to accomplish something like this (correct me if Im wrong, Ive only poked through latest php-src): Just curious, does importing again as MCL create a stack or does it throw an exception? If it is stacked this would gi

Re: [nyphp-talk] SPL - Do you use?

2007-09-29 Thread Michael B Allen
On 9/27/07, Jon Baer <[EMAIL PROTECTED]> wrote: > Do many here use the SPL library? > > I could never really understand this "library", on one side part of the Java > programming that I really felt to be a burden of added / bloated code was > the idea of the "Iterator" (you always had to grab one)

Re: [nyphp-talk] SPL - Do you use?

2007-09-29 Thread csnyder
On 9/28/07, Rob Marscher <[EMAIL PROTECTED]> wrote: > On a side note, the initial reaction of a of mine friend to the zend > framework was that it felt too much like java. He's a former java > developer, who switched to php, and now works in ruby as well). > Interesting... one of the excellent b

Re: [nyphp-talk] Not-so-subtle attack on PHP

2007-09-29 Thread Kenneth Downs
Elliotte Harold wrote: Kenneth Downs wrote: Many things are a waste of the cracker's time, but they do them anyway. So counting on the result not being worth the time of cracker is wishful thinking. :-) Even if one has full cell level security in the DB, I expect there are still denial

Re: [nyphp-talk] Not-so-subtle attack on PHP

2007-09-29 Thread David Krings
John Campbell wrote: On 9/28/07, Kenneth Downs <[EMAIL PROTECTED]> wrote: I will claim that putting security directly into the database is better than any other way because it does what is needed in the end with the least possible work. I must be missing something. Take a simple social net

Re: [nyphp-talk] Not-so-subtle attack on PHP

2007-09-29 Thread Jiju Thomas Mathew
Would some of you comment on the following bit? class sqlDb { var $link; function sqlDb($dsn){ $pdsn = parse_url($dsn); if($pdsn['scheme'] !== 'mysql') die("System is designed for MySQL only.. Please Correct the dsn"); $mysql_db = preg_replace("@^\/@",''