Re: Is there a way to "include" php source files in a php script ?
| From: | Ernest E Vogelsinger | Date: | Sun, 23 Feb 2003 23:16:27 +0000 |
| Subject: | Re: Is there a way to "include" php source files in a php script ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136779@lists.php.net to get a copy of this message | ||
At 20:59 23.02.2003, Rohin Gosling said:
--------------------[snip]--------------------
>Is there a way to include a *.php source file from inside another php source
>file, in a similar fashion to the way you use the "include" directive in C
>or C++ ?
--------------------[snip]--------------------
<rant>
Oh my god, it's soon you'll be asking "is there a way I can do programs
with PHP" ...
Why is it SOOO difficult to do at least SOME reading in the online manual
before asking in public? Isn't it embarrassing to demonstrate general
ignorance?
</rant>
Ok, I'm feeling better now - yes it is possible. See these pages at the
online manual:
http://www.php.net/manual/en/function.include.php
http://www.php.net/manual/en/function.include-once.php
http://www.php.net/manual/en/function.require.php
http://www.php.net/manual/en/function.require-once.php
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/