zoukankan      html  css  js  c++  java
  • webclient提交并接受返回

    string url = "http://yoowiki.com/check.php?cmd=add&username=" + this.txt_userName.Text + "&password=" + System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(this.txt_pwd.Text, "MD5").ToLower() + "&email=" + this.txt_userName.Text + "&ip=60.190.138.175&key=wrdhgahd58oeqj0d";
            WebClient client = new WebClient();
            Stream strm = client.OpenRead(url);
            StreamReader sr = new StreamReader(strm);
            string line;
            line = sr.ReadLine();
            if (line != null)
            {
                if (line == "0")
                {
                    //Wiki段注册成功
                    Response.Write("成功了");
                }
            }
            strm.Close();
  • 相关阅读:
    centos7 修复引导
    Django 过滤器
    Django 面向对象orm
    Django models字段查询谓词表
    linux常用的监控命令
    常用SQL语句
    python实现FTP服务器
    用python做一个图片验证码
    rsync
    jsonp的理解
  • 原文地址:https://www.cnblogs.com/feifeiwzh/p/1503067.html
Copyright © 2011-2022 走看看