Re: [PHP] Array to csv or excel in php

2010-04-19 Thread Ken Guest
For non-simple data I have been using PEAR's File_CSV package. It's proven itself very useful in regards to not having to determine in my own code whether something needs to be quoted etc etc - especially if the output CSV needs to be wholly RFC 4180 compliant. The documentation of it is rather

Re: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Ken Guest
On Tue, Apr 20, 2010 at 2:10 AM, David McGlone da...@dmcentral.net wrote: On Mon, 2010-04-19 at 08:25 -0400, Alice Wei wrote: I have not changed any of my SMTP settings since my new installation of PHP with Pear. So, I am not sure what the settings are supposed to be. Would I need to install

Re: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Ken Guest
The PEAR Mail package does not fall back from one mechanism to another if the first fails. On Tue, Apr 20, 2010 at 9:16 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-04-20 at 22:17 +0200, Peter Lind wrote: On 20 April 2010 20:17, Alice Wei aj...@alumni.iu.edu wrote:

Re: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Ken Guest
you have to install the net_smtp package, simply with this command: $ pear install net_smtp-1.4.2 (which will explicitly install version 1.4.2 of Net_SMTP) If that doesn't work. for whatever reason, you could download the package manually from http://pear.php.net/package/Net_SMTP/download and

[PHP] Irish PHP User Group meeting tonight

2010-04-28 Thread Ken Guest
Hi. Just to let any of ye know that might be interested, there's a php.ie meeting on tonight in Dublin - in the Longstone pub on Townsend Street starting at eight o'clock. It's located where the red diamond is on this map:

Re: [PHP] Irish PHP User Group meeting tonight

2010-04-28 Thread Ken Guest
On Wed, Apr 28, 2010 at 3:38 PM, Daniel Brown danbr...@php.net wrote: On Wed, Apr 28, 2010 at 05:47, Ken Guest k...@linux.ie wrote: Hi. Just to let any of ye know that might be interested, there's a php.ie meeting on tonight in Dublin - in the Longstone pub on Townsend Street starting

Re: [PHP] Unit testing in PHP

2010-06-17 Thread Ken Guest
On Thu, Jun 17, 2010 at 10:51 AM, vikash.i...@gmail.com wrote: Hi, What do you use for unit testing in PHP? phpUnit, SimpleTest or any other? Ages ago, when it was new and shiny I did use SimpleTest. Now I mostly use phpunit - though where necessary (for example if I'm patching a PEAR

Re: [PHP] google maps API

2010-08-23 Thread Ken Guest
Please consider using the OpenLayers API instead ( http://openlayers.org/ and http://openlayers.org/dev/examples/ for examples) as it will also allow end-users to choose a OpenStreetMap layer ( http://www.openstreetmap.org/ ) to be displayed which may render more up-to-date details than are

Re: Re[2]: [PHP] Open Source PHP/ mySQL Project Management

2010-11-12 Thread Ken Guest
With the exception of some work-mandated systems such as fogbugz, I've used mantis successfully for quite a long time. On Fri, Nov 12, 2010 at 1:09 AM, Andre Polykanine an...@oire.org wrote: Hello Jonathan, I tried to use Mantis, however it didn't send e-mails properly so I gave up. --

Re: [PHP] Centralizled Authentication

2010-12-02 Thread Ken Guest
On Thu, Dec 2, 2010 at 8:06 AM, AmirBehzad Eslami behzad.esl...@gmail.comwrote: Dear list, We have dozen of applications, mostly written in PHP and Python. They're distributed on different servers, but i'm trying to integrate them somehow. Each application has its own users. Is there a

Re: [PHP] Code formatter

2011-01-31 Thread Ken Guest
On Mon, Jan 31, 2011 at 8:27 PM, Hansen, Mike mike.han...@atmel.com wrote: I've got an application that I'm fixing up and I'd like to run it through a code formatter. Is there something like Perl Tidy for PHP? If so, what are you experiences with it. No prob running it on the command line.

Re: [PHP] Code formatter

2011-02-02 Thread Ken Guest
replies inline... On Wed, Feb 2, 2011 at 3:23 PM, Hansen, Mike mike.han...@atmel.com wrote: -Original Message- From: ken.gu...@gmail.com [mailto:ken.gu...@gmail.com] On Behalf Of Ken Guest Sent: Monday, January 31, 2011 3:26 PM To: Hansen, Mike Cc: php-general@lists.php.net

Re: [PHP] Parsing a simple sql string in php

2011-05-06 Thread Ken Guest
On Fri, May 6, 2011 at 10:05 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Hiya, has anyone had any experience with parsing a string of sql to break it down into its component parts? At the moment I'm using several regex's to parse a string, which works, but I'm sure there's a more

[PHP] observer pattern

2011-05-18 Thread Ken Guest
Lo, so, I'm wondering - how many of you use the observer pattern in php; and if so, do you implement it 'standalone' or with the spl classes? Is there any particular advantage to doing it your way; whichever your way is? Ken -- http://blogs.linux.ie/kenguest/ -- PHP General Mailing List