Code Comments
Programming Forum and web based access to our favorite programming groups.Matthew Weier O'Phinney wrote:
> Looks to me like you need to do the following:
>
> set_include_path(get_include_path() . ':' . './auth');
> include_once('Auth/Auth.php');
>
> That first line appends the directory 'auth' in the current directory to
> the path list in which PHP looks for include files. This will allow the
> factory method in Auth to find its classes.
Hmmm... if you have a proper PEAR installation you don't
need to do such tricks. Make sure your PEAR root directory
is in
echo ini_get('include_path');
and that you really used the installer to install the packages,
instead of manually installing them.
Additionally, check this section of the manual
http://pear.php.net/manual/en/installation.php
and tell us if you need more help.
--
Regards,
Norbert Mocsnik
http://norbert.mocsnik.hu/
Post Follow-up to this messageNorbert Mocsnik wrote: > and that you really used the installer to install the packages, > instead of manually installing them. correction: instead of manually downloading and extracting them. -- Regards, Norbert Mocsnik http://norbert.mocsnik.hu/
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.