Re: Adding a Function
| From: | Stewart Lord | Date: | Mon, 29 Jul 2013 14:56:40 +0000 |
| Subject: | Re: Adding a Function | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-16409@lists.php.net to get a copy of this message | ||
You should try one of the support lists for help and also check out fopen/fseek/etc.
On Jul 28, 2013, at 8:03 PM, Aritra Hazra wrote:
> Hi, I've been using PHP for several years and I take is as my primary
> priority for making web applications. But recently I'm having a problem in
> file reading. I have a huge file containing simple text data. Whatever I
> append to the file it adds at the bottom, It's OK but, I want to read the
> file from the bottom by lines and I couldn't find any appropriate function
> to do this, and as It's a huge file (50mb+) it takes forever to load by the
> formal way from the start. So I'm requesting PHP crew to add a function
> that can read files backwards from the end by lines. It'll be a huge help
> for me including many programmers :-)
>
> THANK YOU