Re: [PHP] Using MDB2 outside the PEAR framework?

2009-01-10 Thread Murray
Just for the record, it appears (so far) that the fix for my problem was REMOVING the path to the normal PEAR directory from my 'include_path' string. I guess a conflict was taking place where files were being loaded both from the included subdirectories in my application and the PEAR directories

Re: [PHP] Using MDB2 outside the PEAR framework?

2009-01-10 Thread Richard Heyes
Where would I find that article, if you think it might help me get MDB2 working properly? It won't help you get MDB2 working - it's a general thing I wrote on structuring your applications and websites. I have used for quite a while though, and it's served me well. -- Richard Heyes HTML5

Re: [PHP] Using MDB2 outside the PEAR framework?

2009-01-10 Thread Richard Heyes
Where would I find that article, if you think it might help me get MDB2 working properly? It won't help you get MDB2 working - it's a general thing I wrote on structuring your applications and websites. I have used for quite a while though, and it's served me well. Sorry, forgot the URL:

Re: [PHP] Using MDB2 outside the PEAR framework?

2009-01-09 Thread Murray
I'm still experiencing problems making use of my imported MDB2 classes. General querying appears to work fine, but performing something like $mdb2-quote($variable) causes the application to come to a halt, without any error messages (at least, without any displayed while debugging through

[PHP] Using MDB2 outside the PEAR framework?

2008-12-26 Thread Murray
Hi All, I'm wondering if it's possible or practical to implement MDB2 in my web application, but without requiring a PEAR installation on the destination server? Essentially, I'd like to include MDB2 entirely within my web application, so I can make use of db abstraction even on servers where

Re: [PHP] Using MDB2 outside the PEAR framework?

2008-12-26 Thread Murray
Hi John, Well, this is the thing -- I suspect there are dependencies, particularly on the core PEAR files themselves. I'm just wondering if someone else has done this and if it's too difficult to make the effort worthwhile. The Wordpress project, for example, I think rebuilt an abstraction layer

Re: [PHP] Using MDB2 outside the PEAR framework?

2008-12-26 Thread Mattias Thorslund
As far as I recall, having done this, all that is required for a basic MDB2 is the PEAR base class and the driver classes for the platforms you want to support. Murray wrote: Hi All, I'm wondering if it's possible or practical to implement MDB2 in my web application, but without requiring a

Re: [PHP] Using MDB2 outside the PEAR framework?

2008-12-26 Thread Murray
Thanks John and Mattias, It looks like your advice has helped me achieve my goal. Thanks again! M is for Murray On Sat, Dec 27, 2008 at 2:05 PM, Mattias Thorslund matt...@thorslund.uswrote: As far as I recall, having done this, all that is required for a basic MDB2 is the PEAR base class