Archive for 四月, 2012

Using php 5.4

We have php 5.2 as the default version of php on our shared hosting servers (as many scripts are not compatible with php version 5.4) , if you require php 5.4, or would like to test how your site / scripts runs with the new version of php, simply add the following line to a .htaccess file (in the folder where the scripts files are ) :

AddHandler application/x-httpd-php54 .php

This will then cause all scripts in that folder and folders below to parse using php 5.4

(Please note that ZendGuard and Zend Encoder and IonCube are currently NOT supported on php version 5.4 so if your script is an encoded using Zend Encoder you should use php 5.2 , if the script is encoded using IonCube or ZendGuard, then php version 5.3 can be used ) .


MySQL中UNION和UNION ALL的使用

在数据库中,UNION和UNION ALL关键字都是将两个结果集合并为一个,但这两者从使用和效率上来说都有所不同。
(continue reading…)


转: 关于PHP的header(“P3P: CP=CURa……”)

对于IE来说(默认安全级别下),iframe、img、link等标签都是只发送session cookie(又叫 第一方cookie),拦截本地cookie发送(又叫第三方cookie)。当这些标签跨域引用一个页面,实际上是发起了一次GET请求。 (continue reading…)


Objective-C字符串NSString使用方法

Objective-C字符串类NSString使用方法是本文要介绍的内容,内容不多,是用代码来讲解关于字符串的使用,不多说,来看内容。开发过程中,我们会遇到很多关于字符串的操作,它是一个常用的数据类型,下面对它的用法进行了汇总: (continue reading…)


Copyright © 1996-2010 Add Lives. All rights reserved.
iDream theme by Templates Next | Powered by WordPress