[PHP] equivelant of ASP's #include file?

2001-09-13 Thread LRW
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? Thanks! Liam -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Helen
!-- #include file = filename.txt -- Can anyone tell me what the PHP equivelant might be? ? include(filename.txt); ? It's interesting ASP uses the same format at SSI includes. Helen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Kurth Bemis
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

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread LRW
Yeah, it was just brought to my attention what I thought was an ASP code...is not. =/ As for the manual, would you be able to recommend any good books for beginning PHP? Thanks! Very embarassed, Liam Kurth Bemis wrote in message [EMAIL PROTECTED]... At 10:21 AM 9/13/2001, LRW wrote: I

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Ben . Edwards
include ( file ); However this simply includes the file ( so it would be displayed as if it was html). You can also make the include a .php ( dont forget ? and ? ). Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Thomas Deliduka
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

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Kurth Bemis
At 10:29 AM 9/13/2001, LRW wrote: the PHP manual at PHP.net!! the only real manual ~kurth Yeah, it was just brought to my attention what I thought was an ASP code...is not. =/ As for the manual, would you be able to recommend any good books for beginning PHP? Thanks! Very embarassed,

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Alexander Skwar
So sprach »Kurth Bemis« am 2001-09-13 um 10:32:21 -0400 : the PHP equiv is include('filename') Well, no, the equiv is readfile. read the manual - You too. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: