Re: problem with include/require
| From: | Yasuo Ohgaki | Date: | Sun, 11 Mar 2001 02:50:18 +0000 |
| Subject: | Re: problem with include/require | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43363@lists.php.net to get a copy of this message | ||
""Erick Papadakis"" <erick_papadakis@yahoo.com> wrote in message
news:98einl$rpl$1@toye.p.sourceforge.net...
> i installed my php on my windows machine using the "php triad" software
> which i downloaded from www.sourceforge.net. however, now i have a problem
> with "include" command. for everything i wish to include into my programs, i
> need to speficy this folder in the "include_path" inside my php.ini. can i
> change this configuration?
Sounds like all you need to is edit include_path line your php.ini correctly.
If you are setting include_path right, are you sure you don't have typo?
Refer to
http://www.php.net/manual/en/configuration.php
Regards,
--
Yasuo Ohgaki
>
> for example, lets say i have a directory called:
>
> c:/apache/htdocs/phpprograms/
>
> inside this phpprograms, i have the following files:
>
> class_include.phpi
> actual_program.php
>
> inside my "actual_program.php", i require the "class_include.phpi", but
> this
> gives me a runtime error.
>
> i think it must be some configuration problem? i would appreciate if someone
> can tell me how to do this!
>
> cheers/erick
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.237 / Virus Database: 115 - Release Date: 07-Mar-01
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>