随笔分类 -  PHP脚本

摘要:<?php/*php如何连接mysql*/ /*$link = mysql_connect('localhost', 'root', '');if (!$link) { die('Could not connect: ' . mysql_error());}echo 'Connected succe 阅读全文
posted @ 2017-08-31 11:30 盛碗米饭 阅读(212) 评论(0) 推荐(0)
摘要:<?php header('Content-type: text/html; charset=utf8');# 抽象接口interface hash{ public function _hash($str);}interface distribution{ public function looku 阅读全文
posted @ 2017-08-31 10:42 盛碗米饭 阅读(183) 评论(0) 推荐(0)