load rtf file

From: Date: Mon, 03 Sep 2012 05:23:36 +0000
Subject: load rtf file
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-318953@lists.php.net to get a copy of this message
I have a big giant RTF file. I could convert it to plain text. BUT can PHP do it for me? Also: I want to read the text file into a string. This does the job well, right? http://php.net/manual/en/function.file-get-contents.php This is it? Not more complicated? |<?php $homepage = file_get_contents('http://www.example.com/text.txt'); echo $homepage; ?> | What about this? http://www.php.net/manual/en/function.file.php ||<?php |$lines = file('http://www.example.com/');| |echo $lines; ?>| Is there any big difference?

« previous php.general (#318953) next »