Re: Requiring stuff question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"John Nichel" <john@xxxxxxxxxxxx> wrote in message 
news:4291ED22.9060902@xxxxxxxxxxxxxxx
> 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 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux