php
文章平均质量分 51
雜貨鋪老闆
这个作者很懒,什么都没留下…
展开
-
PHP代码格式
原文地址:http://blog.sina.com.cn/s/blog_538f130c01010r9h.html PHP代码有下列几种格式,在此推荐使用第一种格式。 1、标准格式,以 结束。例如: echo"welcome!"; ?> 2、短标签,以 结束。例如: print "Thisis a PHP example."; ?>转载 2014-03-06 21:25:23 · 806 阅读 · 0 评论 -
How to enable guest posting in phpBB3
原文地址:http://www.hostknox.com/clients/knowledgebase/186/How-to-enable-guest-posting-in-phpBB3.html The original forum permissions in phpBB3 give guests read-only access. This means that if you转载 2015-10-13 14:47:21 · 952 阅读 · 0 评论 -
XTEA加密,CBC模式的PHP调用方法
$key = '0123456789abcdef'; $iv = '12345678'; $text = '1234567中文'; $cipher = mcrypt_encrypt(MCRYPT_XTEA, $key, $text, MCRYPT_MODE_CBC, $iv); $str = bin2hex($cipher); echo $str; echo ''; $plain = mcr原创 2016-06-05 21:32:04 · 864 阅读 · 0 评论