[PHP] RE: search is not case insensitive

2010-11-02 Thread Dr Michael Daly
I have a fix. Thanks to the list for steering me in the right direction Just in case anyone else is lost, here it is, via use of the CONVERT function to convert the binary data to text which can then be searched case insensitively in mysql: Replace this line: AND LOWER(C.description) LIKE

Re: [PHP] include html

2010-11-02 Thread Karl DeSaulniers
On Nov 2, 2010, at 12:37 AM, Nathan Nobbe wrote: On Mon, Nov 1, 2010 at 11:22 PM, Karl DeSaulniers k...@designdrumm.com wrote: I need to basically grab the source of the page as text. Then I can do a replace() on the link tag. Then insert the text into an Iframe. In theory, this I thought

[PHP] Re: Implementing optional methods in a concrete class, but calling themfrom an abstract class.

2010-11-02 Thread Nathan Rixham
Richard Quadling wrote: Hi. I have an abstract base class (call it genericServiceHandler). I have concrete classes (FaxService, EmailService). ... What would you all do? If you've got fixed logic then just add all the onStart onPause and similar methods to the abstract class, stub them to

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-02 Thread Nathan Rixham
Ben Brentlinger wrote: it could be that you tried a cheap hosting account with a company that have a bulk mailing script meant for sending spam. I can imagine a spammer hijacking your site to send malware from it, one of the more likely possibilities especially if you have a hosting account with

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-02 Thread Steve Staples
On Tue, 2010-11-02 at 11:10 +, Nathan Rixham wrote: Ben Brentlinger wrote: it could be that you tried a cheap hosting account with a company that have a bulk mailing script meant for sending spam. I can imagine a spammer hijacking your site to send malware from it, one of the more

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 12:29 AM, Nathan Nobbe quickshif...@gmail.com wrote: a few thoughts, 1. set error_reporting to E_ALL to see if the engine is trying to tell you something you may be overlooking Sorry, failed to mention that I did this, and it says nothing. 2. for grins, maybe see if

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost yod...@gmail.com wrote: So now I suppose the thread becomes: how do I get a valid US/Central (America/Chicago) timezone in PHP5? give the timezonedb extension a shot http://pecl.php.net/package/timezonedb -nathan

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe quickshif...@gmail.com wrote: On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost yod...@gmail.com wrote: So now I suppose the thread becomes: how do I get a valid US/Central (America/Chicago) timezone in PHP5? give the timezonedb extension a shot

RE: [PHP] search is not case insensitive

2010-11-02 Thread tedd
At 10:23 PM -0700 11/1/10, Tommy Pham wrote: -Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: Sunday, October 31, 2010 9:00 AM To: g...@holisticgp.com.au; php-general@lists.php.net Subject: Re: [PHP] search is not case insensitive At 3:47 PM +1100 10/31/10,

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 8:44 AM, Dan Yost yod...@gmail.com wrote: On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe quickshif...@gmail.com wrote: On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost yod...@gmail.com wrote: So now I suppose the thread becomes: how do I get a valid US/Central

RE: [PHP] search is not case insensitive

2010-11-02 Thread Tommy Pham
-Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: Tuesday, November 02, 2010 8:09 AM To: Tommy Pham; g...@holisticgp.com.au; php-general@lists.php.net Subject: RE: [PHP] search is not case insensitive At 10:23 PM -0700 11/1/10, Tommy Pham wrote: -Original

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 11:02 AM, Nathan Nobbe quickshif...@gmail.com wrote: So now I suppose the thread becomes: how do I get a valid US/Central (America/Chicago) timezone in PHP5? give the timezonedb extension a shot http://pecl.php.net/package/timezonedb Tried it, no change. It is

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 10:11 AM, Dan Yost yod...@gmail.com wrote: On Tue, Nov 2, 2010 at 11:02 AM, Nathan Nobbe quickshif...@gmail.com wrote: So now I suppose the thread becomes: how do I get a valid US/Central (America/Chicago) timezone in PHP5? give the timezonedb extension a

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 10:37 AM, Nathan Nobbe quickshif...@gmail.comwrote: dude at this point i dont want to sound too much like a troll, but php 5.1 is some really old software. frankly this is why i chose not to run on centos during my evaluation of it. i understand the concept behind

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 11:37 AM, Nathan Nobbe quickshif...@gmail.com wrote: dude at this point i dont want to sound too much like a troll, but php 5.1 is some really old software.  frankly this is why i chose not to run on centos during my evaluation of it.  i understand the concept behind

[PHP] Password protected directory

2010-11-02 Thread Ben Miller
I need to access and read the files in a password protected directory with a PHP script using the readdir function. I'm already making users login to a secure area, so I don't want to make them enter a password again to access the files - is there a way to include the password with the

Re: [PHP] Password protected directory

2010-11-02 Thread Bastien Koert
On Tue, Nov 2, 2010 at 1:05 PM, Ben Miller biprel...@gmail.com wrote: I need to access and read the files in a password protected directory with a PHP script using the readdir function.  I'm already making users login to a secure area, so I don't want to make them enter a password again to

Re: [PHP] Password protected directory

2010-11-02 Thread Daniel P. Brown
On Tue, Nov 2, 2010 at 13:05, Ben Miller biprel...@gmail.com wrote: I need to access and read the files in a password protected directory with a PHP script using the readdir function.  I'm already making users login to a secure area, so I don't want to make them enter a password again to access