Re: equivelant of ASP's #include file?
| From: | Thomas Deliduka | Date: | Thu, 13 Sep 2001 14:30:42 +0000 |
| Subject: | Re: equivelant of ASP's #include file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67214@lists.php.net to get a copy of this message | ||
Although, I must note that include() doesn't work quite the same as the ssi
#include
I think require() works much better
Read about the two differences:
http://www.php.net/require
http://www.php.net/include
(these will redirect to the proper manual page.)
On 9/13/2001 10:32 AM this was written:
> At 10:21 AM 9/13/2001, LRW wrote:
>
> I believe that that is server side includes...NOT asp..i could be wrong tho
>
> the PHP equiv is include('<filename>')
>
> read the manual -
>
> ~kurth
>
>> Hi all. PHP newbie here.
>> There's a code that one can use in ASP that will print to the browser the
>> contents of an ascii file:
>>
>> <!-- #include file = "filename.txt" -->
>>
>> Can anyone tell me what the PHP equivelant might be?
--
Thomas Deliduka
IT Manager
-------------------------
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/