10 2012 档案

ibmcrypt was not found解决方案
摘要:configure: error: *** libmcrypt was not found解决方案./configure提示出错,首先提示*** Could not run libmcrypt test program, checking why…*** The test program failed to compile or link. See the file config.log for the*** exact error that occured. This usually means LIBMCRYPT was incorrectly installed*** or that y 阅读全文

posted @ 2012-10-16 14:35 E猫 阅读(308) 评论(0) 推荐(0)

Linux下解决php扩展模块mcrypt的问题
摘要:php安装mcrypt在Windows下加载mcryptphp_mcrypt.dll需要libmcrypt.dll支持1,在php.ini配置文件中,搜索 ;extension=php_mcrypt.dll将php_mcrypt.dll前的 " ; "分号去掉改成extension=php_mcrypt.dll2, 从php5中复制 libmcrypt.dll 到system32目录下3,修改完后重起iis(iis必须在cmd下用iisreset 命令重起服务器,在“Internet 信息服务”重启无效)或Apache。在Centos中加mcrypt这里注意的是mcrypt 阅读全文

posted @ 2012-10-16 14:32 E猫 阅读(3308) 评论(0) 推荐(0)

php实现无限级树型菜单(函数递归算法)
摘要:大概步骤如下:首先到数据库取数据,放到一个数组,然后把数据转化为一个树型状的数组,最后把这个树型状的数组转为html代码。也可以将第二步和第三步合为一步。详细如下:1。数据库设计:脚本如下:CREATETABLE`bg_cate`(`cate_Id`int(30)unsignedNOTNULLAUTO_INCREMENT,`cate_ParentId`int(30)unsignedDEFAULT'0',`cate_Name`varchar(100)NOTNULL,`cate_Intro`varchar(500)DEFAULTNULL,`cate_Order`int(30)uns 阅读全文

posted @ 2012-10-09 14:59 E猫 阅读(1917) 评论(0) 推荐(0)

导航