I have a big giant RTF file. I could convert it to plain text. BUT can PHP do it for me?


I want to read the text file into a string. This does the job well, right?

This is it? Not more complicated?

$homepage = file_get_contents('http://www.example.com/text.txt');
echo $homepage;
?> |

What about this?

|$lines = file('http://www.example.com/');|
|echo $lines;

Is there any big difference?

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to