Char pre_email[4];
Char email[4];
Itoa (rand ()%1000,pre_email,10);
strcat (Pre_email, "@5.cn");
strcpy (email,lr_eval_string (Pre_email));
Lr_output_message ("%s", email);
Lr_save_string (email, "vemail");
Action ()
{
Char email[4];
Itoa (rand ()%1000,email,10);
strcat (email, "@5.cn");
Web_reg_save_param ("Emailverifycode",
"Lb= quilted 簩 shu ワ fork name Mitsu nan accommodating heals scythe 乕",
"Rb=]",
last);
Web_submit_data ("Regist",
"Action=http://192.168.1.101:40001/dangdang/user/regist.action",
"Method=post",
ItemData,
"Name=struts.token.name", "Value=struts.token", Enditem,
"Name=struts.token", "Value=dqk2074vvsdby236hwnt2psrfz963qne", Enditem,
"Name=user.email", "Value={email}", Enditem,
"Name=user.nickname", "Value={email}", Enditem,
"Name=user.password", "value=111111", Enditem,
"Name=password1", "value=111111", Enditem,
"Name=validatecode", "value=1", Enditem,
last);
Web_submit_data ("Verify",
"Action=http://192.168.1.101:40001/dangdang/user/verify.action",
"Method=post",
ItemData,
"Name=struts.token.name", "Value=struts.token", Enditem,
"Name=struts.token", "Value=dqk2074vvsdby236hwnt2psrfz963qne", Enditem,
"Name=emailverifycode", "Value={emailverifycode}", Enditem,
last);
return 0;
}
Lr_ string concatenation as a parameter