Hi,
Sunday, June 26, 2005, 12:27:44 PM, you wrote:
TR> Hi,
TR> Here it is for anyone that would like to try it.
TR> if(preg_match('/^win/i',PHP_OS)){
TR> define('OS_SEP','\\');
TR> define('OS_JOIN',';');
TR> }else{
TR> define('OS_SEP','/');
TR> define('OS_JOIN',':');
TR> }
TR> class cl
Hi,
Here it is for anyone that would like to try it.
$info){
$class_name = strtolower($class);
$name = $info['name'];
$hash = mhash(MHASH_TIGER,serialize($info['vars']));
if(isset($GLOBALS['loaded_classes'][$class_name])){
$varcount = count($info['vars']
Hi,
Friday, June 3, 2005, 5:16:19 AM, you wrote:
MP> Hi All,
MP> I'm using the MDB2 object to access my MySQL database. I have a number
MP> of classes that perform page-building activities that need db access,
MP> and I'm wondering what the best way to expose the MDB2 object to them is?
MP> (Not
Greg Donald wrote:
On 6/2/05, Murray @ PlanetThoughtful <[EMAIL PROTECTED]> wrote:
private $db;
PHP4 doesn't have member visibility.
Hi Greg,
Thanks for this tip!
Regards,
Murray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
On 6/2/05, Murray @ PlanetThoughtful <[EMAIL PROTECTED]> wrote:
> private $db;
PHP4 doesn't have member visibility.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I'm using the MDB2 object to access my MySQL database. I have a number
of classes that perform page-building activities that need db access,
and I'm wondering what the best way to expose the MDB2 object to them is?
(Note: my development environment is PHP 5.0.3, but the production
en
6 matches
Mail list logo