<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>飞克网 - php</title>
    <link>http://www.feikechina.com/forum.php?mod=forumdisplay&amp;fid=41</link>
    <description>Latest 20 threads of php</description>
    <copyright>Copyright(C) 飞克网</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 17 May 2026 14:18:51 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.feikechina.com/static/image/common/logo_88_31.gif</url>
      <title>飞克网</title>
      <link>http://www.feikechina.com/</link>
    </image>
    <item>
      <title>wampserver安装后发现127.0.0.1能访问localhost不能直接访问</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=46</link>
      <description><![CDATA[Wampserver安装成功后发现服务器能用127.0.0.1访问，但是不能用localhost访问

一、首先确定windows 下的 host 文件添加IP 能解析的域名为localhsot。 如果确定，排除这一步

二、确定wampserver是否为在线状态，因为离线状态时图标也是绿色的，造成很多人误解服务 ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:22:24 +0000</pubDate>
    </item>
    <item>
      <title>Apache以及PHP的默认编码问题解决</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=45</link>
      <description><![CDATA[如果你在网上搜索 “apache配置”，搜到的页面大多都会建议你在httpd.conf中加上这么一句：AddDefaultCharset GB2312。对于新手而且是只用GB2312编码的开发人来说，这么做是ok的。但是如果要想使用UTF-8字符集的话，比如 在test.php文件中需要有 meta http-equiv=\&quot;Conte ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:21:44 +0000</pubDate>
    </item>
    <item>
      <title>网页宽度自动适应手机屏幕宽度的方法</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=44</link>
      <description><![CDATA[方法一：

在网页的中增加以上这句话，可以让网页的宽度自动适应手机屏幕的宽度。
其中：
width=device-width ：表示宽度是设备屏幕的宽度
initial-scale=1.0：表示初始的缩放比例
minimum-scale=0.5：表示最小的缩放比例
maximum-scale=2.0：表示最大的缩放比例 ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:21:12 +0000</pubDate>
    </item>
    <item>
      <title>PHP识别电脑还是手机访问网站</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=43</link>
      <description><![CDATA[01.


http://www.php100.com/html/php/hanshu/2013/1107/6354.html]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:20:14 +0000</pubDate>
    </item>
    <item>
      <title>php rtrim(),substr()删除字符串最一个字符</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=42</link>
      <description><![CDATA[我们利用这两个函数来删除字符串最后一个字符是有说法的，rtrim他有默认删除空格和一些特殊字符，但你也可以删除指定字符，页substr我们是取字符长度，自然只要取字符长度减一就行了如下实例。
*/

$str =\'abcea\';
echo rtrim($str,\'a\');
//方法二

echo \'
\'.su ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:19:44 +0000</pubDate>
    </item>
    <item>
      <title>禁止网页右键、复制、另存为、查看源文件等功能实现网页源代码保护</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=41</link>
      <description><![CDATA[禁止网页右键、复制、另存为、查看源文件等功能实现网页源代码保护，总结出如下几种方法实现对网页的简单保护，具体代码如下：
1、禁止右键菜单
复制代码


[*]
[*]//方法一
[*]function noMenuOne()
[*]{
[*]alert(\'禁止右键菜单!\');
[*]return false;
[*]} ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:19:12 +0000</pubDate>
    </item>
    <item>
      <title>PHP导入导出Excel方法</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=40</link>
      <description><![CDATA[原作者：冰山上的播客
看到这篇文章的时候，很是惊讶原作者的耐心，虽然我们在平时用的也有一些，但没有作者列出来的全，写excel的时候，我用过pear的库，也用过pack压包的头，同样那些利用smarty等作的简单替换xml的也用过，csv的就更不用谈了。呵呵。（COM方式不讲了 ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:18:43 +0000</pubDate>
    </item>
    <item>
      <title>PHP获取客户端操作系统，浏览器，语言，IP，IP归属地等</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=39</link>
      <description><![CDATA[]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:18:12 +0000</pubDate>
    </item>
    <item>
      <title>php判断终端是手机还是电脑访问网站代码</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=38</link>
      <description><![CDATA[?&gt;

http://www.php100.com/html/webkaifa/PHP/PHPyingyong/2013/0808/13730.html]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:17:42 +0000</pubDate>
    </item>
    <item>
      <title>PHP_保留两位小数并且四舍五入_保留两位小数并且不四舍五入</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=37</link>
      <description><![CDATA[php保留两位小数并且四舍五入

Php代码  




$num = 123213.666666;  [*]echo sprintf(\&quot;%.2f\&quot;, $num);  


php保留两位小数并且不四舍五入
Php代码  




$num = 123213.666666;  [*]echo sprintf(\&quot;%.2f\&quot;,substr(sprintf(\&quot;%.3f\&quot;, $num), 0, -2));  
 ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:17:13 +0000</pubDate>
    </item>
    <item>
      <title>php 数组函数</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=36</link>
      <description><![CDATA[[*]array_change_key_case[/backcolor] — 返回字符串键名全为小写或大写的数组
[*]array_chunk[/backcolor] — 将一个数组分割成多个
[*]array_column[/backcolor] — Return the values from a single column in the input array
[*]array_combine[/backcolor]  ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:16:29 +0000</pubDate>
    </item>
    <item>
      <title>PHP在线生成二维码</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=35</link>
      <description><![CDATA[PHP在线生成二维码
利用google在线生成二维码的api在线生成二维码

二维码生成-www.php100.comfunction post(){        if(document.getElementById(\'content\').value==\'\'){alert(\'内容不能为空!\');document.getElementById(\'content\').focus();return false;}       ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:16:00 +0000</pubDate>
    </item>
    <item>
      <title>PHP判断客户端的浏览器类型</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=34</link>
      <description><![CDATA[http://www.php100.com/html/webkaifa/PHP/PHPyingyong/2013/0516/13461.html]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:14:54 +0000</pubDate>
    </item>
    <item>
      <title>php源代码加密</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=33</link>
      <description><![CDATA[http://www.php100.com/html/webkaifa/PHP/PHPyingyong/2013/0516/13462.html]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:07:34 +0000</pubDate>
    </item>
    <item>
      <title>php遍历数组 list foreach each方法总结</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=32</link>
      <description><![CDATA[在php中可以用来遍历数组的函数有很多，如有：for语句、list、each、foreach这四个函数，这也是在php中遍历数组的几个主要的函数，下面我来给大家介绍。

foreach遍历数组
我们在运用数组时，常常要遍历数组并获得各个键或者元素值，php提供了一些专门遍历数组的函数 ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:07:02 +0000</pubDate>
    </item>
    <item>
      <title>让你的PHP更安全之PHP.ini</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=31</link>
      <description><![CDATA[php用越来越多！安全问题更为重要！这里讲解如果安全配置php.ini

安全配置一

(1) 打开php的安全模式
　　php的安全模式是个非常重要的内嵌的安全机制，能够控制一些php中的函数，比如system()，
　　同时把很多文件操作函数进行了权限控制，也不允许对某些关键 ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:06:28 +0000</pubDate>
    </item>
    <item>
      <title>解决PHP大文件上传问题</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=30</link>
      <description><![CDATA[下面简单介绍下php上传文件涉及到的参数：
    
    0:文件上传时存放文件的临时目录。必须是 PHP 进程所有者用户可写的目录。如果未指定则 PHP 使用系统默认值
    
    php.ini文件中upload_tmp_dir用来说明PHP上传的文件放置的临时目录。
    
    要想上传文 ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:05:51 +0000</pubDate>
    </item>
    <item>
      <title>PHP读取各个类型文件</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=29</link>
      <description><![CDATA[读取（.txt）文件：
一般是使用fopen、fgets的方法，例如:

以上是如何用php读取txt文件的第n到第n+100行，并输出。
读取第100到第200行,然后用50行2列的表格输出。

读取（.doc）文件：
header(Content-type:application/msword);$fp=fopen(\&quot;xxx.doc\&quot;，r);$file ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:05:20 +0000</pubDate>
    </item>
    <item>
      <title>LAMP环境搭建教程</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=28</link>
      <description><![CDATA[学习PHP脚本编程语言之前，必须先搭建并熟悉开发环境，开发环境有很多种，例如LAMP、WAMP、MAMP等。这里我介绍一下LAMP环境的搭建，即Linux、Apache、MySQL、PHP环境。
一、首先安装操作系统
操作系统：centos6.3
IP地址：192.168.146.129
网关：
DNS：
操作系统 ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:04:38 +0000</pubDate>
    </item>
    <item>
      <title>PHP错误报告和错误信息设置详解</title>
      <link>http://www.feikechina.com/forum.php?mod=viewthread&amp;tid=27</link>
      <description><![CDATA[在PHP网站开发中，错误（Bugs）调试和解决是必不可少的部分，在网站调试阶段，错误信息能给我们很大帮助，当网站上线之后，我们是否也应该将原始的错误信息展示在用户面前呢？答案是否定的，为了提高用户体验，我们需要设置PHP错误报告的类型和级别，将错误信息以合理的 ...]]></description>
      <category>php</category>
      <author>admin</author>
      <pubDate>Wed, 28 Dec 2016 07:03:18 +0000</pubDate>
    </item>
  </channel>
</rss>