Hi folks,
I'm trying to use the Text_Password class of PEAR but am not sure how to include it.
I have installed PEAR. And I'm guessing it has put the classes somewhere in the PHP directory. I have this in my .htaccess file
php_value include_path .:/Library/WebServer/Documents/phpweb20/include
Which is why I'm guessing it isn't picking them up. Does anyone know how i can include the PEAR classes?
Here is the error messageI get:
Warning: include_once(Text/Password.php) [function.include-once]: failed to open stream: No such file or directory in /Library/WebServer/Documents/phpweb20/include/Zend/Loader.php on line 146
Warning: include_once() [function.include]: Failed opening 'Text/Password.php' for inclusion (include_path='.:/Library/WebServer/Documents/phpweb20/include') in /Library/WebServer/Documents/phpweb20/include/Zend/Loader.php on line 146
Fatal error: Class 'Text_Password' not found in /Library/WebServer/Documents/phpweb20/include/DatabaseObject/User.php on line 25
The reason I have changed my .htaccess file is because I am using the Zend framework. I put the Zend classes in the include folder. Can I do something similar for PEAR?
Thanks a lot!
Jonesy