Re: [nyphp-talk] rtrim broken?

2006-11-02 Thread David Krings
Hi, I agree, that wasn't the best example to give. I probably thought first to write $k = $k + 1, and then recalled that a + 1 is easily expressed as ++, which also does not require to assign the result to the same variable. It really was only meant as example and I guess I just add two in

Re: [nyphp-talk] rtrim broken?

2006-11-02 Thread David Mintz
On Thu, 2 Nov 2006, tedd wrote: > At 8:13 AM -0500 11/1/06, Cliff Hirsch wrote: > > >> DUH! The problem was between keyboard and chair as so often. > > > >I find my best breakthroughs and epiphanies are solved while driving, > >playing tennis (incredibly distracting and detrimental to the tennis

Re: [nyphp-talk] GData / PHP5 (4?)

2006-11-02 Thread csnyder
On 11/1/06, Jon Baer <[EMAIL PROTECTED]> wrote: > It looks like the full GData object model was ported to PHP (or has > been for a while now?) ... > > http://google-code-updates.blogspot.com/2006/10/google-data-apis-now- > with-php.html > > Any feedback? And is there a PHP4 library anywhere? > > -

Re: [nyphp-talk] rtrim broken?

2006-11-02 Thread Warren Myers
I don't think this does what it looks likeOn 11/1/06, David Krings <[EMAIL PROTECTED]> wrote: Hi,yes, $text is the string passed to rtrim, which in retrun issupposed to overwrite what is in $text previously. Kinda like$k = $k++;$k++ will make k increase by 1. $k=$k++ still only increases $k by

Re: [nyphp-talk] rtrim broken?

2006-11-02 Thread tedd
At 8:13 AM -0500 11/1/06, Cliff Hirsch wrote: > >> DUH! The problem was between keyboard and chair as so often. > >I find my best breakthroughs and epiphanies are solved while driving, >playing tennis (incredibly distracting and detrimental to the tennis >game), and performing other mindless acti

Re: [nyphp-talk] cake url question

2006-11-02 Thread Jon Baer
Hard to say without seeing your routes.php, can you post?- JonOn Nov 2, 2006, at 3:33 AM, Marcin Szkudlarek wrote:Jon,The problem I found with this solution is that when I create a link pointing to specified brand cake automatically adds name of the controller to the url. Say for example I create l

Re: [nyphp-talk] LDAP for web authorization?

2006-11-02 Thread charlie derr
Randal Rust wrote: > On 11/2/06, Tim Sailer <[EMAIL PROTECTED]> wrote: > >> I have some crufty old PHP code I slammed together in a few hours >> about 4-5 years ago that will show how to manipulate the attributes >> for mail aliases, > > I am in the middle of a project where the client uses LDAP

Re: [nyphp-talk] LDAP for web authorization?

2006-11-02 Thread Tim Sailer
On Thu, Nov 02, 2006 at 09:44:10AM -0500, Randal Rust wrote: > On 11/2/06, Tim Sailer <[EMAIL PROTECTED]> wrote: > > > I have some crufty old PHP code I slammed together in a few hours > > about 4-5 years ago that will show how to manipulate the attributes > > for mail aliases, > > I am in the mi

Re: [nyphp-talk] LDAP for web authorization?

2006-11-02 Thread Randal Rust
On 11/2/06, Tim Sailer <[EMAIL PROTECTED]> wrote: > I have some crufty old PHP code I slammed together in a few hours > about 4-5 years ago that will show how to manipulate the attributes > for mail aliases, I am in the middle of a project where the client uses LDAP not only as a authentication t

Re: [nyphp-talk] LDAP for web authorization?

2006-11-02 Thread charlie derr
csnyder wrote: > On 11/2/06, R. Mariotti <[EMAIL PROTECTED]> wrote: > >> My thoughts immediately went towards a centralized LDAP mechanism and >> designing/creating a single callable login facility to accomplish this. >> >> As I personally have ZERO experience working with LDAP, I was hoping >> th

Re: [nyphp-talk] LDAP for web authorization?

2006-11-02 Thread Tim Sailer
On Thu, Nov 02, 2006 at 09:30:35AM -0500, csnyder wrote: > As for LDAP administration front-ends, anybody have any suggestions? I > heard good things about the Netscape Directory console that was > supposed to be open-sourced last year, but I could never figure out > where or how to download and in

Re: [nyphp-talk] LDAP for web authorization?

2006-11-02 Thread csnyder
On 11/2/06, R. Mariotti <[EMAIL PROTECTED]> wrote: > My thoughts immediately went towards a centralized LDAP mechanism and > designing/creating a single callable login facility to accomplish this. > > As I personally have ZERO experience working with LDAP, I was hoping > that those of you who have

Re: [nyphp-talk] LDAP for web authorization?

2006-11-02 Thread Tim Sailer
On Thu, Nov 02, 2006 at 09:14:31AM -0500, R. Mariotti wrote: > Gentlemen; > > A few pointers please? > > My department has been charged with replacing multiple existing login > mechanisms that support our PHP web intranet applications. Fortunately > we are a 100% Linux/OSS shop. Outstanding!

[nyphp-talk] LDAP for web authorization?

2006-11-02 Thread R. Mariotti
Gentlemen; A few pointers please? My department has been charged with replacing multiple existing login mechanisms that support our PHP web intranet applications. Fortunately we are a 100% Linux/OSS shop. My thoughts immediately went towards a centralized LDAP mechanism and designing/creatin

Re: [nyphp-talk] cake url question

2006-11-02 Thread Nate Abele
We're trying to get a dev release out next week. -Nate > Date: Wed, 1 Nov 2006 11:54:49 -0500 > From: "Baer, Jon" <[EMAIL PROTECTED]> > Subject: Re: [nyphp-talk] cake url question > To: "NYPHP Talk" > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="US-ASCII" > > -BEG

[nyphp-talk] PHP and openLDAP

2006-11-02 Thread Randal Rust
I use the ADODB data abstraction library for my db calls, and it /supposedly/ works with openLDAP, but I am unable to get it to connect that way. I have been looking around, and have not really been able to find many resources at all that deal with LDAP directories and PHP. Does anyone have any a

Re: [nyphp-talk] mysql_real_escape_string WAS: Mysql question!

2006-11-02 Thread Cliff Hirsch
> Don't forget, it's not just humans behind web browsers that we have to worry about. Those dreaded Romulans and Klingons... ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online ht

Re: [nyphp-talk] cake url question

2006-11-02 Thread Marcin Szkudlarek
Nate,Interesting, but the hard coded values is what I'm trying to avoid. In similar way I could just add methods in my controller named after each brand. I will do that if there is no better solution.Marcin On 01/11/06, Nate Abele <[EMAIL PROTECTED]> wrote: Hi Marcin,Cake 1.2 adds support for this.

Re: [nyphp-talk] cake url question

2006-11-02 Thread Marcin Szkudlarek
Jon,The problem I found with this solution is that when I create a link pointing to specified brand cake automatically adds name of the controller to the url. Say for example I create link:$html->link("bmw", "/bmw/"); cake renders it as :Now when I move up one level in routes.php the url is not poi