Devam Ediyor

483320 Convert PDF to Ascii to array in PHP - Parse data

requirements:

0) Language: PHP

1) take attached PDF file ([url removed, login to view]) and convert it to ascii. This part has been coded already using ps2ascii.

$txtfile = str_replace(".pdf",".txt",$pdf_file_name);

system("ps2ascii ".$path.$pdf_file_name." ".$path.$txtfile);

2) Put data from ascii file ([url removed, login to view]) into a 2D array.

3) Data we are concerned with has a numeric shoe size and starts with "23MWALK"

-everything we care about will have a numeric size associated with it "5,6,7,8..and so on".

-we only care about "NOW" dates not future dates.

-need to associate "NIL" or "YES" with every style and color that has a numeric shoe size in a 2-d array

The Array consists of style-color-size in one dimension and "YES" or "NIL" in the other dimension.

walking shoes have widths associated with them. The width is designated by one character to the left of 'NOW' so for the first line the width is D. The width must be appended to the size

examples

$item[0][0]=="23MWALK-BLK-07D"

$item[0][1]=="YES"

$item[1][0]=="23MWALK-BLK-08D"

$item[1][1]=="YES"

$item[2][0]=="23MWALK-BLK-085D"

$item[2][1]=="YES"

$item[3][0]=="23MWALK-BLK-09D"

$item[3][1]=="YES"

$item[4][0]=="23MWALK-BLK-09D"

$item[4][1]=="YES"

$item[6][0]=="23MWALK-BLK-10D"

$item[6][1]=="YES"

.

.

.

$item[12][0]=="23MWALK-WHTNVY-07D"

$item[12][1]=="YES"

.

.

.

$item[12][0]=="23MWALK-WHTNVY-07E"

$item[12][1]=="YES"

.

.

.

$item[xx][0]=="24ALLGR-BLK-05"

$item[xx][1]=="YES"

$item[xx][0]=="24ALLGR-BLK-06"

$item[xx][1]=="NIL"

.

.

.

$item[xx][0]=="24ALLGR-DRKBRN-05"

$item[xx][1]=="YES"

.

.

.

$item[xx][0]=="24ALLGR-GLDMTL-05"

$item[xx][1]=="YES"

.

.

.

[Repeat for entire ascii file for all styles and color combinations that have a numeric shoe size.]

note, please add 0 in front of single digit sizes.

please export data to a .csv file to demonstration and provide a Print_R for the array..

Beceriler: Her şey Kabul, Veri Girişi, PDF, PHP

Daha fazlasını görün: pdf ascii php, dimension data, data front, convert file to, php pdf array, array php pdf, nil, export data, data entry associate, d to 2d, d associate, convert c# to c++, convert c to c, convert 2d to, path pdf, convert pdf txt, line pdf, php file array, convert line, convert ascii, txt convert pdf, ascii convert, parse array php, csv convert, convert pdf line

İşveren Hakkında:
( 2 değerlendirme )

Proje NO: #2229230

Seçilen:

topfive

sir i am ready to start.

1 gün içinde 150$ USD
(0 Değerlendirme)
0.0