[PHP] How do I inserting the content of a TEXT file into a PHP document?
Hi! I would like to insert the HTML code in a TXT document. How do I do this? On a normal website I'd make an SHTML site with the !--#include virtual=news.txt -- but since the PHP engine (as far as I know) doesn't initiate SSL on the server. If anyone could be so kind to give me the code to make this work, it'd be great! Best regards, Cato Larsen Webmaster of: http://www.oia.f2s.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How do I inserting the content of a TEXT file into a PHP document?
On Wed, 12 Sep 2001 14:37:59 +0200, you wrote: I would like to insert the HTML code in a TXT document. How do I do this? On a normal website I'd make an SHTML site with the !--#include virtual=news.txt -- Can't you still do this? but since the PHP engine (as far as I know) doesn't initiate SSL on the server. Not sure what SSL has to do with anything. SSI? If anyone could be so kind to give me the code to make this work, it'd be great! ? include('news.txt') ? djo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How do I inserting the content of a TEXT file into a PHP document?
Woah! It worked!!! Thanks djo! Best regards Cato Larsen Webmaster of http://www.oia.f2s.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How do I inserting the content of a TEXT file into a PHP document?
So sprach »David Otton« am 2001-09-12 um 13:47:53 +0100 : On Wed, 12 Sep 2001 14:37:59 +0200, you wrote: I would like to insert the HTML code in a TXT document. How do I do this? On a normal website I'd make an SHTML site with the !--#include virtual=news.txt -- Can't you still do this? No, it's either SHTML or PHP. IIRC, Apache 2.0 will be able to handle SHTML'd PHP files (or rather: two (or more?) handlers for one file). Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 2 days 15 hours 1 minute -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]