![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web
fanxianshi
这个作者很懒,什么都没留下…
展开
-
url 编码
转 http://www.cnblogs.com/leaven/archive/2012/07/12/2588746.html foo://example.com:8042/over/there?name=ferret#nose \_/ \______________/ \________/\_________/ \__/ |转载 2013-07-29 09:51:04 · 737 阅读 · 0 评论 -
php环境与数据库测试
$conn=mysql_connect("localhost","root","1")or die(mysql_error());$ok=mysql_select_db("dbname",$conn)or die(mysql_error());if($ok){ echo "ok,选择数据库成功!"; }else { echo原创 2013-08-04 09:53:18 · 614 阅读 · 0 评论 -
http协议
http://www.cnblogs.com/TankXiao/archive/2012/02/13/2342672.html转载 2013-06-10 16:25:25 · 442 阅读 · 0 评论 -
php textarea 换行
textarea中的换行符是 \n ( 在linux下是\r\n) " ,str_replace("\r\n", "" ,$bean["content"]));?>注:是双引号, 本人因 单引号浪费了时间转载 2013-06-30 11:00:16 · 837 阅读 · 0 评论