Re: Is it possible to "Include" a php source file ?
| From: | Joachim Krebs | Date: | Sun, 23 Feb 2003 22:22:08 +0000 |
| Subject: | Re: Is it possible to "Include" a php source file ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136764@lists.php.net to get a copy of this message | ||
include()
include_once()
require()
require_once()
Look those functions up in the PHP docs.
------------
On 23 February 2003 at 21:32:46, Rohin Gosling wrote:
> First up, I sent this same message a few hours ago, but I do not see it in
> the news group, and neither does it appear in my sent messages folder.
> Therefore I am presuming that it never made it to the news group. How ever,
> if it did get to the news group and I am just unable to see it, then just
> ignore this message and hopefully my first attempt to post this question
> will show up latter. I did receive a warning message saying that the message
> may not appear strait away. So I'm not quite sure what's it going on here.
> Anyway, back to my question. Hopefully it will make it into the news group
> this time !
> Is it possible to "include" a *.php source file from inside another php
> source file, an a fashion similar to that of using the include directive in
> C or C++ ?
> Or alternatively, is there a way to call a php script stored in another file
> from inside a php script.
> Rohin