12-29-2007, 11:09 PM
|
#5 (permalink)
|
|
The Frequenter
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
|
For regular files (ie, files that don't have any PHP code that needs parsing), I would recommend using file_get_contents():
PHP Code:
$contents = file_get_contents('my_text_file.txt');
// $contents will now contain everything that was in my_text_file.txt
Alan
|
|
|