Re: do i need to explicitly say im using it?
| From: | bertrand Gugger | Date: | Sun, 30 Jan 2005 20:03:59 +0000 |
| Subject: | Re: do i need to explicitly say im using it? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17280@lists.php.net to get a copy of this message | ||
rmaccaullch@johnabbottcollege.net wrote:
Hi, I am relatively new to programming/networking so I just have a simple question. Once pear packages are installed on the server, do i need to explicitly say in my php code that i am using Pear code? You did it allready so far the script says:require_once 'pear-package' ; and pear_package is in some PEAR folder itself within the include path. indeed, it's solving among the precedences in this include path, so possibly, you could overwrite what you like.
Or will the pear packages be read by php automatically? php just solves require.., include...
I know the server has pear enabled because another project was used using it, but I am unsure wether include or require php functions are needed in order to use the Pear functions. So just look how they require it.
Thanks in advance Hope answer not too late, it's bloody slow on my box.-- bertrand Gugger (toggg)