Reply to Re: Requiring stuff question

Your name:

Reply:


Posted by "Robert" on 05/23/05 18:57

"John Nichel" <john@kegworks.com> wrote in message
news:4291ED22.9060902@kegworks.com...
> Robert wrote:
>> I have the following in a config file:
>>
>> // Define and require the Smarty library
>> define('SMARTY_DIR', 'Smarty/');
>> require(SMARTY_DIR . 'Smarty.class.php');
>>
>> // Define the pager stuff
>> define('PAGER_DIR', 'Pager/');
>> require(PAGER_DIR . 'Pager.php');
>> require(PAGER_DIR . 'Pager_Wrapper.php');
>>
>> // Define the DB package
>> define('PEAR_DB', 'DB/');
>> require(PEAR_DB . 'DB.php');
>>
>> The Smarty stuff works no problem. The DB and Pager stuff do not. Since I
>> am new to PHP I may be just misunderstanding how to do it.
>
> What's the error you're getting?
>
There is no error in the Apache2 log file...

Robert

[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

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