php-general Digest 26 Jan 2011 13:06:15 -0000 Issue 7153

2011-01-26 Thread php-general-digest-help
php-general Digest 26 Jan 2011 13:06:15 - Issue 7153 Topics (messages 311032 through 311037): Formatting 311032 by: Ethan Rosenberg 311033 by: Donovan Brooke 311034 by: joris ros 311035 by: Jim Lucas Unit Tests for Cache Class 311036 by: Sebastian

[PHP] Unit Tests for Cache Class

2011-01-26 Thread Sebastian Detert
Hi all, I'm just writing a small cache class to optimize my database connection. I want to use three different stages to store and receive my data as fast as possible. 1) fast get data from class variable if existing 2) mid get data from memcache if existing - save result as class variable

[PHP] Cross-platform IDE

2011-01-26 Thread Andy McKenzie
Hey folks, Hopefully this is enough on-topic not to annoy anyone. Up until now I've mostly written small one-off scripts -- a web page that needs a few things dynamically generated, a shell script to do a small job, things like that -- and vim has been more than adequate. I'm currently

RE: [PHP] Cross-platform IDE

2011-01-26 Thread Bob McConnell
From: Andy McKenzie Hopefully this is enough on-topic not to annoy anyone. Up until now I've mostly written small one-off scripts -- a web page that needs a few things dynamically generated, a shell script to do a small job, things like that -- and vim has been more than adequate. I'm

Re: [PHP] Cross-platform IDE

2011-01-26 Thread matteo filippetto
  So:  does anyone have a recommendation for an IDE that works in Windows, Mac, and Linux?  I spend roughly equal time in all three, and I haven't found a tool I like yet that works in all of them. Actually, I stopped looking three or four years ago, but at that point there didn't seem to be

Re: [PHP] Cross-platform IDE

2011-01-26 Thread Camilo Sperberg
I like eclipse as well, you can combine it with svn which will be a great plus if you develop on several machines. Sent from my iPhone On 26-01-2011, at 10:06, Andy McKenzie amckenz...@gmail.com wrote: Hey folks, Hopefully this is enough on-topic not to annoy anyone. Up until now I've

Re: [PHP] Cross-platform IDE

2011-01-26 Thread Lester Caine
Andy McKenzie wrote: So: does anyone have a recommendation for an IDE that works in Windows, Mac, and Linux? I spend roughly equal time in all three, and I haven't found a tool I like yet that works in all of them. Actually, I stopped looking three or four years ago, but at that point there

Re: [PHP] Cross-platform IDE

2011-01-26 Thread Andy McKenzie
On Wed, Jan 26, 2011 at 8:51 AM, Lester Caine les...@lsces.co.uk wrote: Andy McKenzie wrote: So:  does anyone have a recommendation for an IDE that works in Windows, Mac, and Linux?  I spend roughly equal time in all three, and I haven't found a tool I like yet that works in all of them.

Re: [PHP] Cross-platform IDE

2011-01-26 Thread Lester Caine
Camilo Sperberg wrote: I like eclipse as well, you can combine it with svn which will be a great plus if you develop on several machines. cvs/svn works beautifully in eclipse. It is just a pity that none of the DVCS systems work properly yet :( I'm having to do the hg/git version control

Re: [PHP] Re: Cross-platform IDE

2011-01-26 Thread Lester Caine
Gary wrote: Lester Caine wrote: I'm having to do the hg/git version control outside eclipse and I've given up trying to do that on the windows machines. Cygwin? Both git and Mercurial packages seem to exist, although I don't use them so can't say how good, bad, or otherwise, they might be.

Re: [PHP] Newsgroup server time outs

2011-01-26 Thread Daniel Brown
On Wed, Jan 26, 2011 at 09:58, Al n...@ridersite.org wrote: The newsgroup server seems to have a repeated-visit throttle, or whatever. For the last two weeks at least, I can only download 2 or 3 messages and then I get repeated time-outs.  It acts like the DoS or flood prevention is kidding

[PHP] ldap_add - Server is unwilling to peform

2011-01-26 Thread CHARLES HUNT
Hello- I am trying to add create a user account with the ldap_add function. However I get the error below when it is invoked. Does anyone have ideas what may be causing this error? What I can look into? Anything would be helpful. Warning: ldap_add() [function.ldap-add]: Add: Server is

Re: [PHP] ldap_add - Server is unwilling to peform

2011-01-26 Thread Daniel Brown
On Wed, Jan 26, 2011 at 10:17, CHARLES HUNT ch5...@yahoo.com wrote: Hello- I am trying to add create a user account with the ldap_add function.  However I get the error below when it is invoked.  Does anyone have ideas what may be causing this error?  What I can look into?  Anything would be

Re: [PHP] ldap_add - Server is unwilling to peform

2011-01-26 Thread CHARLES HUNT
Win 2000 Active Directory. I'll give ldap_mod_add a shot. - Original Message From: Daniel Brown danbr...@php.net To: CHARLES HUNT ch5...@yahoo.com Cc: php-general@lists.php.net Sent: Wed, January 26, 2011 9:39:32 AM Subject: Re: [PHP] ldap_add - Server is unwilling to peform On Wed,

Re: [PHP] ldap_add - Server is unwilling to peform

2011-01-26 Thread CHARLES HUNT
It seems ldap_mod_add is for adding attributes to a dn that is already there. I get the error: Modify: No such object in... - Original Message From: Daniel Brown danbr...@php.net To: CHARLES HUNT ch5...@yahoo.com Cc: php-general@lists.php.net Sent: Wed, January 26, 2011 9:39:32 AM

Re: [PHP] ldap_add - Server is unwilling to peform

2011-01-26 Thread a...@ashleysheridan.co.uk
You could add a line in to your code: include ldap-blue-pill; That should fix any performance issues ;) (note, I did try posting earlier with a much funnier reply, but the email was rejected because of a certain 'v' word!) Thanks, Ash http://www.ashleysheridan.co.uk - Reply message

Re: [PHP] Re: Cross-platform IDE

2011-01-26 Thread David Harkness
FWIW while I prefer Eclipse overall as an IDE, I found the PHP support in NetBeans to be superior. It's been a year since I used Eclipse for PHP. Maybe the PHP plugins for Eclipse have improved enough. NetBeans supports GIT and Mercurial as well. David

Re: [PHP] ldap_add - Server is unwilling to peform

2011-01-26 Thread CHARLES HUNT
Do I need to be using SSL? Not sure how to implement that. (if you can't tell I'm pretty new to PHP) - Original Message From: Daniel Brown danbr...@php.net To: CHARLES HUNT ch5...@yahoo.com Cc: php-general@lists.php.net Sent: Wed, January 26, 2011 9:39:32 AM Subject: Re: [PHP]

[PHP] Re: String Encodings - loose guidelines

2011-01-26 Thread Shawn McKenzie
On 01/25/2011 02:36 PM, Donovan Brooke wrote: Hello, I don't yet have a complete understanding of string encodings for the various environments they may need to pass through or be in. I have found bits and pieces within Larry's book, the online docs, and by googling... and my app seems to

[PHP] Pear Problems

2011-01-26 Thread Ethan Rosenberg
Dear List - I am executing the command pear list. This is what I get - ethan@rosenberg:/usr/bin$ pear list PHP: syntax error, unexpected '' in /etc/php5/cli/php.ini on line 510 Installed packages, channel pear.php.net: = Package Version State

Re: [PHP] Pear Problems

2011-01-26 Thread Adam Richardson
On Thu, Jan 27, 2011 at 1:01 AM, Ethan Rosenberg eth...@earthlink.netwrote: Dear List - I am executing the command pear list. This is what I get - ethan@rosenberg:/usr/bin$ pear list PHP: syntax error, unexpected '' in /etc/php5/cli/php.ini on line 510 Installed packages, channel