Re: Require_once problem
| From: | Christian Weiske | Date: | Mon, 17 Oct 2011 13:54:23 +0000 |
| Subject: | Re: Require_once problem | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-31266@lists.php.net to get a copy of this message | ||
Hello Paul,
> If I include the files of Pear library to my document_root
> (public_html) it works fine on the set paths. I wanted to create a
> subfolder in the root for a contact page using html_quickform, but I
> always get an include failure for the relative path.
> ...
>
> I have also used php to determin the path of my pear installation and
> have tried the include with that path but still no joy. heres the
> path:
>
> ..:/usr/lib/php:/usr/local/lib/php
Some questions:
1. Where is pear installed?
Run
> $ pear config-get php_dir
on the shell.
2. How do you include the HTML_QuickForm files?
I'd like to see the require_once code.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc