随笔分类 -  php

摘要:./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-iconv-dir=/usr/local --with-freetype-dir=/usr/local/freetype-2.5.2/ --with-jpeg-dir --with-png-dir=/usr/local/libpng-1.6.7/ --with-zlib --with-libxml-dir=/usr --enable-xml --enable-bcmath --enable-shmop --enable-sy 阅读全文
posted @ 2013-12-31 16:55 土豆王 阅读(248) 评论(0) 推荐(0)
摘要:Sqlparserlib 下载地址:http://files.cnblogs.com/fremcode/sqlparserlib.rar一、使用方法二、效果显示样式,字体大小可以自行修改sqlsyntax.css文件 阅读全文
posted @ 2013-11-29 17:03 土豆王 阅读(659) 评论(0) 推荐(0)
摘要:数组加密解密算法,在这里我用来加密cookie。功能:1、可以对数组进行加密,自己可设置加密种子,并生成随机数字和数组生成的字符串混合加密。最后生成加密后的字符串。 2、逆向解密加密后的字符串。优点:加密后生成的字符串也是随机的,每次都不同。一、算法:class _setcookie{ //加... 阅读全文
posted @ 2013-11-22 12:00 土豆王 阅读(1794) 评论(0) 推荐(0)