多翻翻TC库就能找到.
- 变量 uid,pwd
- uid="uid"
- pwd="mima"
- 变量 post_url = "http://www.baidu.com/hehei/loginIn?uid=" & uid & "&pwd=" & pwd
- 变量 mode = "get" //访问模式(get/post)
- 变量 senddata =""
- 变量 head = array() //请求头
- 变量 post_resp**e = "" //响应头(引用返回)
- 变量 post_ret = "" //post后获取的内容(里面包含post后跳转页面地址)
- post_ret = httpsubmit(mode,post_url,senddata,"utf-8",head,post_resp**e)
- messagebox(post_resp**e) //响应头
- messagebox(post_ret) //网页源文件内容
复制代码 |