瓜西西

导航

随笔分类 -  php

php 内存
摘要:http://www.2cto.com/kf/201112/113223.htmlhttp://www.im286.com/forum.php?mod=viewthread&tid=9730556http://hi.baidu.com/542696479/item/d25979ea2fe44aebfa42ba36http://www.laruence.com/2011/03/04/1894.html 阅读全文

posted @ 2012-12-12 15:21 瓜西西 阅读(85) 评论(0) 推荐(0)

php safe_mode 判断
摘要:http://codeigniter.org.cn/forums/thread-13112-1-1.html$safe_mode = @ini_get("safe_mode");if(strtolower($safe_mode) === 'off') {$safe_mode = FALSE;}if (function_exists("set_time_limit") == TRUE AND (boolean)$safe_mode === FALSE){set_time_limit(300);} 阅读全文

posted @ 2012-12-11 20:47 瓜西西 阅读(385) 评论(0) 推荐(0)

php 解析url
摘要:http://blog.51yip.com/php/1057.html使用parse_url , 可以得到想要的. 阅读全文

posted @ 2012-09-10 08:43 瓜西西 阅读(126) 评论(0) 推荐(0)

smarty iteration 的使用
摘要:<{foreach from = $trade_class_list key = k item = parent name = n}> <tr <{if $smarty.foreach.n.iteration % 2 eq 0}> class="bk"<{/if}>> <th><a><{$parent.classname}></a></th> <td></tr><{/foreach}>注意: 不是使用 index 什么的, 而是使用 阅读全文

posted @ 2012-09-03 11:07 瓜西西 阅读(1283) 评论(0) 推荐(0)