Assuming a record length of 100 characters and i want to read approximately the last 5
records, here is the code:
--code-
Last n records read in last 500 characters:");
echo("");
fseek($handle , $nchars, SEEK_END); //
$buf = fgets($handle, 100);// will read till a newli
> Any file polated with lumps wont do here.
"poluted" or "populated" - you may chose any spell correction here.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r +400
hits to. Oki, just start read, and then have happy hacking.
Have fun!
-Original Message-
From: Idur
To: [EMAIL PROTECTED]
Sent: 2003-12-20 07:19
Subject: [PHP-WIN] random access file with php
Hi there,
I have a big file txt to read(about 40 Mb), and i have
script to read this
Hi there,
I have a big file txt to read(about 40 Mb), and i have
script to read this file, suddenly i realise that my
methode to read file is using "sequential access"
mode, but this process take time to
long(max_time_execution = 90) and i need the methode
to read in "random access" with php, i he
Hi there,
I have a big file txt to read(about 40 Mb), and i have
script to read this file, suddenly i realise that my
methode to read file is using "sequential access"
mode, but this process take time to
long(max_time_execution = 90) and i need the methode
to read in "random access" with php, i he