![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
Eyseem
这个作者很懒,什么都没留下…
展开
-
php的4种常用运行方式
php的4种常用运行方式:CGI、FastCGI、APACHE2HANDLER、CLI。1、CGI CGI即通用网关接口(common gatewag interface),它是一段程序,通俗的讲CGI就象是一座桥,把网页和WEB服务器中的执行程序连接起来,它把HTML接收的指令传递给服务器的执 行程序,再把服务器执行程序的结果返还给HTML页。CGI 的跨平台性能极佳,几乎可以在任何操作系统上实原创 2016-12-22 09:51:41 · 1151 阅读 · 0 评论 -
一个php简单实用的分页函数
<?php/*** @param $total 总条数* @param $curpage 当前页* @param $num 每页条数* @param string $args* @param string $url* @return null|string*/function mutipage($total, $curp原创 2016-12-30 13:26:04 · 1088 阅读 · 0 评论 -
数据库PDO操作基类
<?php/** PHP-PDO-MySQL-Class* https://github.com/lincanbin/PHP-PDO-MySQL-Class** Copyright 2015 Canbin Lin (lincanbin@hotmail.com)* http://www.94cb.com/** Licensed under the Apache License, Ver原创 2016-12-30 13:29:51 · 645 阅读 · 0 评论 -
PHP获取汉字首字母函数
<?php/** * 取汉字的第一个字的首字母 * @param type $str * @return string|null */ public function _getFirstCharter($str){ if(emptyempty($str)){return '';} $fchar=ord($str{0}); if($fchar>=ord原创 2016-12-30 13:38:25 · 2003 阅读 · 0 评论 -
AngularJS与后端php的数据交互
简述: AngularJS诞生于2009年,由Misko Hevery 等人创建,后为Google所收购。是一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVC、模块化、自动化双向数据绑定、语义化标签、依赖注入等等。 它不仅仅是一个类库,而是提供了一个完整的框架。它避免了您和多个类库交互,需要熟悉多套接口的繁琐工作。它由Google原创 2017-04-14 10:28:16 · 5762 阅读 · 0 评论