![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
文章平均质量分 57
Albert_Huang_
这个作者很懒,什么都没留下…
展开
-
php简单国际化
Document $(function() { $('#ch').click(function(){ $.ajax({ url: 'index.php', type: 'post', datatype: 'json', data: 'lang=ch', success:function(msg) { $('p'原创 2014-05-23 12:57:53 · 768 阅读 · 0 评论 -
Windows下安装基于Apache的Subversion
Windows下安装基于Apache的Subversion2008-09-23 15:28Windows下安装基于Apache的SubversionWindows Apache Subversion svnserve由于看到的攻略有些小问题,同时对于apache和subversion不懂,所以安装的过程中,出现了一些小问题,却不知道是apache的问题还是subversion的,或者是转载 2014-06-05 15:15:36 · 712 阅读 · 0 评论 -
PHP 中命名空间的作用
php中命名空间 其实就是为了解决原创 2014-05-23 15:08:28 · 740 阅读 · 0 评论 -
php 不常用的函数
strip_tags — 从字符串中去除 HTML 和 PHP 标记原创 2014-07-18 16:46:33 · 355 阅读 · 0 评论 -
PHP 设计模式
1、单例模式2、原创 2014-05-26 15:44:15 · 504 阅读 · 0 评论 -
总结---修改里面包含图片的文章
$html = '';在保存一个html标签的时候用$rs = htmlspecialchars($html);然后再$rs1 = htmlspecialchars_decode($rs);可能会得到如下结果导致图片不能正常显示就需要再stripslashes($rs1);就能得到正常的代码htmlentitieshtml_entity_decode也可以配合s原创 2014-07-19 19:00:26 · 382 阅读 · 0 评论 -
PHP pear 安装和使用
1、安装pear 请参考:http://lylgxy0704wht.blog.163.com/blog/static/5704803920133183724247/2、原创 2014-05-27 15:03:02 · 762 阅读 · 0 评论 -
ci框架---控制器名和方法名不能相同
如果一定要控制器名和方法名相同就需要调用原创 2014-07-01 23:03:12 · 689 阅读 · 0 评论 -
ci框架---调用非php文件作视图
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');class Index extends CI_Controller { //主页 public function home() { $this->load->view('home/index_home.html'); }}原创 2014-07-02 21:35:20 · 541 阅读 · 0 评论