Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 7th, 2006, 11:18 PM
Authorized User
 
Join Date: Jul 2004
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rajuru Send a message via Yahoo to rajuru
Default file manipulation

I want to read last few lines (suppose 10 lines) from a file.
array_reverse(file($f)) is not a good way I think bcoz if file become large, this is performance issue. any other way to do that????



Best Regard:
Md. Zakir Hossain (Raju)

www.rajuru.xenexbd.com - my blog with PHP scripts, PHP Book Review and many more
__________________
Best Regard:
Md. Zakir Hossain (Raju)

www.rajuru.xenexbd.com - my blog with PHP scripts, PHP Book Review and many more





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sequential File Manipulation chandan8888 BOOK: Professional Visual Studio 2008 ISBN: 978-0-470-22988-0 1 January 14th, 2013 05:02 PM
File Manipulation in DP aintvoguish XSLT 2 December 7th, 2007 10:26 AM
Help with a report manipulation arishy Excel VBA 0 January 1st, 2006 12:51 AM
VB and BMP file manipulation. xorprime Beginning VB 6 1 March 2nd, 2005 02:59 PM
Text manipulation Thomas82 Classic ASP Databases 2 February 26th, 2004 04:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.