Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: [PEAR] Re: A general problem
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/

Report this thread to moderator Post Follow-up to this message
Old Post
Norbert Mocsnik
08-31-04 01:56 AM


Re: [PEAR] Re: A general problem
Norbert 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/

Report this thread to moderator Post Follow-up to this message
Old Post
Norbert Mocsnik
08-31-04 08:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Pear archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:58 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.