1, function file() reads a file line by line and make them an array, then use fuction implode() to join the array elements together. This means get the whole content of the file "store".
2, use session is a better way.