how php mislay x array lines commencement calm file?
i'm minute php book script outputs rudimentary calm record record operations performs. i php mislay initial several lines record reaches certain record size?
ideally, i keep initial twin lines (date/time combined blank) start deletion line 3 mislay x volume lines. i already know filesize()
function, i'll controlling check record size.
example record text:
*** record record combined 2008-10-18 during 03:06:29 ***
2008-10-18 @ 03:06:29 created: gallery/thumbs
2008-10-18 @ 03:08:03 renamed: gallery/img_9423.jpg gallery/img_9423.jpg
2008-10-18 @ 03:08:03 renamed: gallery/img_9188.jpg gallery/img_9188.jpg
2008-10-18 @ 03:08:03 renamed: gallery/img_9236.jpg gallery/img_9236.jpg
2008-10-18 @ 03:08:03 renamed: gallery/img_9228.jpg gallery/img_9228.jpg
2008-10-18 @ 03:08:03 renamed: gallery/img_3104.jpg gallery/img_3104.jpg
2008-10-18 @ 03:08:03 renamed: gallery/first dance02.jpg gallery/first dance02.jpg
2008-10-18 @ 03:08:03 renamed: gallery/bandg02.jpg gallery/bandg02.jpg
2008-10-18 @ 03:08:03 renamed: gallery/official03.jpg gallery/official03.jpg
2008-10-18 @ 03:08:03 renamed: gallery/wedding32.jpg gallery/wedding32.jpg
2008-10-18 @ 03:08:03 renamed: gallery/gettaway car16.jpg gallery/gettaway car16.jpg
2008-10-18 @ 03:08:04 created: gallery/thumbs/afterparty05.jpg
2008-10-18 @ 03:08:04 created: gallery/thumbs/img_9254.jpg
2008-10-18 @ 03:08:04 created: gallery/thumbs/img_9175.jpg
2008-10-18 @ 03:08:04 created: gallery/thumbs/official05.jpg
2008-10-18 @ 03:08:04 created: gallery/thumbs/first dance01.jpg
2008-10-18 @ 03:08:04 created: gallery/thumbs/wedding29.jpg
2008-10-18 @ 03:08:04 created: gallery/thumbs/men walking.jpg
Comments
Post a Comment