Tag Archives: php

php多线程

大家都知道在java中有多线程,其实php也可以实现类似的功能,只是没有java … Continue reading

Posted in PHP服务器脚本 | Tagged , | Leave a comment

PHP 使用二叉树的先序和中序遍历结果构造二叉树

[php] <?php #树节点 class Node { public … Continue reading

Posted in PHP服务器脚本 | Tagged , | Leave a comment

PHP 二叉树的小操作

[php]<?php // 树节点类 class binaryTreeNo … Continue reading

Posted in PHP服务器脚本 | Tagged , | Leave a comment

53个要点提高PHP编程效率

用单引号代替双引号来包含字符串,这样做会更快一些。因为PHP会在双引号包围的字符 … Continue reading

Posted in PHP服务器脚本 | Tagged , , | Leave a comment

php 取得 root 身份執行程式

有一個指令 sudo 可以讓一般使用者以 root 身份執行某些指令,這些權限全 … Continue reading

Posted in PHP服务器脚本 | Tagged , , | Leave a comment

linux定时执行php文件

在linux下面我们对于定时执行shell文件并不陌生,我们在这里执行的都是sh … Continue reading

Posted in PHP服务器脚本 | Tagged , , | Leave a comment

网页文件乱码的分析与解决方案

对于web开发的同学来说,对于编码我想自是不陌生,而且呢,大部分同学对于UTF- … Continue reading

Posted in PHP服务器脚本 | Tagged , , , | Leave a comment

php检测手机浏览器

web时代发展到今天已经衍生出很多领域,最重要的就是移动web,目前手机app的 … Continue reading

Posted in PHP服务器脚本 | Tagged , , | Leave a comment

php soap示例

今天简单讲一个使用广发的webservice,在php中对这个服务支持的很完备, … Continue reading

Posted in PHP服务器脚本, Python程序设计 | Tagged , , , | Leave a comment

php401验证

很多人可能很少使用php的验证,很多使用我们可以这样来使用这个验证:[php] … Continue reading

Posted in PHP服务器脚本 | Tagged , | Leave a comment

session的使用

很多人在保存一些信息尤其是作为全局变量的信息时会使用session,sessio … Continue reading

Posted in PHP服务器脚本 | Tagged , | Leave a comment

php的eval、gzinflate、base64_decode解密程序使用

很多人在使用php的时候会遇到加密过的代码,例如使用base64编码,这里我们给 … Continue reading

Posted in PHP服务器脚本 | Tagged , , , | Leave a comment

HTTP的header请求首部讲解顿号,php从mysql导出数据到excel表格实现

作为一个web开发者,每天都在使用网路请求,那么我们的网路请求是如何发出和接收的 … Continue reading

Posted in PHP服务器脚本 | Tagged , , | Leave a comment

如何通过X-Forwarded-For获得用户真实IP

对于一个web程序来说,每天会提供给网路上的很多用户访问,那么有一些有心的站长或 … Continue reading

Posted in PHP服务器脚本 | Tagged , , , , | Leave a comment

centos 下搭建apache+php+mysql+xapian环境、建立虚拟主机

目前大多数的企业级服务器都会使用centos系统,目前用的较多的版本有cento … Continue reading

Posted in 胡言乱语 | Tagged , , , | Leave a comment