483956 Convert TXT to CSV with PHP

Tamamlanmış İlan edilme: Mar 12, 2011 Teslim sırasında ödenir
Tamamlanmış Teslim sırasında ödenir

Here is a basic project. PHP.

--Need a browse button to locate my file for converting.

--Need to read file, convert file to CSV or TAB

--Need to output file to same name as locate file, but with either CSV or TAB as extension.

--Please comment code. I know this is simple but I am trying to learn C and you comments will help.

That is IT!! Just read file and loop through file.

Information within file is formatted like this (see attachment)

...

txt file will look like this &=TAB

&filename CR LF

&&FilenameLocation CR LF

&&FilenameExtension CR LF

&&FileArchive CR LF

&&FileSize CR LF

&&FileCreateDate CR LF

CR LF

--------repeat the above format to end of file--------

OUTPUT Format:

Add counter Need QUOTES surrounding below words. see attached [url removed, login to view] file

"addcounter","filename","filenameLocaiton","filenameExtension","FileArchive","FileSize","FileCreatDate" CR LF

---------repeat------------

That does it.

Odd Jobs PHP

Proje NO: #2229866

Proje hakkında

1 teklif Uzak proje Aktif Jul 11, 2012

Seçilen:

rajeshsonisl

As discussed. Thanks.

%selectedBids___i_period_sub_7% gün içinde 15%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(698 Değerlendirme)
7.8