filesize() and reading a file probelms
Posted: Mon Feb 21, 2005 8:41 am
Hi there,
I am having a poblem reading the contents of the file. The file must be read each time a certain php script is visited in my site.
The problem is that filesize() is returning 1799 regardless of how big the file is. and therefore is not reading to the end of the file. I am echoing out the contents and it doesnt go to the end. the file will be a different length each time it is opened.
any help would be hugely appreciated!!!!
Thanks
I am having a poblem reading the contents of the file. The file must be read each time a certain php script is visited in my site.
The problem is that filesize() is returning 1799 regardless of how big the file is. and therefore is not reading to the end of the file. I am echoing out the contents and it doesnt go to the end. the file will be a different length each time it is opened.
any help would be hugely appreciated!!!!
Thanks