Re: Undefined class name

From: Date: Fri, 15 Feb 2002 20:35:50 +0000
Subject: Re: Undefined class name
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-84965@lists.php.net to get a copy of this message
ini_set('include_path', 'J:/Program Files/php/pear/'); require_once 'PEAR.php'; require_once 'DB.php'; ini_set(); should be the 'root' where all included files will be found. On Windows you use / for paths.... or sometimes \\ (escaping a \). Anyway, the above method works on my machine. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Gary" <garyb10@earthlink.net> wrote in message news:3C6D5351.70700@earthlink.net... > Hi all, > I am working at home today and have to use windows. I am trying to use > PEAR and keep getting an undefined class name for > $db = DB::connect("mysql://$user:$pass@$host/$dname"); > my include for PEAR > ini_set('include_path', 'J:\Program Files\php\pear\DB.php'); > > where did I screw up. > > TIA > Gary >

« previous php.general (#84965) next »