会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
牛粪也香
https://blog.51cto.com/ainfyx(以前的)
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
11
下一页
2019年4月21日
适配器模式(数据库方面)支持不同的数据库连接
摘要: <?phpdefine("BASDIR",__DIR__);include BASDIR."/Phpclass/Loader.php";spl_autoload_register("\\Phpclass\\Loader::autoload_rege");$mysqli= new \Phpclass\
阅读全文
posted @ 2019-04-21 11:20 牛粪也香
阅读(521)
评论(0)
推荐(0)
2019年4月20日
php的三种设计模式
摘要: <?phpdefine("BASDIR",__DIR__);include BASDIR."/Phpclass/Loader.php";spl_autoload_register("\\Phpclass\\Loader::autoload_rege");//$db= new \Phpclass\Fa
阅读全文
posted @ 2019-04-20 23:27 牛粪也香
阅读(253)
评论(0)
推荐(0)
php 的空间命名以及对对象的相关操作,扩展到对数据库的相关函数
摘要: <?phpdefine("BASDIR",__DIR__);include BASDIR."/Phpclass/Loader.php";spl_autoload_register("\\Phpclass\\Loader::autoload_rege");\Phpclass\Gener::test()
阅读全文
posted @ 2019-04-20 23:21 牛粪也香
阅读(186)
评论(0)
推荐(0)
2019年4月11日
js string
摘要: <script type="text/javascript">// var obj=new Object();//创建一个对象var obj1={//直接创建一个对象 a:10, b:20, say:function(){ alert("以键值对的形式出来"); } };//也是创建一个对象(键值对
阅读全文
posted @ 2019-04-11 22:25 牛粪也香
阅读(114)
评论(0)
推荐(0)
js基础
摘要: <script type="text/javascript">// prompt("请输入密码:");str = prompt("请输入密码:");// var aa=confirm("输入是否正确");alert (aa);// function fn(msg, val){alert(msg);a
阅读全文
posted @ 2019-04-11 22:23 牛粪也香
阅读(87)
评论(0)
推荐(0)
2019年3月14日
ubuntu-desktop
摘要: apt install ubuntu-desktopapt-get install ubuntu-gnome-desktopapt-get install gnome-themes-standard gnome-shellapt-get install plasma-desktopapt insta
阅读全文
posted @ 2019-03-14 22:39 牛粪也香
阅读(874)
评论(0)
推荐(0)
2019年3月6日
php 时期相关函数
摘要: <?php header('content-type:text/html;charset=utf-8');date_default_timezone_set('Asia/Shanghai');echo date_default_timezone_get(); //date(Y/M/d); // //
阅读全文
posted @ 2019-03-06 17:40 牛粪也香
阅读(228)
评论(0)
推荐(0)
字符串,验证码
摘要: <?phpheader('content-type:text/html;charset=utf-8');// array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)foreach (range(0, 12) as $number) { echo $number
阅读全文
posted @ 2019-03-06 17:38 牛粪也香
阅读(178)
评论(0)
推荐(0)
function 相关
摘要: <?php$array=array(1,2,3,4,5,6);function test1(&$var){ $var*=3;}$res=array_walk($array,"test1");//array_walk(array,funcname);print_r($res);print_r($arr
阅读全文
posted @ 2019-03-06 17:32 牛粪也香
阅读(184)
评论(0)
推荐(0)
ubuntu_soft相关安装
摘要: 安装流程 1 不连网安装 2 安装完成后重启 3 移出不需要的软件 4 运行autoremove 然后再重启 5 安装网卡驱动--重启 6 更新apt update(可以改变/etc/apt/sources.list)或把已经下载的更新包复制到/var/cache/apt/archives/ /**
阅读全文
posted @ 2019-03-06 16:40 牛粪也香
阅读(200)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
11
下一页
公告