这里的用户名和密码要如何做才能传输到stm32做的服务器上??
还有stm32的程序还要写什么函数之类的么??
这是我写的
/*默认用户名*/
static unsigned char user1[]="chendehao";
/*默认用户密码*/
static unsigned char password1[]="chendehao123";
/*登陆界面*/
plen=fill_tcp_data_p(buf,plen,PSTR("<form>用户:<input type=\"text\" name=\"user\" size=\"20\"><br/><br/>"));
plen=fill_tcp_data_p(buf,plen,PSTR("密码:<input type=\"password\" name=\"password\"><br/><br/>"));
plen=fill_tcp_data_p(buf,plen,PSTR("<input type=\"submit\" value=\"登入\"/></form><br/><br/>"));
if((strcmp(user1,user)==0)&&(strcmp(passwor1,password)==0))
{.....}
这样不知道网络上的传下来的用户名和密码是什么,存储在哪里?
求高人指点,我该如何才能知道获得网页上的用户名和密码,用来进行不对??
|