随笔分类 -  PHP

php
摘要:我录的TP5 第九季上线,关于 在线安装 ,点赞2.0 ,AUTH入门,模型关联提高 四大块内容 。 免费下载地址:http://pan.baidu.com/s/1c1SkwHM 阅读全文

posted @ 2018-08-17 16:48 与非朋仔 编辑

websocket
摘要:<!DOCTYPE html><html><head> <title>django-websocket</title> <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> <script type="text/jav 阅读全文

posted @ 2017-09-11 08:58 与非朋仔 阅读(216) 评论(0) 推荐(0) 编辑

php读文件操作
摘要:$filename = "/home/x.txt"; $handle = fopen($filename, "r"); // $contents = fread($handle, filesize ($filename)); $arr=array(); $keywords=array(); for 阅读全文

posted @ 2016-03-30 19:54 与非朋仔 阅读(131) 评论(0) 推荐(0) 编辑

js原型模式
摘要:name属性要么是直接在对象上访问到的,要么是通过原型访问到的。因此调用name in person始终都返回true,无论该属性存在于实例还是存在于原型中。hasOwnProperty()只有在实例中才会返回true。 function hasPrototypeProperty(object, n 阅读全文

posted @ 2016-03-06 17:23 与非朋仔 阅读(148) 评论(0) 推荐(0) 编辑

combo扩展:禁止手工改变输入框的值
摘要:<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>combo扩展之disableTextbox - jQuery EasyUI Demo</ 阅读全文

posted @ 2016-03-05 16:24 与非朋仔 阅读(324) 评论(0) 推荐(0) 编辑

html入门学习
摘要:Norwegian Mountain Trip123123123123This text is boldThis text is pThis text is strongThis text is bigThis text is emphasizedThis text is italicThis te... 阅读全文

posted @ 2015-06-26 14:26 与非朋仔 阅读(219) 评论(0) 推荐(0) 编辑

php实现echo json_encode正确显示汉字
摘要:$msg, 'redirect' => $redirect, 'delay' => $delay); echo json_encode($result); exit(); } include 'message.php'; exit();}showmes... 阅读全文

posted @ 2015-05-25 19:52 与非朋仔 阅读(990) 评论(0) 推荐(0) 编辑

php实现json
摘要:$value ) { $items[] = __json_encode("$key") . ':' . __json_encode($value); } $json = '{' . implode(',',... 阅读全文

posted @ 2015-05-25 19:07 与非朋仔 阅读(228) 评论(0) 推荐(0) 编辑

js入门实例
摘要:My First Web PageMy First Paragraph.点击这里 阅读全文

posted @ 2015-05-25 17:05 与非朋仔 阅读(165) 评论(0) 推荐(0) 编辑

php cookies自动登录
摘要:密码:'.$_COOKIE["password"];}//提交表单if($_GET['submit']){// echo 'login。。'; //用户勾选"记住密码"选项,将用户登陆信息写入cookie里 if($_GET['remember'] == 'on') { ... 阅读全文

posted @ 2015-05-20 22:02 与非朋仔 阅读(338) 评论(0) 推荐(0) 编辑

密码登陆
摘要:enter password please specify the password customer id ... 阅读全文

posted @ 2015-05-20 21:49 与非朋仔 阅读(171) 评论(0) 推荐(0) 编辑

php薪资
摘要:2千的php程序员就是可以用cms,做一个小企业的门户网站。 3千的php程序员,可以自己写代码开发php软件,但是这样程序员写的代码非常混乱,通常只能写数千行代码的小软件,并且痛苦的完工。 4K的php程序员有一定的编码习惯了,也一些面向对象变成的概念了,并且要懂一到两门框架技术,有一定的编程经验... 阅读全文

posted @ 2015-05-14 11:30 与非朋仔 阅读(221) 评论(0) 推荐(0) 编辑

PHP DES加密
摘要:public function encrypt($str) { //$str = "hh"; $key = "key:123";//密钥 $cipher = MCRYPT_DES; $models ... 阅读全文

posted @ 2015-05-14 00:48 与非朋仔 阅读(491) 评论(0) 推荐(0) 编辑

php下载文件的一种方式
摘要:";echo $_SERVER['DOCUMENT_ROOT'];*/?> 阅读全文

posted @ 2015-05-12 21:54 与非朋仔 阅读(234) 评论(0) 推荐(0) 编辑

PHP的PDO操作实例
摘要:try{$dbms='mysql'; //数据库类型 ,对于开发者来说,使用不同的数据库,只要改这个,不用记住那么多的函数$host='127.0.0.1'; //数据库主机名$dbName='books'; //使用的数据库$user='root'; //数据库连接用户名$pass=''; //对... 阅读全文

posted @ 2015-04-27 21:59 与非朋仔 阅读(366) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示