???????????????
????1?????ImageMagick????????????·??????????????path??
????2?????Tesseract-OCR
#define MAX_NAME_LEN 4 //??????????????????????????4λ
int flen;        //??????????????????????????С
long filedes;
long filedess;    //??????????
char file[256]="c:\test1.jpg";  //???????·?????????
char result[4];//?????????????ж????????????
web_set_max_html_param_len("2000000");
//????????????????????????????????????????С
//???????????????????????????浽??????
web_reg_save_param_ex(
"ParamName=pic"??
"LB="??
"RB="??
SEARCH_FILTERS??
"Scope=Body"??
"RequestUrl=*/action/ValidateCodeServlet*"??
LAST);
//??????????????????????ID
web_reg_save_param_ex(
"ParamName=CorrelationParameter_1"??
"LB=Set-Cookie: JSESSIONID="??
"RB=; Path"??
SEARCH_FILTERS??
"Scope=All"??
"RequestUrl=*/192.168.12.1:8080/*"??
LAST);
//??????????
web_url("192.168.12.1:8080"??
"URL=http://192.168.12.1:8080/"??
"Resource=0"??
"RecContentType=text/html"??
"Referer="??
"Snapshot=t1.inf"??
"Mode=HTML"??
EXTRARES??
"Url=/images/login_screenbg.jpg"?? ENDITEM??
"Url=/images/login_midbg.jpg"??ENDITEM??
"Url=/images/login_contentbg.jpg"?? ENDITEM??
"Url=/images/login_btn.png"?? ENDITEM??
"Url=/images/login_input1.png"??ENDITEM??
"Url=/images/login_input2.png"??ENDITEM??
"Url=/images/reset_btn.png"??ENDITEM??
LAST);
flen = web_get_int_property(HTTP_INFO_DOWNLOAD_SIZE);