| От | |
|---|---|
| Тема | First project done Thanks to your help :)) |
| Дата | |
| Msg-id | 000801c315d2$89e68fd0$a3b56644@marcottesamiam обсуждение исходный текст |
| Ответы |
Re: First project done Thanks to your help :))
|
| Список | pgsql-php |
Now I want to take a 300meg file and break it up into smaller files I can read with text readers. I just can not find how to read one file - write it out to lets say 40 files I want to read by line for a given # of lines (I will have to just guess at this), then when I get to that # start writing to file 2 then to file 3 when I get to 2 * the # then 3 *..... figure there should be some way to set up an array (file0....file40), I figure take my # say 10,000 move it to array(0), *2 to array(1)..... so when I get to array(1) 20,000 - I start writing to file out (array1) Just not sure how to set it up and use arrays for files. Thanks for any ideas. Sam Marcotte
В списке pgsql-php по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера