Reply to require_once issue

Your name:

Reply:


Posted by David on 09/13/05 22:54

I have code that brings in the Pear DB

require_once 'DB.php';

However, there is an include in the DB.php for the PEAR.php file, and
the system does not appear to be able to locate that file. The
PHP.ini has

include_path = ".;c:\php\includes;c:\php\includes\Pear"

PHP appears to use this dir. search path for the DB.php but not the
internal Pear.php!

I can force the include but changing it to a full path, but this is
not the best option.

Any ideas as to the root cause of this issue?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация