实例如下: ?php /** * PHP获取当前url路径的函数及服务器变量 * $_SERVER["QUERY_STRING ...
开发(php) | 评论(0) | 阅读(12)

php 基础函数

[ 2017-02-15 13:07:01 | by 店小二04 ]
话不多说,如下所示: ?php //生成随机数 和 时间函数 //echo rand(); //echo "br"; ...
开发(php) | 评论(0) | 阅读(8)
开始使用数据库首先需要配置数据库连接组件,通过添加 db 组件到应用配置实现("基础的" Web 应用是 config ...
开发(php) | 评论(0) | 阅读(9)
背景:在一个mysql服务器上(注意:两个数据库必须在同一个mysql服务器上)有两个数据库: memory (存储常 ...
开发(php) | 评论(0) | 阅读(8)
用惯Java和其他语言的时候,表单上传只需要checkbox的name相同的时候就可以上传了 input type="che ...
开发(php) | 评论(0) | 阅读(7)
实例如下: private function httpGet($url) { $curl = curl_init(); curl_setopt($cu ...
开发(php) | 评论(0) | 阅读(7)
PHP判断是否为Ajax请求 我们知道,在发送ajax请求的时候,可以通过XMLHttpRequest这个对象,创建自定义的h ...
开发(php) | 评论(0) | 阅读(6)

PHP中overload与override的区别

[ 2017-02-15 13:13:01 | by 店小二03 ]
override(重写,覆盖) 1、方法名、参数、返回值相同。 2、子类方法不能缩小父类方法的访问权限。 3、 ...
开发(php) | 评论(0) | 阅读(6)

PHP面相对象中的重载与重写

[ 2017-02-15 13:14:02 | by 店小二03 ]
重写Overriding是父类与子类之间多态性的一种表现,重载Overloading是一个类中多态性的一种表现。Overloade ...
开发(php) | 评论(0) | 阅读(7)

PHP最常用的正则表达式

[ 2017-02-15 13:15:02 | by 店小二03 ]
一、校验数字的表达式 数字:^*$ n位的数字:^\d{n}$ 至少n位的数字:^\d{n,}$ m-n位的数字:^\d{ ...
开发(php) | 评论(0) | 阅读(5)

php中序列化与反序列化详解

[ 2017-02-15 13:16:01 | by 店小二05 ]
把复杂的数据类型压缩到一个字符串中 serialize() 把变量和它们的值编码成文本形式 unserialize() 恢复原 ...
开发(php) | 评论(0) | 阅读(7)
Jerry Bezencon, the creator of the Ubuntu-based Linux Lite distro, announced today that a new versio ...
距离Windows10操作系统发布已经过去了一年半,那么这款系统的用户增长速度如何呢?近日,微软windows负责人 ...

Security trends & Windows 10

[ 2017-02-15 10:45:02 | by 店小二04 ]
Windows 10 security experts share how to stay ahead of the catalysts shaping the cyber landscape C ...
Windows Azure Pack was Microsoft’s first attempt to bring Azure into your on-premise datacenter. T ...
A bug has been discovered in Windows 10 Mobile, which leaves your photos exposed to anyone that pick ...
Brazilian site WindowsTeam reports that a security bug in Windows 10 Mobile exposes your pictures to ...
Introduction When installing DirectAccess for the first time, an administrator may encounter the f ...
Did you know that with Task View and Snap in Windows 10, you can easily view and manage all the apps ...

Introducing betterpad for Windows

[ 2017-02-15 10:52:15 | by 店小二04 ]
Everyone, say hello to betterpad an open, fast, free replacement for notepad that doesn’t su ...
Windows 10 comes in two architectures: 32-bit and 64-bit. What’s the difference? To oversimplify it ...
Perhaps the most significant change in the Windows 10 era is the emergence of a development process ...
This post will show you how to manage updates using Windows Server Update Services (WSUS) in Windows ...
We’re excited to share that the Windows Store team has put together awesome collections of apps, m ...
Microsoft says it will fully power up its Azure SQL Database Threat Detection service this spring. ...