How do I put the text that's in the txt in a var? I tried with file(blah.txt) but then the text is put in an array. I just want to get the whole text in one.
$handle = fopen ($filename, "r"); $contents = fread ($handle, filesize ($filename)); fclose ($handle);
http://www.php.net/manual/en/function.fread.php