牛骨文教育服务平台(让学习变的简单)
博客笔记

			
				php实现登录注册功能
php实现登录注册功能 2016-05-10
1.建立数据库 运用PHP连接MySQL数据库实现登录注册功能并将用户登录日志写入数据库,首先需要在数据库中建立需要的数据库 php 以及用户表 User和日志表 Lo
22
2017-11
Yii2 AR find用法 2017-11-22
User::find()->all();    返回所有数据 User::findOne($id);   返回 主键 id=1  的一条数据 User::find()->where(["name" => "小伙儿"])->one();   返回 ["name" => "小
04
2015-01
yii2 AR常用数据操作 2015-01-04
总结yii2里面AR一些强大的curd方法: 先声明AR类,gii生成或在models目录中手动创建: namespace appmodels; use yiidbActiveRecord; class News extends ActiveRecord{ pub
07
2016-12
Yii AR模式的增删改查 2016-12-07
 public function getMinLimit () {         $sql = "...";         $result = yii::app()->db->createCommand($sql);         $query = $result->queryAll();          retur
09
2017-03
MongoDB 安装及启动 2017-03-09
一 配置及安装 1、下载  地址:https://www.mongodb.com/download-center 2、解压并配置    mongod没有参数的情况下会使用默认数据目录/data/db(Windows为C:datadb),
11
2006-05
使用WebClient.UploadData post数据 2006-05-11
引用bearocean(helloworld)     使用 WebClient.UploadData 方法来实现,将所要上传的数据拼成字符即可,程序很简单: string uriString = "http://localhost/login.aspx";//
06
2016-06
.net后台webclient用post方式发送文件和数据 2016-06-06
运用拿来主义网上找个HttpRequestClient不错东东分享下 using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using System.Tex
09
2018-03
c# 代码Post提交数据 application/x-www-form-urlencoded 方式 2018-03-09
        ///         /// Post提交数据        ///         /// URL        /// 参数        ///         private string PostWebRequest(string postU
21
2015-10
c# webapi POST 参数解决方法 2015-10-21
HttpWebRequest POST请求webapi:如果参数是简单类型,比如字符串(注意,拼接的字符串要HttpUtility.UrlEncode才行,否则服务端会丢失特殊字符&后面的数据
12
2017-12
C# POST请求demo,contentType 格式:application/x-www-form-urlencoded 2017-12-12
/* * url:为请求地址 * postData:请求内容例如:"key1=value1&key2=value2&key3=value3" */ public static string PostUrl(string url, string postData) { string result = ""; try