I managed to use the code you gave to get the contents of the file.However, it is all jumbled up meaning that it does not follow the original format and keeps filling out the space .
eg
Original
1)xxxxx
2)xxxx
3)xxxx
.......
Grabbed from PHP
1)xxxxxxx 2)xxxxxx 3)xxxxx .......
Is there a way to preserve the original format of the file even though it was grabbed from PHP?
The displayed grabbed file should be in the original format.
Thanks