Posted by howachen on 10/06/06 03:41
NC 寫道:
> On Oct 5, 12:17 am, howac...@gmail.com wrote:
> >
> > I have many text file with 1 to 2MB in size
> >
> > currently, i use the method:
> >
> > echo file_get_contents( $file_path );
> >
> > are there any better method?
>
> Yes. Use readfile():
>
> http://www.php.net/readfile
>
> Cheers,
> NC
thanks all...
seems readfile() is the best method
[Back to original message]
|