PHP PowerPoint 2007

Project providing a set of classes for the PHP programming language, which allow you to write to and read from different file formats, like PowerPoint 2007, … This project is built around Microsoft’s OpenXML standard and PHP.
Checkout the Features this class set provides, such as setting presentation meta data (author, title, description, …), adding slides, adding images to your presentation and much, much more!

Want to bookmark this page? Please use http://www.phppowerpoint.net as the URL.

Initial version developed by Maarten Balliauw, RealDolmen.

http://phppowerpoint.codeplex.com

 

(continue reading…)


Python模块zipfile

Python ZipFile模块用来做zip格式编码的压缩和解压缩的,由于是很常见的zip格式,所以这个模块使用频率也是比较高的,在这里对ZipFile的使用方法做一些记录。即方便自己也方便别人。
ZipFile里有两个非常重要的class, 分别是ZipFile和ZipInfo, 在绝大多数的情况下,我们只需要使用这两个class就可以了。ZipFile是主要的类,用来创建和读取zip文件而ZipInfo是存储的zip文件的每个文件的信息的。 (continue reading…)


jsview for firefox4

jsview for firefox4 modify Version

Click here download


php添加mysql扩展

在安装好apache2+php5之后,现在又想装mysql5。 (continue reading…)


开启Nginx的目录文件列表功能

打开nginx.conf文件,在location server 或 http段中加入
autoindex on; (continue reading…)


nginx的rewrite 参数和例子

正则表达式匹配,其中:

  1. * ~ 为区分大小写匹配
  2. * ~* 为不区分大小写匹配
  3. * !~和!~*分别为区分大小写不匹配及不区分大小写不匹配

(continue reading…)


nginx支持.htaccess

在需要添加伪静态的虚拟主机的server{}中引入.htaccess文件,如图所示:

include /var/www/html/168pc/bbs/.htaccess;(把这个改成你.htaccess文件的具体位置) (continue reading…)

1 Comment more...

TYPO3 Services

With a services extension you can extend the functionality of TYPO3 (or an extension which uses services), without any changes to the original code of TYPO3 or the extension.

Services are PHP classes inside of an extension similar to FE-plugins. Usually when you use a class, you address it directly by creating an instance: (continue reading…)


网站压力测试工具webbench

webbench最多可以模拟3万个并发连接去测试网站的负载能力,个人感觉要比Apache自带的ab压力测试工具好,安装使用也特别方便。 (continue reading…)


nginx+keepalived7层负载均衡解决方案

nginx进程基于于Master+Slave(worker)多进程模型,自身具有非常稳定的子进程管理功能。在Master进程分配模式下,Master进程永远不进行业务处理,只是进行任务分发,从而达到Master进程的存活高可靠性,Slave(worker)进程所有的业务信号都由主进程发出,Slave(worker)进程所有的超时任务都会被Master中止,属于非阻塞式任务模型。

Keepalived是Linux下面实现VRRP 备份路由的高可靠性运行件。基于Keepalived设计的服务模式能够真正做到主服务器和备份服务器故障时IP瞬间无缝交接。二者结合,可以构架出比较稳定的软件lb方案。

现在有两台虚拟机ServerA和ServerB. 两个对外提供Web服务器的虚IP(VIP)192.168.200.100和192.168.200.200, 虚IP用在keepalived的配置中, 网卡接口配置有内网IP. (continue reading…)


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