You are here: Re: Requiring stuff question « PHP « IT news, forums, messages
Re: Requiring stuff question

Posted by "Robert" on 05/23/05 19:00

>"Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message
> >news:C8F323573C030A448F3E5A2B6FE2070B08EB9300@nemesis...
>[snip]
>// 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.
>[/snip]
>
>What is the whole exact path to the DB and Pager stuff?

[root] C:\Documents and Settings\me\My Documents\websites\DEV\smarty #
this is where my config.inc.php file is
[DB] C:\Documents and Settings\me\My Documents\websites\DEV\smarty\DB
[Pager] C:\Documents and Settings\me\My Documents\websites\DEV\smarty\Pager

Is that what you wanted?

Robert

 

Navigation:

[Reply to this 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

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